From ab5c05011b2464e56d1ca974d650406f30d854c6 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Wed, 12 Apr 2023 17:41:07 +0000 Subject: [PATCH 01/13] Generic price data provider running. Looking to depeg next --- slither | 2 +- src/v2/Controllers/ChainlinkPriceProvider.sol | 99 +++++ src/v2/Controllers/ControllerGenericV2.sol | 344 ++++++++++++++++++ src/v2/Controllers/IDepegCondition.sol | 5 + src/v2/Controllers/IPriceProvider.sol | 5 + .../PriceBasedDepegCondition.sol_inprogress | 19 + test/V2/e2e/EndToEndV2GenericTest.t.sol | 240 ++++++++++++ 7 files changed, 713 insertions(+), 1 deletion(-) create mode 100644 src/v2/Controllers/ChainlinkPriceProvider.sol create mode 100644 src/v2/Controllers/ControllerGenericV2.sol create mode 100644 src/v2/Controllers/IDepegCondition.sol create mode 100644 src/v2/Controllers/IPriceProvider.sol create mode 100644 src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress create mode 100644 test/V2/e2e/EndToEndV2GenericTest.t.sol diff --git a/slither b/slither index d8e526e5..0ec48746 160000 --- a/slither +++ b/slither @@ -1 +1 @@ -Subproject commit d8e526e53ff690bd24c260042117efab5ce9c271 +Subproject commit 0ec487460690482c72cacdea6705e2c51bb3981e diff --git a/src/v2/Controllers/ChainlinkPriceProvider.sol b/src/v2/Controllers/ChainlinkPriceProvider.sol new file mode 100644 index 00000000..91848645 --- /dev/null +++ b/src/v2/Controllers/ChainlinkPriceProvider.sol @@ -0,0 +1,99 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.17; + +import "@chainlink/interfaces/AggregatorV3Interface.sol"; +import "@chainlink/interfaces/AggregatorV2V3Interface.sol"; +import {IVaultFactoryV2} from "../interfaces/IVaultFactoryV2.sol"; +import {IVaultV2} from "../interfaces/IVaultV2.sol"; + +import "./IPriceProvider.sol"; + +contract ChainlinkPriceProvider is IPriceProvider { + //AggregatorV3Interface internal priceFeed; + uint16 private constant GRACE_PERIOD_TIME = 3600; + + IVaultFactoryV2 public immutable vaultFactory; + AggregatorV2V3Interface internal sequencerUptimeFeed; + + constructor(address _sequencer,address _factory) { + if (_factory == address(0)) revert ZeroAddress(); + vaultFactory = IVaultFactoryV2(_factory); + + if (_sequencer == address(0)) revert ZeroAddress(); + sequencerUptimeFeed = AggregatorV2V3Interface(_sequencer); + + + } + + /** @notice Lookup token price + * @param _token Target token address + * @return nowPrice Current token price + */ + function getLatestPrice(address _token) public view returns (int256) { + ( + , + /*uint80 roundId*/ + int256 answer, + uint256 startedAt, /*uint256 updatedAt*/ /*uint80 answeredInRound*/ + , + + ) = sequencerUptimeFeed.latestRoundData(); + + // Answer == 0: Sequencer is up + // Answer == 1: Sequencer is down + bool isSequencerUp = answer == 0; + if (!isSequencerUp) { + revert SequencerDown(); + } + + // Make sure the grace period has passed after the sequencer is back up. + uint256 timeSinceUp = block.timestamp - startedAt; + if (timeSinceUp <= GRACE_PERIOD_TIME) { + revert GracePeriodNotOver(); + } + + AggregatorV3Interface priceFeed = AggregatorV3Interface( + vaultFactory.tokenToOracle(_token) + ); + (uint80 roundID, int256 price, , , uint80 answeredInRound) = priceFeed + .latestRoundData(); + uint256 decimals = priceFeed.decimals(); + + if (decimals < 18) { + decimals = 10**(18 - (decimals)); + price = price * int256(decimals); + } else if (decimals == 18) { + price = price; + } else { + decimals = 10**((decimals - 18)); + price = price / int256(decimals); + } + + if (price <= 0) revert OraclePriceZero(); + + if (answeredInRound < roundID) revert RoundIDOutdated(); + + return price; + } + + + /*////////////////////////////////////////////////////////////// + ERRORS + //////////////////////////////////////////////////////////////*/ + + error MarketDoesNotExist(uint256 marketId); + error SequencerDown(); + error GracePeriodNotOver(); + error ZeroAddress(); + error EpochFinishedAlready(); + error PriceNotAtStrikePrice(int256 price); + error EpochNotStarted(); + error EpochExpired(); + error OraclePriceZero(); + error RoundIDOutdated(); + error EpochNotExist(); + error EpochNotExpired(); + error VaultNotZeroTVL(); + error VaultZeroTVL(); +} + diff --git a/src/v2/Controllers/ControllerGenericV2.sol b/src/v2/Controllers/ControllerGenericV2.sol new file mode 100644 index 00000000..b038d0ea --- /dev/null +++ b/src/v2/Controllers/ControllerGenericV2.sol @@ -0,0 +1,344 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.17; + +import {IVaultFactoryV2} from "../interfaces/IVaultFactoryV2.sol"; +import {IVaultV2} from "../interfaces/IVaultV2.sol"; +import "@chainlink/interfaces/AggregatorV3Interface.sol"; +import "@chainlink/interfaces/AggregatorV2V3Interface.sol"; +import {FixedPointMathLib} from "@solmate/utils/FixedPointMathLib.sol"; +import "./IDepegCondition.sol"; +import "./IPriceProvider.sol"; + +/// @author Y2K Finance Team + +contract ControllerGenericV2 { + using FixedPointMathLib for uint256; + IVaultFactoryV2 public immutable vaultFactory; + address public immutable treasury; + + + // Soon . . . IDepegCondition[] public depegConditions; + IPriceProvider public priceProvider; + + constructor( + address _factory, + address _sequencer, + address _treasury, + address _priceProvider + ) { + if (_priceProvider == address(0)) revert ZeroAddress(); + priceProvider = IPriceProvider(_priceProvider); + + if (_factory == address(0)) revert ZeroAddress(); + vaultFactory = IVaultFactoryV2(_factory); + + treasury = _treasury; + } + /*////////////////////////////////////////////////////////////// + FUNCTIONS + //////////////////////////////////////////////////////////////*/ + + /** @notice Trigger depeg event + * @param _marketId Target market index + * @param _epochId End of epoch set for market + */ + function triggerDepeg(uint256 _marketId, uint256 _epochId) public { + address[2] memory vaults = vaultFactory.getVaults(_marketId); + + if (vaults[0] == address(0) || vaults[1] == address(0)) + revert MarketDoesNotExist(_marketId); + + IVaultV2 premiumVault = IVaultV2(vaults[0]); + IVaultV2 collateralVault = IVaultV2(vaults[1]); + + if (premiumVault.epochExists(_epochId) == false) revert EpochNotExist(); + + int256 price = priceProvider.getLatestPrice(premiumVault.token()); + + if (int256(premiumVault.strike()) <= price) + revert PriceNotAtStrikePrice(price); + + (uint40 epochStart, uint40 epochEnd, ) = premiumVault.getEpochConfig( + _epochId + ); + + if (uint256(epochStart) > block.timestamp) revert EpochNotStarted(); + + if (block.timestamp > uint256(epochEnd)) revert EpochExpired(); + + //require this function cannot be called twice in the same epoch for the same vault + if (premiumVault.epochResolved(_epochId)) revert EpochFinishedAlready(); + if (collateralVault.epochResolved(_epochId)) + revert EpochFinishedAlready(); + + // check if epoch qualifies for null epoch + if ( + premiumVault.totalAssets(_epochId) == 0 || + collateralVault.totalAssets(_epochId) == 0 + ) { + revert VaultZeroTVL(); + } + + premiumVault.resolveEpoch(_epochId); + collateralVault.resolveEpoch(_epochId); + + uint256 epochFee = vaultFactory.getEpochFee(_epochId); + + uint256 premiumTVL = premiumVault.finalTVL(_epochId); + uint256 collateralTVL = collateralVault.finalTVL(_epochId); + + uint256 premiumFee = calculateWithdrawalFeeValue(premiumTVL, epochFee); + uint256 collateralFee = calculateWithdrawalFeeValue( + collateralTVL, + epochFee + ); + + // avoid stack too deep error by avoiding local variables + // uint256 premiumTVLAfterFee = premiumTVL - premiumFee; + // uint256 collateralTVLAfterFee = collateralTVL - collateralFee; + + premiumVault.setClaimTVL(_epochId, collateralTVL - collateralFee); + collateralVault.setClaimTVL(_epochId, premiumTVL - premiumFee); + + // send fees to treasury and remaining TVL to respective counterparty vault + // strike price reached so premium is entitled to collateralTVL - collateralFee + premiumVault.sendTokens(_epochId, premiumFee, treasury); + premiumVault.sendTokens( + _epochId, + premiumTVL - premiumFee, + address(collateralVault) + ); + // strike price is reached so collateral is still entitled to premiumTVL - premiumFee but looses collateralTVL + collateralVault.sendTokens(_epochId, collateralFee, treasury); + collateralVault.sendTokens( + _epochId, + collateralTVL - collateralFee, + address(premiumVault) + ); + + emit EpochResolved( + _epochId, + _marketId, + VaultTVL( + premiumTVL - premiumFee, + collateralTVL, + collateralTVL - collateralFee, + premiumTVL + ), + true, + block.timestamp, + price + ); + } + + /** @notice Trigger epoch end without depeg event + * @param _marketId Target market index + * @param _epochId End of epoch set for market + */ + function triggerEndEpoch(uint256 _marketId, uint256 _epochId) public { + address[2] memory vaults = vaultFactory.getVaults(_marketId); + + if (vaults[0] == address(0) || vaults[1] == address(0)) + revert MarketDoesNotExist(_marketId); + + IVaultV2 premiumVault = IVaultV2(vaults[0]); + IVaultV2 collateralVault = IVaultV2(vaults[1]); + + if ( + premiumVault.epochExists(_epochId) == false || + collateralVault.epochExists(_epochId) == false + ) revert EpochNotExist(); + + (, uint40 epochEnd, ) = premiumVault.getEpochConfig(_epochId); + + if (block.timestamp <= uint256(epochEnd)) revert EpochNotExpired(); + + //require this function cannot be called twice in the same epoch for the same vault + if (premiumVault.epochResolved(_epochId)) revert EpochFinishedAlready(); + if (collateralVault.epochResolved(_epochId)) + revert EpochFinishedAlready(); + + premiumVault.resolveEpoch(_epochId); + collateralVault.resolveEpoch(_epochId); + + uint256 epochFee = vaultFactory.getEpochFee(_epochId); + + uint256 premiumTVL = premiumVault.finalTVL(_epochId); + uint256 collateralTVL = collateralVault.finalTVL(_epochId); + + uint256 premiumFee = calculateWithdrawalFeeValue(premiumTVL, epochFee); + + uint256 premiumTVLAfterFee = premiumTVL - premiumFee; + uint256 collateralTVLAfterFee = collateralTVL + premiumTVLAfterFee; + + // strike price is not reached so premium is entiled to 0 + premiumVault.setClaimTVL(_epochId, 0); + // strike price is not reached so collateral is entitled to collateralTVL + premiumTVLAfterFee + collateralVault.setClaimTVL(_epochId, collateralTVLAfterFee); + + // send premium fees to treasury and remaining TVL to collateral vault + premiumVault.sendTokens(_epochId, premiumFee, treasury); + // strike price reached so collateral is entitled to collateralTVLAfterFee + premiumVault.sendTokens( + _epochId, + premiumTVLAfterFee, + address(collateralVault) + ); + + emit EpochResolved( + _epochId, + _marketId, + VaultTVL(collateralTVLAfterFee, collateralTVL, 0, premiumTVL), + false, + block.timestamp, + 0 + ); + } + + /** @notice Trigger epoch invalid when one vault has 0 TVL + * @param _marketId Target market index + * @param _epochId End of epoch set for market + */ + function triggerNullEpoch(uint256 _marketId, uint256 _epochId) public { + address[2] memory vaults = vaultFactory.getVaults(_marketId); + + if (vaults[0] == address(0) || vaults[1] == address(0)) + revert MarketDoesNotExist(_marketId); + + IVaultV2 premiumVault = IVaultV2(vaults[0]); + IVaultV2 collateralVault = IVaultV2(vaults[1]); + + if ( + premiumVault.epochExists(_epochId) == false || + collateralVault.epochExists(_epochId) == false + ) revert EpochNotExist(); + + (uint40 epochStart, , ) = premiumVault.getEpochConfig(_epochId); + + if (block.timestamp < uint256(epochStart)) revert EpochNotStarted(); + + //require this function cannot be called twice in the same epoch for the same vault + if (premiumVault.epochResolved(_epochId)) revert EpochFinishedAlready(); + if (collateralVault.epochResolved(_epochId)) + revert EpochFinishedAlready(); + + //set claim TVL to final TVL if total assets are 0 + if (premiumVault.totalAssets(_epochId) == 0) { + premiumVault.resolveEpoch(_epochId); + collateralVault.resolveEpoch(_epochId); + + premiumVault.setClaimTVL(_epochId, 0); + collateralVault.setClaimTVL( + _epochId, + collateralVault.finalTVL(_epochId) + ); + + collateralVault.setEpochNull(_epochId); + } else if (collateralVault.totalAssets(_epochId) == 0) { + premiumVault.resolveEpoch(_epochId); + collateralVault.resolveEpoch(_epochId); + + premiumVault.setClaimTVL(_epochId, premiumVault.finalTVL(_epochId)); + collateralVault.setClaimTVL(_epochId, 0); + + premiumVault.setEpochNull(_epochId); + } else revert VaultNotZeroTVL(); + + emit NullEpoch( + _epochId, + _marketId, + VaultTVL( + collateralVault.claimTVL(_epochId), + collateralVault.finalTVL(_epochId), + premiumVault.claimTVL(_epochId), + premiumVault.finalTVL(_epochId) + ), + block.timestamp + ); + } + + /*////////////////////////////////////////////////////////////// + GETTERS + //////////////////////////////////////////////////////////////*/ + + + /** @notice Lookup target VaultFactory address + * @dev need to find way to express typecasts in NatSpec + */ + function getVaultFactory() external view returns (address) { + return address(vaultFactory); + } + + /** @notice Calculate amount to withdraw after subtracting protocol fee + * @param amount Amount of tokens to withdraw + * @param fee Fee to be applied + */ + function calculateWithdrawalFeeValue(uint256 amount, uint256 fee) + public + pure + returns (uint256 feeValue) + { + // 0.5% = multiply by 10000 then divide by 50 + return amount.mulDivDown(fee, 10000); + } + + /*////////////////////////////////////////////////////////////// + ERRORS + //////////////////////////////////////////////////////////////*/ + + error MarketDoesNotExist(uint256 marketId); + error SequencerDown(); + error GracePeriodNotOver(); + error ZeroAddress(); + error EpochFinishedAlready(); + error PriceNotAtStrikePrice(int256 price); + error EpochNotStarted(); + error EpochExpired(); + error OraclePriceZero(); + error RoundIDOutdated(); + error EpochNotExist(); + error EpochNotExpired(); + error VaultNotZeroTVL(); + error VaultZeroTVL(); + + /*////////////////////////////////////////////////////////////// + EVENTS + //////////////////////////////////////////////////////////////*/ + + /** @notice Resolves epoch when event is emitted + * @param epochId market epoch ID + * @param marketId market ID + * @param tvl TVL + * @param strikeMet Flag if event isDisaster + * @param time time + * @param depegPrice Price that triggered depeg + */ + event EpochResolved( + uint256 indexed epochId, + uint256 indexed marketId, + VaultTVL tvl, + bool strikeMet, + uint256 time, + int256 depegPrice + ); + + /** @notice Sets epoch to null when event is emitted + * @param epochId market epoch ID + * @param marketId market ID + * @param tvl TVL + * @param time timestamp + */ + event NullEpoch( + uint256 indexed epochId, + uint256 indexed marketId, + VaultTVL tvl, + uint256 time + ); + + struct VaultTVL { + uint256 COLLAT_claimTVL; + uint256 COLLAT_finalTVL; + uint256 PREM_claimTVL; + uint256 PREM_finalTVL; + } +} diff --git a/src/v2/Controllers/IDepegCondition.sol b/src/v2/Controllers/IDepegCondition.sol new file mode 100644 index 00000000..25550e4d --- /dev/null +++ b/src/v2/Controllers/IDepegCondition.sol @@ -0,0 +1,5 @@ +pragma solidity 0.8.17; + +interface IDepegCondition { + function checkDepegCondition() external view returns (bool); +} diff --git a/src/v2/Controllers/IPriceProvider.sol b/src/v2/Controllers/IPriceProvider.sol new file mode 100644 index 00000000..79a57897 --- /dev/null +++ b/src/v2/Controllers/IPriceProvider.sol @@ -0,0 +1,5 @@ +pragma solidity 0.8.17; + +interface IPriceProvider { + function getLatestPrice(address _token) external view returns (int256); +} diff --git a/src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress b/src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress new file mode 100644 index 00000000..3ece037c --- /dev/null +++ b/src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress @@ -0,0 +1,19 @@ +pragma solidity 0.8.17; + +import "./IDepegCondition.sol"; +import "./IPriceProvider.sol"; + +contract PriceBasedDepegCondition is IDepegCondition { + IPriceProvider public priceProvider; + uint256 public targetPrice; + + constructor(IPriceProvider _priceProvider, uint256 _targetPrice) { + priceProvider = _priceProvider; + targetPrice = _targetPrice; + } + + function checkDepegCondition() external view override returns (bool) { + uint256 currentPrice = priceProvider.getPrice(); + return currentPrice <= targetPrice; + } +} diff --git a/test/V2/e2e/EndToEndV2GenericTest.t.sol b/test/V2/e2e/EndToEndV2GenericTest.t.sol new file mode 100644 index 00000000..0845ca89 --- /dev/null +++ b/test/V2/e2e/EndToEndV2GenericTest.t.sol @@ -0,0 +1,240 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.17; + +import "../Helper.sol"; +import "../../../src/v2/VaultFactoryV2.sol"; +import "../../../src/v2/TimeLock.sol"; +import "../../../src/v2/VaultV2.sol"; +import "../../../src/v2/Controllers/ControllerGenericV2.sol"; +import "../../../src/v2/Controllers/ChainlinkPriceProvider.sol"; +import "../../../src/v2/Controllers/IPriceProvider.sol"; + + + +import {FixedPointMathLib} from "@solmate/utils/FixedPointMathLib.sol"; + + +contract EndToEndV2Test is Helper { + using FixedPointMathLib for uint256; + + VaultFactoryV2 public factory; + + IPriceProvider public priceProvider; + ControllerGenericV2 public controller; + + address public premium; + address public collateral; + address public oracle; + address public depegPremium; + address public depegCollateral; + + uint256 public marketId; + uint256 public strike; + uint256 public epochId; + uint256 public depegMarketId; + uint256 public depegStrike; + uint256 public depegEpochId; + uint256 public premiumShareValue; + uint256 public collateralShareValue; + uint256 public arbForkId; + + uint256 public constant AMOUNT_AFTER_FEE = 19.95 ether; + uint256 public constant PREMIUM_DEPOSIT_AMOUNT = 2 ether; + uint256 public constant COLLAT_DEPOSIT_AMOUNT = 10 ether; + uint256 public constant DEPOSIT_AMOUNT = 10 ether; + uint256 public constant DEALT_AMOUNT = 20 ether; + + uint40 public begin; + uint40 public end; + + uint16 public fee; + + string public ARBITRUM_RPC_URL = vm.envString("ARBITRUM_RPC_URL"); + + function setUp() public { + arbForkId = vm.createFork(ARBITRUM_RPC_URL); + vm.selectFork(arbForkId); + + UNDERLYING = address(new MintableToken("UnderLyingToken", "utkn")); + + TimeLock timelock = new TimeLock(ADMIN); + + factory = new VaultFactoryV2( + WETH, + TREASURY, + address(timelock) + ); + + priceProvider = IPriceProvider(new ChainlinkPriceProvider( + ARBITRUM_SEQUENCER, + address(factory) + )); + controller = new ControllerGenericV2( + address(factory), + ARBITRUM_SEQUENCER, + TREASURY, + address(priceProvider)); + factory.whitelistController(address(controller)); + + //create end epoch market + oracle = address(0x3); + strike = uint256(0x2); + string memory name = string("USD Coin"); + string memory symbol = string("USDC"); + + ( + premium, + collateral, + marketId + ) = factory.createNewMarket( + VaultFactoryV2.MarketConfigurationCalldata( + TOKEN, + strike, + oracle, + UNDERLYING, + name, + symbol, + address(controller)) + ); + + //create depeg market + depegStrike = uint256(2 ether); + ( + depegPremium, + depegCollateral, + depegMarketId + ) = factory.createNewMarket( + VaultFactoryV2.MarketConfigurationCalldata( + USDC_TOKEN, + depegStrike, + USDC_CHAINLINK, + UNDERLYING, + name, + symbol, + address(controller) + ) + ); + + //create epoch for end epoch + begin = uint40(block.timestamp - 5 days); + end = uint40(block.timestamp - 3 days); + fee = 50; // 0.5% + + (epochId, ) = factory.createEpoch( + marketId, + begin, + end, + fee + ); + + //create epoch for depeg + (depegEpochId, ) = factory.createEpoch( + depegMarketId, + begin, + end, + fee + ); + + MintableToken(UNDERLYING).mint(USER); + } + + function testGenericEndToEndEndEpoch() public { + vm.startPrank(USER); + + vm.warp(begin - 1 days); + + //deal ether + vm.deal(USER, DEALT_AMOUNT); + + //approve gov token + MintableToken(UNDERLYING).approve(premium, DEPOSIT_AMOUNT); + MintableToken(UNDERLYING).approve(collateral, DEPOSIT_AMOUNT); + + //deposit in both vaults + VaultV2(premium).deposit(epochId, DEPOSIT_AMOUNT, USER); + VaultV2(collateral).deposit(epochId, DEPOSIT_AMOUNT, USER); + + //check deposit balances + assertEq(VaultV2(premium).balanceOf(USER ,epochId), DEPOSIT_AMOUNT); + assertEq(VaultV2(collateral).balanceOf(USER ,epochId), DEPOSIT_AMOUNT); + + //check user underlying balance + assertEq(USER.balance, DEALT_AMOUNT); + + //warp to epoch end + vm.warp(end + 1 days); + + //trigger end of epoch + controller.triggerEndEpoch(marketId, epochId); + + //check vault balances on withdraw + assertEq(VaultV2(premium).previewWithdraw(epochId, DEPOSIT_AMOUNT), 0); + assertEq(VaultV2(collateral).previewWithdraw(epochId, DEPOSIT_AMOUNT), AMOUNT_AFTER_FEE); + + //withdraw from vaults + VaultV2(premium).withdraw(epochId, DEPOSIT_AMOUNT, USER, USER); + VaultV2(collateral).withdraw(epochId, DEPOSIT_AMOUNT, USER, USER); + + //check vaults balance + assertEq(VaultV2(premium).balanceOf(USER ,epochId), 0); + assertEq(VaultV2(collateral).balanceOf(USER ,epochId), 0); + + //check user ERC20 balance + assertEq(USER.balance, DEALT_AMOUNT); + + vm.stopPrank(); + } + + function testEndToEndDepeg() public { + vm.startPrank(USER); + + vm.warp(begin - 10 days); + //deal ether + vm.deal(USER, DEALT_AMOUNT); + + //approve gov token + MintableToken(UNDERLYING).approve(depegPremium, PREMIUM_DEPOSIT_AMOUNT); + MintableToken(UNDERLYING).approve(depegCollateral, COLLAT_DEPOSIT_AMOUNT); + + //deposit in both vaults + VaultV2(depegPremium).deposit(depegEpochId, PREMIUM_DEPOSIT_AMOUNT, USER); + VaultV2(depegCollateral).deposit(depegEpochId, COLLAT_DEPOSIT_AMOUNT, USER); + + //check deposit balances + assertEq(VaultV2(depegPremium).balanceOf(USER ,depegEpochId), PREMIUM_DEPOSIT_AMOUNT); + assertEq(VaultV2(depegCollateral).balanceOf(USER ,depegEpochId), COLLAT_DEPOSIT_AMOUNT); + + //check user underlying balance + assertEq(USER.balance, DEALT_AMOUNT); + + //warp to epoch begin + vm.warp(begin + 1 hours); + + //trigger depeg + controller.triggerDepeg(depegMarketId, depegEpochId); + + premiumShareValue = helperCalculateFeeAdjustedValue(VaultV2(depegCollateral).finalTVL(depegEpochId), fee); + collateralShareValue = helperCalculateFeeAdjustedValue(VaultV2(depegPremium).finalTVL(depegEpochId), fee); + + //check vault balances on withdraw + assertEq(premiumShareValue, VaultV2(depegPremium).previewWithdraw(depegEpochId, PREMIUM_DEPOSIT_AMOUNT)); + assertEq(collateralShareValue, VaultV2(depegCollateral).previewWithdraw(depegEpochId, COLLAT_DEPOSIT_AMOUNT)); + + //withdraw from vaults + VaultV2(depegPremium).withdraw(depegEpochId, PREMIUM_DEPOSIT_AMOUNT, USER, USER); + VaultV2(depegCollateral).withdraw(depegEpochId, COLLAT_DEPOSIT_AMOUNT, USER, USER); + + //check vaults balance + assertEq(VaultV2(depegPremium).balanceOf(USER ,depegEpochId), 0); + assertEq(VaultV2(depegCollateral).balanceOf(USER ,depegEpochId), 0); + + //check user ERC20 balance + assertEq(USER.balance, DEALT_AMOUNT); + + vm.stopPrank(); + } + + function helperCalculateFeeAdjustedValue(uint256 amount, uint16 fee) internal pure returns (uint256) { + return amount - amount.mulDivUp(fee, 10000); + } +} \ No newline at end of file From e0e1b8345ad8000596e4ed37dd29bb3e16d1da63 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Thu, 13 Apr 2023 17:39:34 +0000 Subject: [PATCH 02/13] finished Dpeg Generalization. Moving to Redstone. --- package-lock.json | 1838 ++++++++++++++++- package.json | 1 + src/v2/Controllers/ControllerGenericV2.sol | 55 +- src/v2/Controllers/IDepegCondition.sol | 2 +- .../Controllers/PriceBasedDepegCondition.sol | 43 + .../PriceBasedDepegCondition.sol_inprogress | 19 - test/V2/e2e/EndToEndV2GenericTest.t.sol | 26 +- 7 files changed, 1951 insertions(+), 33 deletions(-) create mode 100644 src/v2/Controllers/PriceBasedDepegCondition.sol delete mode 100644 src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress diff --git a/package-lock.json b/package-lock.json index 75e63f48..70e5ddef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "dependencies": { + "@redstone-finance/evm-connector": "^0.0.22", "solhint-plugin-prettier": "^0.0.5" }, "devDependencies": { @@ -50,6 +51,758 @@ "node": ">=6.9.0" } }, + "node_modules/@chainlink/contracts": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@chainlink/contracts/-/contracts-0.6.1.tgz", + "integrity": "sha512-EuwijGexttw0UjfrW+HygwhQIrGAbqpf1ue28R55HhWMHBzphEH0PhWm8DQmFfj5OZNy8Io66N4L0nStkZ3QKQ==", + "dependencies": { + "@eth-optimism/contracts": "^0.5.21", + "@openzeppelin/contracts": "~4.3.3", + "@openzeppelin/contracts-upgradeable": "^4.7.3", + "@openzeppelin/contracts-v0.7": "npm:@openzeppelin/contracts@v3.4.2" + } + }, + "node_modules/@chainlink/contracts/node_modules/@openzeppelin/contracts": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.3.3.tgz", + "integrity": "sha512-tDBopO1c98Yk7Cv/PZlHqrvtVjlgK5R4J6jxLwoO7qxK4xqOiZG+zSkIvGFpPZ0ikc3QOED3plgdqjgNTnBc7g==" + }, + "node_modules/@eth-optimism/contracts": { + "version": "0.5.40", + "resolved": "https://registry.npmjs.org/@eth-optimism/contracts/-/contracts-0.5.40.tgz", + "integrity": "sha512-MrzV0nvsymfO/fursTB7m/KunkPsCndltVgfdHaT1Aj5Vi6R/doKIGGkOofHX+8B6VMZpuZosKCMQ5lQuqjt8w==", + "dependencies": { + "@eth-optimism/core-utils": "0.12.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0" + }, + "peerDependencies": { + "ethers": "^5" + } + }, + "node_modules/@eth-optimism/core-utils": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@eth-optimism/core-utils/-/core-utils-0.12.0.tgz", + "integrity": "sha512-qW+7LZYCz7i8dRa7SRlUKIo1VBU8lvN0HeXCxJR+z+xtMzMQpPds20XJNCMclszxYQHkXY00fOT6GvFw9ZL6nw==", + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/contracts": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/providers": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bufio": "^1.0.7", + "chai": "^4.3.4" + } + }, + "node_modules/@ethersproject/abi": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", + "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/abstract-provider": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", + "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0" + } + }, + "node_modules/@ethersproject/abstract-signer": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", + "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "node_modules/@ethersproject/address": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", + "integrity": "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/rlp": "^5.7.0" + } + }, + "node_modules/@ethersproject/base64": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", + "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0" + } + }, + "node_modules/@ethersproject/basex": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz", + "integrity": "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "node_modules/@ethersproject/bignumber": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", + "integrity": "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "bn.js": "^5.2.1" + } + }, + "node_modules/@ethersproject/bytes": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", + "integrity": "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/constants": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", + "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.7.0" + } + }, + "node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", + "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "node_modules/@ethersproject/hash": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", + "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/hdnode": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", + "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "node_modules/@ethersproject/json-wallets": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", + "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "node_modules/@ethersproject/keccak256": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", + "integrity": "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "js-sha3": "0.8.0" + } + }, + "node_modules/@ethersproject/logger": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz", + "integrity": "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ] + }, + "node_modules/@ethersproject/networks": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", + "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/pbkdf2": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", + "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "node_modules/@ethersproject/properties": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", + "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/providers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", + "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "node_modules/@ethersproject/random": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", + "integrity": "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/rlp": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", + "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/sha2": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz", + "integrity": "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "node_modules/@ethersproject/signing-key": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", + "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "bn.js": "^5.2.1", + "elliptic": "6.5.4", + "hash.js": "1.1.7" + } + }, + "node_modules/@ethersproject/solidity": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz", + "integrity": "sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/strings": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", + "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/transactions": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", + "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0" + } + }, + "node_modules/@ethersproject/units": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz", + "integrity": "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "node_modules/@ethersproject/wallet": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", + "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "node_modules/@ethersproject/web": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", + "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@ethersproject/wordlists": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", + "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "node_modules/@openzeppelin/contracts": { + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.2.tgz", + "integrity": "sha512-kEUOgPQszC0fSYWpbh2kT94ltOJwj1qfT2DWo+zVttmGmf97JZ99LspePNaeeaLhCImaHVeBbjaQFZQn7+Zc5g==" + }, + "node_modules/@openzeppelin/contracts-upgradeable": { + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.8.2.tgz", + "integrity": "sha512-zIggnBwemUmmt9IS73qxi+tumALxCY4QEs3zLCII78k0Gfse2hAOdAkuAeLUzvWUpneMUfFE5sGHzEUSTvn4Ag==" + }, + "node_modules/@openzeppelin/contracts-v0.7": { + "name": "@openzeppelin/contracts", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-3.4.2.tgz", + "integrity": "sha512-z0zMCjyhhp4y7XKAcDAi3Vgms4T2PstwBdahiO0+9NaGICQKjynK3wduSRplTgk4LXmoO1yfDGO5RbjKYxtuxA==" + }, + "node_modules/@redstone-finance/evm-connector": { + "version": "0.0.22", + "resolved": "https://registry.npmjs.org/@redstone-finance/evm-connector/-/evm-connector-0.0.22.tgz", + "integrity": "sha512-Gx6xEWTGQdyFIv1JBS2CWWpEhZJRZZCKlC6Lxy8PiIQsZLBjppZ37ljJLb/BtYfb9NwCOKrLF45FAS1i8W7bNg==", + "dependencies": { + "@chainlink/contracts": "^0.6.0", + "@openzeppelin/contracts": "^4.7.3", + "axios": "^1.1.3", + "ethers": "^5.6.8", + "redstone-protocol": "1.0.5", + "redstone-sdk": "1.0.7" + } + }, "node_modules/@solidity-parser/parser": { "version": "0.14.1", "resolved": "https://registry.npmjs.org/@solidity-parser/parser/-/parser-0.14.1.tgz", @@ -79,6 +832,11 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" + }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -145,6 +903,14 @@ "sprintf-js": "~1.0.2" } }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "engines": { + "node": "*" + } + }, "node_modules/ast-parents": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/ast-parents/-/ast-parents-0.0.1.tgz", @@ -169,12 +935,37 @@ "lodash": "^4.17.14" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/axios": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz", + "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==", + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" + }, + "node_modules/bn.js": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -185,6 +976,19 @@ "concat-map": "0.0.1" } }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==" + }, + "node_modules/bufio": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/bufio/-/bufio-1.2.0.tgz", + "integrity": "sha512-UlFk8z/PwdhYQTXSQQagwGAdtRI83gib2n4uy4rQnenxUM2yQi8lBDzF230BNk+3wAoZDxYRoBwVVUPgHa9MCA==", + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/caller-callsite": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", @@ -218,6 +1022,23 @@ "node": ">=4" } }, + "node_modules/chai": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", + "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^4.1.2", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", @@ -238,6 +1059,14 @@ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", + "engines": { + "node": "*" + } + }, "node_modules/cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", @@ -271,6 +1100,17 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/commander": { "version": "2.18.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz", @@ -340,12 +1180,31 @@ } } }, + "node_modules/deep-eql": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", + "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -358,6 +1217,25 @@ "node": ">=6.0.0" } }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, "node_modules/emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -587,6 +1465,53 @@ "node": ">=0.10.0" } }, + "node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -668,6 +1593,38 @@ "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", "dev": true }, + "node_modules/follow-redirects": { + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -680,6 +1637,14 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", + "engines": { + "node": "*" + } + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -718,6 +1683,25 @@ "node": ">=4" } }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, "node_modules/husky": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", @@ -789,8 +1773,7 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/inquirer": { "version": "6.5.2", @@ -867,6 +1850,11 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, + "node_modules/js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -923,6 +1911,14 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, + "node_modules/loupe": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", + "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", + "dependencies": { + "get-func-name": "^2.0.0" + } + }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -934,6 +1930,25 @@ "node": ">=10" } }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", @@ -943,6 +1958,16 @@ "node": ">=4" } }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" + }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -1102,6 +2127,14 @@ "node": ">=4" } }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "engines": { + "node": "*" + } + }, "node_modules/prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -1239,6 +2272,11 @@ "node": ">=0.4.0" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", @@ -1248,6 +2286,38 @@ "node": ">=6" } }, + "node_modules/redstone-oracles-smartweave-contracts": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/redstone-oracles-smartweave-contracts/-/redstone-oracles-smartweave-contracts-1.0.5.tgz", + "integrity": "sha512-Uf7hENYAJ+w8yJS1dm4uRXI7/GUiA3ncvFFIo1i9x+vP4FpQ9RlxZFf3Xg2LMnGmz/j1ITBRsM3FAQdSRkTuxA==" + }, + "node_modules/redstone-protocol": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/redstone-protocol/-/redstone-protocol-1.0.5.tgz", + "integrity": "sha512-62qHSb9jF5875a/gc8MbDcHH1n4dZsBXxlIxpk3vx/MeykAMB6nLd1174Qukvupkr69cneeRQiVqqALkQpmRlg==", + "dependencies": { + "ethers": "^5.6.8" + } + }, + "node_modules/redstone-sdk": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/redstone-sdk/-/redstone-sdk-1.0.7.tgz", + "integrity": "sha512-pjSNWLoWvaol73kJO58YHqy3VUfDN2hMTeQW4wccQAPWY2OhnM7Ody9TL8l2DxXgXMAUscuqVRHBmUNjT3Q2rw==", + "dependencies": { + "axios": "^0.27.2", + "redstone-oracles-smartweave-contracts": "*", + "redstone-protocol": "*" + } + }, + "node_modules/redstone-sdk/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, "node_modules/regexpp": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", @@ -1354,6 +2424,11 @@ "scripty": "cli.js" } }, + "node_modules/scrypt-js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", + "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" + }, "node_modules/semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -1606,6 +2681,14 @@ "node": ">= 0.8.0" } }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "engines": { + "node": ">=4" + } + }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -1654,6 +2737,26 @@ "node": ">=4" } }, + "node_modules/ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -1687,6 +2790,456 @@ "js-tokens": "^4.0.0" } }, + "@chainlink/contracts": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@chainlink/contracts/-/contracts-0.6.1.tgz", + "integrity": "sha512-EuwijGexttw0UjfrW+HygwhQIrGAbqpf1ue28R55HhWMHBzphEH0PhWm8DQmFfj5OZNy8Io66N4L0nStkZ3QKQ==", + "requires": { + "@eth-optimism/contracts": "^0.5.21", + "@openzeppelin/contracts": "~4.3.3", + "@openzeppelin/contracts-upgradeable": "^4.7.3", + "@openzeppelin/contracts-v0.7": "npm:@openzeppelin/contracts@v3.4.2" + }, + "dependencies": { + "@openzeppelin/contracts": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.3.3.tgz", + "integrity": "sha512-tDBopO1c98Yk7Cv/PZlHqrvtVjlgK5R4J6jxLwoO7qxK4xqOiZG+zSkIvGFpPZ0ikc3QOED3plgdqjgNTnBc7g==" + } + } + }, + "@eth-optimism/contracts": { + "version": "0.5.40", + "resolved": "https://registry.npmjs.org/@eth-optimism/contracts/-/contracts-0.5.40.tgz", + "integrity": "sha512-MrzV0nvsymfO/fursTB7m/KunkPsCndltVgfdHaT1Aj5Vi6R/doKIGGkOofHX+8B6VMZpuZosKCMQ5lQuqjt8w==", + "requires": { + "@eth-optimism/core-utils": "0.12.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0" + } + }, + "@eth-optimism/core-utils": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@eth-optimism/core-utils/-/core-utils-0.12.0.tgz", + "integrity": "sha512-qW+7LZYCz7i8dRa7SRlUKIo1VBU8lvN0HeXCxJR+z+xtMzMQpPds20XJNCMclszxYQHkXY00fOT6GvFw9ZL6nw==", + "requires": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/contracts": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/providers": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bufio": "^1.0.7", + "chai": "^4.3.4" + } + }, + "@ethersproject/abi": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", + "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", + "requires": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "@ethersproject/abstract-provider": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", + "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", + "requires": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0" + } + }, + "@ethersproject/abstract-signer": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", + "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", + "requires": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "@ethersproject/address": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", + "integrity": "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==", + "requires": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/rlp": "^5.7.0" + } + }, + "@ethersproject/base64": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", + "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", + "requires": { + "@ethersproject/bytes": "^5.7.0" + } + }, + "@ethersproject/basex": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz", + "integrity": "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/properties": "^5.7.0" + } + }, + "@ethersproject/bignumber": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", + "integrity": "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "bn.js": "^5.2.1" + } + }, + "@ethersproject/bytes": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", + "integrity": "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==", + "requires": { + "@ethersproject/logger": "^5.7.0" + } + }, + "@ethersproject/constants": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", + "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", + "requires": { + "@ethersproject/bignumber": "^5.7.0" + } + }, + "@ethersproject/contracts": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", + "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", + "requires": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, + "@ethersproject/hash": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", + "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", + "requires": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "@ethersproject/hdnode": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", + "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", + "requires": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "@ethersproject/json-wallets": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", + "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", + "requires": { + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/pbkdf2": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "@ethersproject/keccak256": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", + "integrity": "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "js-sha3": "0.8.0" + } + }, + "@ethersproject/logger": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz", + "integrity": "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==" + }, + "@ethersproject/networks": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", + "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", + "requires": { + "@ethersproject/logger": "^5.7.0" + } + }, + "@ethersproject/pbkdf2": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", + "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/sha2": "^5.7.0" + } + }, + "@ethersproject/properties": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", + "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", + "requires": { + "@ethersproject/logger": "^5.7.0" + } + }, + "@ethersproject/providers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", + "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", + "requires": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "@ethersproject/random": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", + "integrity": "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "@ethersproject/rlp": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", + "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "@ethersproject/sha2": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz", + "integrity": "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "hash.js": "1.1.7" + } + }, + "@ethersproject/signing-key": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", + "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "bn.js": "^5.2.1", + "elliptic": "6.5.4", + "hash.js": "1.1.7" + } + }, + "@ethersproject/solidity": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz", + "integrity": "sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==", + "requires": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "@ethersproject/strings": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", + "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "@ethersproject/transactions": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", + "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", + "requires": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0" + } + }, + "@ethersproject/units": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz", + "integrity": "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==", + "requires": { + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0" + } + }, + "@ethersproject/wallet": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", + "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", + "requires": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/hdnode": "^5.7.0", + "@ethersproject/json-wallets": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/signing-key": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/wordlists": "^5.7.0" + } + }, + "@ethersproject/web": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", + "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", + "requires": { + "@ethersproject/base64": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "@ethersproject/wordlists": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", + "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, + "@openzeppelin/contracts": { + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.2.tgz", + "integrity": "sha512-kEUOgPQszC0fSYWpbh2kT94ltOJwj1qfT2DWo+zVttmGmf97JZ99LspePNaeeaLhCImaHVeBbjaQFZQn7+Zc5g==" + }, + "@openzeppelin/contracts-upgradeable": { + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.8.2.tgz", + "integrity": "sha512-zIggnBwemUmmt9IS73qxi+tumALxCY4QEs3zLCII78k0Gfse2hAOdAkuAeLUzvWUpneMUfFE5sGHzEUSTvn4Ag==" + }, + "@openzeppelin/contracts-v0.7": { + "version": "npm:@openzeppelin/contracts@3.4.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-3.4.2.tgz", + "integrity": "sha512-z0zMCjyhhp4y7XKAcDAi3Vgms4T2PstwBdahiO0+9NaGICQKjynK3wduSRplTgk4LXmoO1yfDGO5RbjKYxtuxA==" + }, + "@redstone-finance/evm-connector": { + "version": "0.0.22", + "resolved": "https://registry.npmjs.org/@redstone-finance/evm-connector/-/evm-connector-0.0.22.tgz", + "integrity": "sha512-Gx6xEWTGQdyFIv1JBS2CWWpEhZJRZZCKlC6Lxy8PiIQsZLBjppZ37ljJLb/BtYfb9NwCOKrLF45FAS1i8W7bNg==", + "requires": { + "@chainlink/contracts": "^0.6.0", + "@openzeppelin/contracts": "^4.7.3", + "axios": "^1.1.3", + "ethers": "^5.6.8", + "redstone-protocol": "1.0.5", + "redstone-sdk": "1.0.7" + } + }, "@solidity-parser/parser": { "version": "0.14.1", "resolved": "https://registry.npmjs.org/@solidity-parser/parser/-/parser-0.14.1.tgz", @@ -1708,6 +3261,11 @@ "dev": true, "requires": {} }, + "aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" + }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -1761,6 +3319,11 @@ "sprintf-js": "~1.0.2" } }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" + }, "ast-parents": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/ast-parents/-/ast-parents-0.0.1.tgz", @@ -1782,12 +3345,37 @@ "lodash": "^4.17.14" } }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "axios": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz", + "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==", + "requires": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" + }, + "bn.js": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -1798,6 +3386,16 @@ "concat-map": "0.0.1" } }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==" + }, + "bufio": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/bufio/-/bufio-1.2.0.tgz", + "integrity": "sha512-UlFk8z/PwdhYQTXSQQagwGAdtRI83gib2n4uy4rQnenxUM2yQi8lBDzF230BNk+3wAoZDxYRoBwVVUPgHa9MCA==" + }, "caller-callsite": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", @@ -1822,6 +3420,20 @@ "integrity": "sha512-ksWePWBloaWPxJYQ8TL0JHvtci6G5QTKwQ95RcWAa/lzoAKuAOflGdAK92hpHXjkwb8zLxoLNUoNYZgVsaJzvQ==", "dev": true }, + "chai": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", + "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^4.1.2", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", @@ -1839,6 +3451,11 @@ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==" + }, "cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", @@ -1869,6 +3486,14 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, "commander": { "version": "2.18.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz", @@ -1923,12 +3548,25 @@ "ms": "2.1.2" } }, + "deep-eql": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", + "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", + "requires": { + "type-detect": "^4.0.0" + } + }, "deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + }, "doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -1938,6 +3576,27 @@ "esutils": "^2.0.2" } }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, "emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -2115,6 +3774,43 @@ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, + "ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "requires": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -2184,6 +3880,21 @@ "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", "dev": true }, + "follow-redirects": { + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -2196,6 +3907,11 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==" + }, "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -2222,6 +3938,25 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==", + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, "husky": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", @@ -2272,8 +4007,7 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "inquirer": { "version": "6.5.2", @@ -2337,6 +4071,11 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, + "js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -2387,6 +4126,14 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, + "loupe": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", + "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", + "requires": { + "get-func-name": "^2.0.0" + } + }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -2395,12 +4142,35 @@ "yallist": "^4.0.0" } }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "requires": { + "mime-db": "1.52.0" + } + }, "mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", "dev": true }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" + }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -2532,6 +4302,11 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" + }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -2625,12 +4400,51 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, + "redstone-oracles-smartweave-contracts": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/redstone-oracles-smartweave-contracts/-/redstone-oracles-smartweave-contracts-1.0.5.tgz", + "integrity": "sha512-Uf7hENYAJ+w8yJS1dm4uRXI7/GUiA3ncvFFIo1i9x+vP4FpQ9RlxZFf3Xg2LMnGmz/j1ITBRsM3FAQdSRkTuxA==" + }, + "redstone-protocol": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/redstone-protocol/-/redstone-protocol-1.0.5.tgz", + "integrity": "sha512-62qHSb9jF5875a/gc8MbDcHH1n4dZsBXxlIxpk3vx/MeykAMB6nLd1174Qukvupkr69cneeRQiVqqALkQpmRlg==", + "requires": { + "ethers": "^5.6.8" + } + }, + "redstone-sdk": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/redstone-sdk/-/redstone-sdk-1.0.7.tgz", + "integrity": "sha512-pjSNWLoWvaol73kJO58YHqy3VUfDN2hMTeQW4wccQAPWY2OhnM7Ody9TL8l2DxXgXMAUscuqVRHBmUNjT3Q2rw==", + "requires": { + "axios": "^0.27.2", + "redstone-oracles-smartweave-contracts": "*", + "redstone-protocol": "*" + }, + "dependencies": { + "axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "requires": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + } + } + }, "regexpp": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", @@ -2712,6 +4526,11 @@ "resolve-pkg": "^1.0.0" } }, + "scrypt-js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", + "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -2911,6 +4730,11 @@ "prelude-ls": "~1.1.2" } }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -2950,6 +4774,12 @@ "mkdirp": "^0.5.1" } }, + "ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "requires": {} + }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", diff --git a/package.json b/package.json index ef3f5875..d8125091 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "solhint": "^3.3.7" }, "dependencies": { + "@redstone-finance/evm-connector": "^0.0.22", "solhint-plugin-prettier": "^0.0.5" } } diff --git a/src/v2/Controllers/ControllerGenericV2.sol b/src/v2/Controllers/ControllerGenericV2.sol index b038d0ea..fe985536 100644 --- a/src/v2/Controllers/ControllerGenericV2.sol +++ b/src/v2/Controllers/ControllerGenericV2.sol @@ -8,17 +8,31 @@ import "@chainlink/interfaces/AggregatorV2V3Interface.sol"; import {FixedPointMathLib} from "@solmate/utils/FixedPointMathLib.sol"; import "./IDepegCondition.sol"; import "./IPriceProvider.sol"; +import "forge-std/console.sol"; + /// @author Y2K Finance Team contract ControllerGenericV2 { + using FixedPointMathLib for uint256; IVaultFactoryV2 public immutable vaultFactory; address public immutable treasury; - - - // Soon . . . IDepegCondition[] public depegConditions; + bool public locked = false; + address public admin; + + IDepegCondition[] public depegConditions; IPriceProvider public priceProvider; + + modifier onlyAdmin { + require(msg.sender == admin, "Only the admin can perform this action"); + _; + } + + modifier notLocked { + require(!locked, "The system is locked, no new depeg conditions can be added"); + _; + } constructor( address _factory, @@ -31,17 +45,31 @@ contract ControllerGenericV2 { if (_factory == address(0)) revert ZeroAddress(); vaultFactory = IVaultFactoryV2(_factory); + admin = msg.sender; + // So we can add depegs, (which could have circular dependencies, i.e., may need to read ControllerGenericV2 in their constructor) treasury = _treasury; } /*////////////////////////////////////////////////////////////// FUNCTIONS //////////////////////////////////////////////////////////////*/ + /** @notice Add a Depeg Condition + * @param _condition The Condition that must be true to trigger liquidation + */ + function addDepegCondition(IDepegCondition _condition) external onlyAdmin notLocked { + if (address(_condition) == address(0)) revert ZeroAddress(); + depegConditions.push(_condition); + } + /** @notice Lockdown the system so no more conditions can be added + */ + function lockdownSystem() external onlyAdmin { + locked = true; + } /** @notice Trigger depeg event * @param _marketId Target market index * @param _epochId End of epoch set for market - */ + */ function triggerDepeg(uint256 _marketId, uint256 _epochId) public { address[2] memory vaults = vaultFactory.getVaults(_marketId); @@ -54,9 +82,21 @@ contract ControllerGenericV2 { if (premiumVault.epochExists(_epochId) == false) revert EpochNotExist(); int256 price = priceProvider.getLatestPrice(premiumVault.token()); - - if (int256(premiumVault.strike()) <= price) - revert PriceNotAtStrikePrice(price); + console.log("premiumVault"); + console.log(address(premiumVault)); + console.log(uint256(premiumVault.strike())); + console.log(uint256(price)); + + + for (uint256 i = 0; i < depegConditions.length; i++) { + if (!depegConditions[i].checkDepegCondition( _marketId, _epochId)) { + revert NotMetDepegConditions(address(depegConditions[i])); + } + } + + + if (int256(premiumVault.strike()) <= price) ////x + revert PriceNotAtStrikePrice(price); ////x (uint40 epochStart, uint40 epochEnd, ) = premiumVault.getEpochConfig( _epochId @@ -292,6 +332,7 @@ contract ControllerGenericV2 { error ZeroAddress(); error EpochFinishedAlready(); error PriceNotAtStrikePrice(int256 price); + error NotMetDepegConditions(address cond); error EpochNotStarted(); error EpochExpired(); error OraclePriceZero(); diff --git a/src/v2/Controllers/IDepegCondition.sol b/src/v2/Controllers/IDepegCondition.sol index 25550e4d..81cec5bb 100644 --- a/src/v2/Controllers/IDepegCondition.sol +++ b/src/v2/Controllers/IDepegCondition.sol @@ -1,5 +1,5 @@ pragma solidity 0.8.17; interface IDepegCondition { - function checkDepegCondition() external view returns (bool); + function checkDepegCondition(uint256 _marketId, uint256 _epochId) external view returns (bool); } diff --git a/src/v2/Controllers/PriceBasedDepegCondition.sol b/src/v2/Controllers/PriceBasedDepegCondition.sol new file mode 100644 index 00000000..120184c6 --- /dev/null +++ b/src/v2/Controllers/PriceBasedDepegCondition.sol @@ -0,0 +1,43 @@ +pragma solidity 0.8.17; + +import "./IDepegCondition.sol"; +import "./IPriceProvider.sol"; +import {IVaultV2} from "../interfaces/IVaultV2.sol"; +import "forge-std/console.sol"; + + +contract PriceBasedDepegCondition is IDepegCondition { + IPriceProvider public priceProvider; + IVaultV2 public premiumVault; + uint256 public epochId; + + constructor(address _priceProvider, address _premiumVault) { + priceProvider = IPriceProvider(_priceProvider); + premiumVault = IVaultV2(_premiumVault); + } + + function checkDepegCondition(uint256 _marketId, uint256 _epochId) external view override returns (bool) { + console.log(_epochId); + if (!premiumVault.epochExists(_epochId)) { + revert EpochNotExist(); + //return false; //TODO -- decide between reverts and bools here (benifits / drawbacks) + } + + int256 price = priceProvider.getLatestPrice(premiumVault.token()); + console.log("premiumVault 2"); + console.log(address(premiumVault)); + console.log(uint256(premiumVault.strike())); + console.log(uint256(price)); + if (int256(premiumVault.strike()) <= price) { + revert PriceNotAtStrikePrice(price); + //return false; //TODO -- decide between reverts and bools here + } + + return true; + } + + + // Custom errors + error PriceNotAtStrikePrice(int256 price); + error EpochNotExist(); +} diff --git a/src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress b/src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress deleted file mode 100644 index 3ece037c..00000000 --- a/src/v2/Controllers/PriceBasedDepegCondition.sol_inprogress +++ /dev/null @@ -1,19 +0,0 @@ -pragma solidity 0.8.17; - -import "./IDepegCondition.sol"; -import "./IPriceProvider.sol"; - -contract PriceBasedDepegCondition is IDepegCondition { - IPriceProvider public priceProvider; - uint256 public targetPrice; - - constructor(IPriceProvider _priceProvider, uint256 _targetPrice) { - priceProvider = _priceProvider; - targetPrice = _targetPrice; - } - - function checkDepegCondition() external view override returns (bool) { - uint256 currentPrice = priceProvider.getPrice(); - return currentPrice <= targetPrice; - } -} diff --git a/test/V2/e2e/EndToEndV2GenericTest.t.sol b/test/V2/e2e/EndToEndV2GenericTest.t.sol index 0845ca89..805f73c4 100644 --- a/test/V2/e2e/EndToEndV2GenericTest.t.sol +++ b/test/V2/e2e/EndToEndV2GenericTest.t.sol @@ -7,7 +7,9 @@ import "../../../src/v2/TimeLock.sol"; import "../../../src/v2/VaultV2.sol"; import "../../../src/v2/Controllers/ControllerGenericV2.sol"; import "../../../src/v2/Controllers/ChainlinkPriceProvider.sol"; +import "../../../src/v2/Controllers/PriceBasedDepegCondition.sol"; import "../../../src/v2/Controllers/IPriceProvider.sol"; +import "../../../src/v2/Controllers/IDepegCondition.sol"; @@ -69,11 +71,18 @@ contract EndToEndV2Test is Helper { ARBITRUM_SEQUENCER, address(factory) )); + + controller = new ControllerGenericV2( address(factory), ARBITRUM_SEQUENCER, TREASURY, address(priceProvider)); + + + + + factory.whitelistController(address(controller)); //create end epoch market @@ -134,7 +143,18 @@ contract EndToEndV2Test is Helper { end, fee ); - + + // TODO: Have this logic reviewed by 3rd party + //IVaultFactoryV2 vaultFactory = IVaultFactoryV2(factory); + address[2] memory vaults = factory.getVaults(depegMarketId); + + IVaultV2 premiumVault = IVaultV2(vaults[0]); + + IDepegCondition depegCondition = new PriceBasedDepegCondition( + address(priceProvider), + address(premiumVault)); + controller.addDepegCondition(depegCondition); + controller.lockdownSystem(); MintableToken(UNDERLYING).mint(USER); } @@ -164,6 +184,8 @@ contract EndToEndV2Test is Helper { //warp to epoch end vm.warp(end + 1 days); + + //trigger end of epoch controller.triggerEndEpoch(marketId, epochId); @@ -185,7 +207,7 @@ contract EndToEndV2Test is Helper { vm.stopPrank(); } - function testEndToEndDepeg() public { + function testGenericEndToEndDepeg() public { vm.startPrank(USER); vm.warp(begin - 10 days); From be72ddc7d2b6c3f2a64f59038c93cefb93c95379 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Fri, 14 Apr 2023 21:28:16 +0000 Subject: [PATCH 03/13] adding in tested RedstoneProvider. Moving on to Mock version for foundry --- src/v2/Controllers/RedstoneProvider.sol | 142 ++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 src/v2/Controllers/RedstoneProvider.sol diff --git a/src/v2/Controllers/RedstoneProvider.sol b/src/v2/Controllers/RedstoneProvider.sol new file mode 100644 index 00000000..b23efb5a --- /dev/null +++ b/src/v2/Controllers/RedstoneProvider.sol @@ -0,0 +1,142 @@ +/******************************************************* +NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. +***/ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.17; + +import {IVaultFactoryV2} from "../interfaces/IVaultFactoryV2.sol"; +import {IVaultV2} from "../interfaces/IVaultV2.sol"; +import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol"; + +import "./IPriceProvider.sol"; + + +pragma solidity ^0.8.4; + +import "@redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol"; + +contract RedstonePriceProvider is RapidDemoConsumerBase { + uint16 private constant GRACE_PERIOD_TIME = 3600; + IVaultFactoryV2 public immutable vaultFactory; + AggregatorV2V3Interface internal sequencerUptimeFeed; + + constructor(address _sequencer, address _factory) { + // TODO enable after testing + //if (_factory == address(0)) revert ZeroAddress(); + vaultFactory = IVaultFactoryV2(_factory); + + //if (_sequencer == address(0)) revert ZeroAddress(); + sequencerUptimeFeed = AggregatorV2V3Interface(_sequencer); + + } + + /** @notice Lookup token price + * @param _token Target token address + * @return nowPrice Current token price + */ + function getLatestPrice(address _token) public view returns (int256) { + if (address(sequencerUptimeFeed) != address(0)) + { + (, int256 answer, uint256 startedAt, , ) = sequencerUptimeFeed.latestRoundData(); + + // Answer == 0: Sequencer is up + // Answer == 1: Sequencer is down + bool isSequencerUp = answer == 0; + if (!isSequencerUp) { + revert SequencerDown(); + } + + // Make sure the grace period has passed after the sequencer is back up. + uint256 timeSinceUp = block.timestamp - startedAt; + if (timeSinceUp <= GRACE_PERIOD_TIME) { + revert GracePeriodNotOver(); + } + + } + + uint256 priceIn = getOracleNumericValueFromTxMsg(bytes32("VST")); + int256 price = int256(priceIn); + uint256 decimals = 18; + if (decimals < 18) { + decimals = 10**(18 - decimals); + price = price * int256(decimals); + } else if (decimals == 18) { + price = price; + } else { + decimals = 10**(decimals - 18); + price = price / int256(decimals); + } + + if (price <= 0) revert OraclePriceZero(); + + //(uint80 roundID, int256 price, , , uint80 answeredInRound) = + //if (answeredInRound < roundID) revert RoundIDOutdated(); + + return price; + } + + /*////////////////////////////////////////////////////////////// + ERRORS + //////////////////////////////////////////////////////////////*/ + + error MarketDoesNotExist(uint256 marketId); + error SequencerDown(); + error GracePeriodNotOver(); + error ZeroAddress(); + error EpochFinishedAlready(); + error PriceNotAtStrikePrice(int256 price); + error EpochNotStarted(); + error EpochExpired(); + error OraclePriceZero(); + error RoundIDOutdated(); + error EpochNotExist(); + error EpochNotExpired(); + error VaultNotZeroTVL(); + error VaultZeroTVL(); +} + + +/******************************************************* +NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. +Below was the testing script used to access live data using this contract. +The Smart Contract below has been tested via https://github.com/redstone-finance/redstone-evm-examples +--- To conduct a test, one can (a) pull the repo (b) add the contract into contracts, and (c) this test script into tests. Then run yarn test, and oobserve the VST data. + +TODO / Puzzles: +- Y2K: How do we simulate Historical Data for this VST service +- RedStone: How do we replicate the function of "usingDataService" on chain? + + +const { WrapperBuilder } = require("@redstone-finance/evm-connector"); +//const { ethers } = require("ethers"); + + +describe("RedstonePriceProvider", function () { + let contract; + + beforeEach(async () => { + // Deploy contract + const RedstonePriceProvider = await ethers.getContractFactory("RedstonePriceProvider"); + //contract = await RedstonePriceProvider.deploy(); + const sequencerAddress = ethers.constants.AddressZero; + const factoryAddress = ethers.constants.AddressZero; + contract = await RedstonePriceProvider.deploy(sequencerAddress, factoryAddress); + + }); + + it("Get VST price securely", async function () { + // Wrapping the contract + const wrappedContract = WrapperBuilder.wrap(contract).usingDataService({ + dataServiceId: "redstone-rapid-demo", + uniqueSignersCount: 1, + dataFeeds: ["VST"], + }, ["https://d33trozg86ya9x.cloudfront.net"]); + + // Interact with the contract (getting oracle value securely) + const ethPriceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); + console.log({ ethPriceFromContract }); + }); +}); + + +**************************************/ From bc56c02d3b56a6e19c041065b2f6258726efc724 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Mon, 17 Apr 2023 16:04:04 +0000 Subject: [PATCH 04/13] adding in redstone into the libs folder --- foundry.toml | 2 +- lib/redstone-finance/evm-connector/README.md | 267 +++++ .../evm-connector/contracts/.DS_Store | Bin 0 -> 6148 bytes .../contracts/core/CalldataExtractor.sol | 113 +++ .../contracts/core/ProxyConnector.sol | 154 +++ .../contracts/core/RedstoneConstants.sol | 52 + .../contracts/core/RedstoneConsumerBase.sol | 298 ++++++ .../core/RedstoneConsumerBytesBase.sol | 217 ++++ .../core/RedstoneConsumerNumericBase.sol | 112 +++ .../contracts/core/RedstoneDefaultsLib.sol | 39 + .../AvalancheDataServiceConsumerBase.sol | 29 + .../data-services/CustomUrlsConsumerBase.sol | 27 + .../data-services/KydServiceConsumerBase.sol | 49 + .../data-services/MainDemoConsumerBase.sol | 25 + .../data-services/RapidDemoConsumerBase.sol | 25 + .../data-services/StocksDemoConsumerBase.sol | 25 + .../data-services/TwapsDemoConsumerBase.sol | 25 + .../contracts/libs/BitmapLib.sol | 14 + .../contracts/libs/HardhatLoggerLib.sol | 14 + .../contracts/libs/NumbersLib.sol | 15 + .../contracts/libs/NumericArrayLib.sol | 56 ++ .../contracts/libs/SignatureLib.sol | 27 + .../mocks/AuthorisedMockSignersBase.sol | 76 ++ .../mocks/RedstoneConsumerBytesMock.sol | 32 + .../mocks/RedstoneConsumerNumericMock.sol | 32 + .../contracts/samples/SampleBitmapLib.sol | 15 + .../samples/SampleDuplicatedDataFeeds.sol | 23 + .../samples/SampleKydServiceConsumer.sol | 24 + .../samples/SampleNumericArrayLib.sol | 28 + .../samples/SampleProxyConnector.sol | 110 ++ .../SampleRedstoneConsumerBytesMock.sol | 65 ++ ...RedstoneConsumerBytesMockManyDataFeeds.sol | 19 + ...SampleRedstoneConsumerBytesMockStrings.sol | 15 + .../SampleRedstoneConsumerNumericMock.sol | 56 ++ ...dstoneConsumerNumericMockManyDataFeeds.sol | 19 + .../samples/SampleRedstoneDefaultsLib.sol | 15 + .../contracts/samples/SampleStorageProxy.sol | 99 ++ .../samples/SampleStorageProxyConsumer.sol | 46 + .../samples/SampleSyntheticToken.sol | 472 +++++++++ .../contracts/samples/SampleWithEvents.sol | 14 + .../samples/benchmarks/Benchmark.sol | 45 + .../samples/benchmarks/HashCalldataModel.sol | 161 +++ .../SampleChainableProxyConnector.sol | 51 + .../SampleChainableStorageProxy.sol | 58 ++ .../SampleChainableStorageProxyConsumer.sol | 47 + .../SampleProxyConnectorConsumer.sol | 34 + .../benchmarks/StorageStructureModel.sol | 140 +++ .../evm-connector/dist/hardhat.config.d.ts | 8 + .../dist/hardhat.config.d.ts.map | 1 + .../evm-connector/dist/hardhat.config.js | 33 + .../evm-connector/dist/hardhat.config.js.map | 1 + .../evm-connector/dist/package.json | 49 + .../dist/src/WrapperBuilder.d.ts | 16 + .../dist/src/WrapperBuilder.d.ts.map | 1 + .../evm-connector/dist/src/WrapperBuilder.js | 36 + .../dist/src/WrapperBuilder.js.map | 1 + .../dist/src/helpers/add-contract-wait.d.ts | 4 + .../src/helpers/add-contract-wait.d.ts.map | 1 + .../dist/src/helpers/add-contract-wait.js | 47 + .../dist/src/helpers/add-contract-wait.js.map | 1 + .../src/helpers/parse-aggregated-errors.d.ts | 2 + .../helpers/parse-aggregated-errors.d.ts.map | 1 + .../src/helpers/parse-aggregated-errors.js | 11 + .../helpers/parse-aggregated-errors.js.map | 1 + .../dist/src/helpers/run-dry-run.d.ts | 6 + .../dist/src/helpers/run-dry-run.d.ts.map | 1 + .../dist/src/helpers/run-dry-run.js | 11 + .../dist/src/helpers/run-dry-run.js.map | 1 + .../dist/src/helpers/test-utils.d.ts | 41 + .../dist/src/helpers/test-utils.d.ts.map | 1 + .../dist/src/helpers/test-utils.js | 140 +++ .../dist/src/helpers/test-utils.js.map | 1 + .../evm-connector/dist/src/index.d.ts | 2 + .../evm-connector/dist/src/index.d.ts.map | 1 + .../evm-connector/dist/src/index.js | 18 + .../evm-connector/dist/src/index.js.map | 1 + .../dist/src/wrappers/BaseWrapper.d.ts | 13 + .../dist/src/wrappers/BaseWrapper.d.ts.map | 1 + .../dist/src/wrappers/BaseWrapper.js | 61 ++ .../dist/src/wrappers/BaseWrapper.js.map | 1 + .../src/wrappers/DataPackagesWrapper.d.ts | 10 + .../src/wrappers/DataPackagesWrapper.d.ts.map | 1 + .../dist/src/wrappers/DataPackagesWrapper.js | 26 + .../src/wrappers/DataPackagesWrapper.js.map | 1 + .../dist/src/wrappers/DataServiceWrapper.d.ts | 16 + .../src/wrappers/DataServiceWrapper.d.ts.map | 1 + .../dist/src/wrappers/DataServiceWrapper.js | 48 + .../src/wrappers/DataServiceWrapper.js.map | 1 + .../dist/src/wrappers/MockWrapper.d.ts | 15 + .../dist/src/wrappers/MockWrapper.d.ts.map | 1 + .../dist/src/wrappers/MockWrapper.js | 31 + .../dist/src/wrappers/MockWrapper.js.map | 1 + .../src/wrappers/OnDemandRequestWrapper.d.ts | 16 + .../wrappers/OnDemandRequestWrapper.d.ts.map | 1 + .../src/wrappers/OnDemandRequestWrapper.js | 38 + .../wrappers/OnDemandRequestWrapper.js.map | 1 + .../wrappers/SimpleMockNumericWrapper.d.ts | 12 + .../SimpleMockNumericWrapper.d.ts.map | 1 + .../src/wrappers/SimpleMockNumericWrapper.js | 34 + .../wrappers/SimpleMockNumericWrapper.js.map | 1 + .../data-packages-wrapper.test.d.ts | 2 + .../data-packages-wrapper.test.d.ts.map | 1 + .../data-packages-wrapper.test.js | 61 ++ .../data-packages-wrapper.test.js.map | 1 + .../test/data-packages-wrapper/helpers.d.ts | 6 + .../data-packages-wrapper/helpers.d.ts.map | 1 + .../test/data-packages-wrapper/helpers.js | 16 + .../test/data-packages-wrapper/helpers.js.map | 1 + .../data-service-wrapper.test.d.ts | 2 + .../data-service-wrapper.test.d.ts.map | 1 + .../data-service-wrapper.test.js | 100 ++ .../data-service-wrapper.test.js.map | 1 + .../data-service-wrapper/mock-server.d.ts | 2 + .../data-service-wrapper/mock-server.d.ts.map | 1 + .../test/data-service-wrapper/mock-server.js | 34 + .../data-service-wrapper/mock-server.js.map | 1 + .../dist/test/libs/bitmap-lib.test.d.ts | 2 + .../dist/test/libs/bitmap-lib.test.d.ts.map | 1 + .../dist/test/libs/bitmap-lib.test.js | 35 + .../dist/test/libs/bitmap-lib.test.js.map | 1 + .../test/libs/numeric-array-lib.test.d.ts | 2 + .../test/libs/numeric-array-lib.test.d.ts.map | 1 + .../dist/test/libs/numeric-array-lib.test.js | 105 ++ .../test/libs/numeric-array-lib.test.js.map | 1 + .../test/libs/redstone-defaults-lib.test.d.ts | 2 + .../libs/redstone-defaults-lib.test.d.ts.map | 1 + .../test/libs/redstone-defaults-lib.test.js | 60 ++ .../libs/redstone-defaults-lib.test.js.map | 1 + .../bytes-many-data-feeds.test.d.ts | 2 + .../bytes-many-data-feeds.test.d.ts.map | 1 + .../bytes-many-data-feeds.test.js | 78 ++ .../bytes-many-data-feeds.test.js.map | 1 + .../test/mock-wrapper/bytes-string.test.d.ts | 2 + .../mock-wrapper/bytes-string.test.d.ts.map | 1 + .../test/mock-wrapper/bytes-string.test.js | 67 ++ .../mock-wrapper/bytes-string.test.js.map | 1 + .../dist/test/mock-wrapper/bytes.test.d.ts | 2 + .../test/mock-wrapper/bytes.test.d.ts.map | 1 + .../dist/test/mock-wrapper/bytes.test.js | 91 ++ .../dist/test/mock-wrapper/bytes.test.js.map | 1 + .../mock-wrapper/corrupted-payload.test.d.ts | 2 + .../corrupted-payload.test.d.ts.map | 1 + .../mock-wrapper/corrupted-payload.test.js | 67 ++ .../corrupted-payload.test.js.map | 1 + .../mock-wrapper/duplicated-feeds.test.d.ts | 2 + .../duplicated-feeds.test.d.ts.map | 1 + .../mock-wrapper/duplicated-feeds.test.js | 69 ++ .../mock-wrapper/duplicated-feeds.test.js.map | 1 + .../dist/test/mock-wrapper/events.test.d.ts | 2 + .../test/mock-wrapper/events.test.d.ts.map | 1 + .../dist/test/mock-wrapper/events.test.js | 26 + .../dist/test/mock-wrapper/events.test.js.map | 1 + .../test/mock-wrapper/long-inputs.test.d.ts | 2 + .../mock-wrapper/long-inputs.test.d.ts.map | 1 + .../test/mock-wrapper/long-inputs.test.js | 31 + .../test/mock-wrapper/long-inputs.test.js.map | 1 + .../numbers-many-data-feeds.test.d.ts | 2 + .../numbers-many-data-feeds.test.d.ts.map | 1 + .../numbers-many-data-feeds.test.js | 105 ++ .../numbers-many-data-feeds.test.js.map | 1 + .../dist/test/mock-wrapper/numbers.test.d.ts | 2 + .../test/mock-wrapper/numbers.test.d.ts.map | 1 + .../dist/test/mock-wrapper/numbers.test.js | 72 ++ .../test/mock-wrapper/numbers.test.js.map | 1 + .../populate-transaction.test.d.ts | 2 + .../populate-transaction.test.d.ts.map | 1 + .../mock-wrapper/populate-transaction.test.js | 31 + .../populate-transaction.test.js.map | 1 + .../proxy-connector-chainable.test.d.ts | 2 + .../proxy-connector-chainable.test.d.ts.map | 1 + .../proxy-connector-chainable.test.js | 76 ++ .../proxy-connector-chainable.test.js.map | 1 + .../mock-wrapper/proxy-connector.test.d.ts | 2 + .../proxy-connector.test.d.ts.map | 1 + .../test/mock-wrapper/proxy-connector.test.js | 91 ++ .../mock-wrapper/proxy-connector.test.js.map | 1 + .../test/mock-wrapper/proxy-storage.test.d.ts | 2 + .../mock-wrapper/proxy-storage.test.d.ts.map | 1 + .../test/mock-wrapper/proxy-storage.test.js | 109 ++ .../mock-wrapper/proxy-storage.test.js.map | 1 + .../mock-wrapper/signer-or-provider.test.d.ts | 2 + .../signer-or-provider.test.d.ts.map | 1 + .../mock-wrapper/signer-or-provider.test.js | 62 ++ .../signer-or-provider.test.js.map | 1 + .../storage-proxy-chainable.test.d.ts | 2 + .../storage-proxy-chainable.test.d.ts.map | 1 + .../storage-proxy-chainable.test.js | 76 ++ .../storage-proxy-chainable.test.js.map | 1 + .../mock-wrapper/synthetic-token.test.d.ts | 2 + .../synthetic-token.test.d.ts.map | 1 + .../test/mock-wrapper/synthetic-token.test.js | 60 ++ .../mock-wrapper/synthetic-token.test.js.map | 1 + .../test/not-wrapped/not-wrapped.test.d.ts | 2 + .../not-wrapped/not-wrapped.test.d.ts.map | 1 + .../dist/test/not-wrapped/not-wrapped.test.js | 17 + .../test/not-wrapped/not-wrapped.test.js.map | 1 + .../on-demand-wrapper/kyd-service.test.d.ts | 2 + .../kyd-service.test.d.ts.map | 1 + .../on-demand-wrapper/kyd-service.test.js | 66 ++ .../on-demand-wrapper/kyd-service.test.js.map | 1 + .../test/on-demand-wrapper/mock-server.d.ts | 2 + .../on-demand-wrapper/mock-server.d.ts.map | 1 + .../test/on-demand-wrapper/mock-server.js | 57 ++ .../test/on-demand-wrapper/mock-server.js.map | 1 + .../simple-mock-numeric.test.d.ts | 2 + .../simple-mock-numeric.test.d.ts.map | 1 + .../simple-mock-numeric.test.js | 56 ++ .../simple-mock-numeric.test.js.map | 1 + .../evm-connector/dist/test/tests-common.d.ts | 19 + .../dist/test/tests-common.d.ts.map | 1 + .../evm-connector/dist/test/tests-common.js | 81 ++ .../dist/test/tests-common.js.map | 1 + .../evm-connector/dist/tsconfig.tsbuildinfo | 1 + .../@chainlink/contracts/index.d.ts | 3 + .../@chainlink/contracts/index.d.ts.map | 1 + .../@chainlink/contracts/index.js | 3 + .../@chainlink/contracts/index.js.map | 1 + .../@chainlink/contracts/src/index.d.ts | 3 + .../@chainlink/contracts/src/index.d.ts.map | 1 + .../@chainlink/contracts/src/index.js | 3 + .../@chainlink/contracts/src/index.js.map | 1 + .../@chainlink/contracts/src/v0.8/index.d.ts | 3 + .../contracts/src/v0.8/index.d.ts.map | 1 + .../@chainlink/contracts/src/v0.8/index.js | 3 + .../contracts/src/v0.8/index.js.map | 1 + .../interfaces/AggregatorV3Interface.d.ts | 147 +++ .../interfaces/AggregatorV3Interface.d.ts.map | 1 + .../v0.8/interfaces/AggregatorV3Interface.js | 3 + .../interfaces/AggregatorV3Interface.js.map | 1 + .../contracts/src/v0.8/interfaces/index.d.ts | 2 + .../src/v0.8/interfaces/index.d.ts.map | 1 + .../contracts/src/v0.8/interfaces/index.js | 3 + .../src/v0.8/interfaces/index.js.map | 1 + .../typechain-types/@chainlink/index.d.ts | 3 + .../typechain-types/@chainlink/index.d.ts.map | 1 + .../dist/typechain-types/@chainlink/index.js | 3 + .../typechain-types/@chainlink/index.js.map | 1 + .../contracts/access/Ownable.d.ts | 90 ++ .../contracts/access/Ownable.d.ts.map | 1 + .../@openzeppelin/contracts/access/Ownable.js | 3 + .../contracts/access/Ownable.js.map | 1 + .../@openzeppelin/contracts/access/index.d.ts | 2 + .../contracts/access/index.d.ts.map | 1 + .../@openzeppelin/contracts/access/index.js | 3 + .../contracts/access/index.js.map | 1 + .../@openzeppelin/contracts/index.d.ts | 5 + .../@openzeppelin/contracts/index.d.ts.map | 1 + .../@openzeppelin/contracts/index.js | 3 + .../@openzeppelin/contracts/index.js.map | 1 + .../contracts/token/ERC20/IERC20.d.ts | 143 +++ .../contracts/token/ERC20/IERC20.d.ts.map | 1 + .../contracts/token/ERC20/IERC20.js | 3 + .../contracts/token/ERC20/IERC20.js.map | 1 + .../ERC20/extensions/IERC20Metadata.d.ts | 167 ++++ .../ERC20/extensions/IERC20Metadata.d.ts.map | 1 + .../token/ERC20/extensions/IERC20Metadata.js | 3 + .../ERC20/extensions/IERC20Metadata.js.map | 1 + .../token/ERC20/extensions/index.d.ts | 2 + .../token/ERC20/extensions/index.d.ts.map | 1 + .../contracts/token/ERC20/extensions/index.js | 3 + .../token/ERC20/extensions/index.js.map | 1 + .../contracts/token/ERC20/index.d.ts | 4 + .../contracts/token/ERC20/index.d.ts.map | 1 + .../contracts/token/ERC20/index.js | 3 + .../contracts/token/ERC20/index.js.map | 1 + .../@openzeppelin/contracts/token/index.d.ts | 3 + .../contracts/token/index.d.ts.map | 1 + .../@openzeppelin/contracts/token/index.js | 3 + .../contracts/token/index.js.map | 1 + .../typechain-types/@openzeppelin/index.d.ts | 3 + .../@openzeppelin/index.d.ts.map | 1 + .../typechain-types/@openzeppelin/index.js | 3 + .../@openzeppelin/index.js.map | 1 + .../dist/typechain-types/common.d.ts | 23 + .../dist/typechain-types/common.d.ts.map | 1 + .../dist/typechain-types/common.js | 3 + .../dist/typechain-types/common.js.map | 1 + .../contracts/core/CalldataExtractor.d.ts | 28 + .../contracts/core/CalldataExtractor.d.ts.map | 1 + .../contracts/core/CalldataExtractor.js | 3 + .../contracts/core/CalldataExtractor.js.map | 1 + .../contracts/core/ProxyConnector.d.ts | 28 + .../contracts/core/ProxyConnector.d.ts.map | 1 + .../contracts/core/ProxyConnector.js | 3 + .../contracts/core/ProxyConnector.js.map | 1 + .../contracts/core/RedstoneConstants.d.ts | 28 + .../contracts/core/RedstoneConstants.d.ts.map | 1 + .../contracts/core/RedstoneConstants.js | 3 + .../contracts/core/RedstoneConstants.js.map | 1 + .../contracts/core/RedstoneConsumerBase.d.ts | 67 ++ .../core/RedstoneConsumerBase.d.ts.map | 1 + .../contracts/core/RedstoneConsumerBase.js | 3 + .../core/RedstoneConsumerBase.js.map | 1 + .../core/RedstoneConsumerBytesBase.d.ts | 77 ++ .../core/RedstoneConsumerBytesBase.d.ts.map | 1 + .../core/RedstoneConsumerBytesBase.js | 3 + .../core/RedstoneConsumerBytesBase.js.map | 1 + .../core/RedstoneConsumerNumericBase.d.ts | 67 ++ .../core/RedstoneConsumerNumericBase.d.ts.map | 1 + .../core/RedstoneConsumerNumericBase.js | 3 + .../core/RedstoneConsumerNumericBase.js.map | 1 + .../contracts/core/RedstoneDefaultsLib.d.ts | 28 + .../core/RedstoneDefaultsLib.d.ts.map | 1 + .../contracts/core/RedstoneDefaultsLib.js | 3 + .../contracts/core/RedstoneDefaultsLib.js.map | 1 + .../typechain-types/contracts/core/index.d.ts | 8 + .../contracts/core/index.d.ts.map | 1 + .../typechain-types/contracts/core/index.js | 3 + .../contracts/core/index.js.map | 1 + .../AvalancheDataServiceConsumerBase.d.ts | 67 ++ .../AvalancheDataServiceConsumerBase.d.ts.map | 1 + .../AvalancheDataServiceConsumerBase.js | 3 + .../AvalancheDataServiceConsumerBase.js.map | 1 + .../data-services/CustomUrlsConsumerBase.d.ts | 67 ++ .../CustomUrlsConsumerBase.d.ts.map | 1 + .../data-services/CustomUrlsConsumerBase.js | 3 + .../CustomUrlsConsumerBase.js.map | 1 + .../data-services/KydServiceConsumerBase.d.ts | 67 ++ .../KydServiceConsumerBase.d.ts.map | 1 + .../data-services/KydServiceConsumerBase.js | 3 + .../KydServiceConsumerBase.js.map | 1 + .../data-services/MainDemoConsumerBase.d.ts | 67 ++ .../MainDemoConsumerBase.d.ts.map | 1 + .../data-services/MainDemoConsumerBase.js | 3 + .../data-services/MainDemoConsumerBase.js.map | 1 + .../data-services/RapidDemoConsumerBase.d.ts | 67 ++ .../RapidDemoConsumerBase.d.ts.map | 1 + .../data-services/RapidDemoConsumerBase.js | 3 + .../RapidDemoConsumerBase.js.map | 1 + .../data-services/StocksDemoConsumerBase.d.ts | 67 ++ .../StocksDemoConsumerBase.d.ts.map | 1 + .../data-services/StocksDemoConsumerBase.js | 3 + .../StocksDemoConsumerBase.js.map | 1 + .../data-services/TwapsDemoConsumerBase.d.ts | 67 ++ .../TwapsDemoConsumerBase.d.ts.map | 1 + .../data-services/TwapsDemoConsumerBase.js | 3 + .../TwapsDemoConsumerBase.js.map | 1 + .../contracts/data-services/index.d.ts | 8 + .../contracts/data-services/index.d.ts.map | 1 + .../contracts/data-services/index.js | 3 + .../contracts/data-services/index.js.map | 1 + .../dist/typechain-types/contracts/index.d.ts | 13 + .../typechain-types/contracts/index.d.ts.map | 1 + .../dist/typechain-types/contracts/index.js | 3 + .../typechain-types/contracts/index.js.map | 1 + .../contracts/libs/NumericArrayLib.d.ts | 28 + .../contracts/libs/NumericArrayLib.d.ts.map | 1 + .../contracts/libs/NumericArrayLib.js | 3 + .../contracts/libs/NumericArrayLib.js.map | 1 + .../typechain-types/contracts/libs/index.d.ts | 2 + .../contracts/libs/index.d.ts.map | 1 + .../typechain-types/contracts/libs/index.js | 3 + .../contracts/libs/index.js.map | 1 + .../mocks/AuthorisedMockSignersBase.d.ts | 59 ++ .../mocks/AuthorisedMockSignersBase.d.ts.map | 1 + .../mocks/AuthorisedMockSignersBase.js | 3 + .../mocks/AuthorisedMockSignersBase.js.map | 1 + .../mocks/PriceFeedsManagerMock.d.ts | 274 +++++ .../mocks/PriceFeedsManagerMock.d.ts.map | 1 + .../contracts/mocks/PriceFeedsManagerMock.js | 3 + .../mocks/PriceFeedsManagerMock.js.map | 1 + .../mocks/RedstoneConsumerBytesMock.d.ts | 101 ++ .../mocks/RedstoneConsumerBytesMock.d.ts.map | 1 + .../mocks/RedstoneConsumerBytesMock.js | 3 + .../mocks/RedstoneConsumerBytesMock.js.map | 1 + .../mocks/RedstoneConsumerNumericMock.d.ts | 91 ++ .../RedstoneConsumerNumericMock.d.ts.map | 1 + .../mocks/RedstoneConsumerNumericMock.js | 3 + .../mocks/RedstoneConsumerNumericMock.js.map | 1 + .../contracts/mocks/index.d.ts | 5 + .../contracts/mocks/index.d.ts.map | 1 + .../typechain-types/contracts/mocks/index.js | 3 + .../contracts/mocks/index.js.map | 1 + .../contracts/price-feeds/CustomErrors.d.ts | 28 + .../price-feeds/CustomErrors.d.ts.map | 1 + .../contracts/price-feeds/CustomErrors.js | 3 + .../contracts/price-feeds/CustomErrors.js.map | 1 + .../contracts/price-feeds/PriceFeed.d.ts | 135 +++ .../contracts/price-feeds/PriceFeed.d.ts.map | 1 + .../contracts/price-feeds/PriceFeed.js | 3 + .../contracts/price-feeds/PriceFeed.js.map | 1 + .../price-feeds/PriceFeedsManager.d.ts | 250 +++++ .../price-feeds/PriceFeedsManager.d.ts.map | 1 + .../price-feeds/PriceFeedsManager.js | 3 + .../price-feeds/PriceFeedsManager.js.map | 1 + .../contracts/price-feeds/index.d.ts | 4 + .../contracts/price-feeds/index.d.ts.map | 1 + .../contracts/price-feeds/index.js | 3 + .../contracts/price-feeds/index.js.map | 1 + .../contracts/samples/SampleBitmapLib.d.ts | 51 + .../samples/SampleBitmapLib.d.ts.map | 1 + .../contracts/samples/SampleBitmapLib.js | 3 + .../contracts/samples/SampleBitmapLib.js.map | 1 + .../samples/SampleDuplicatedDataFeeds.d.ts | 115 +++ .../SampleDuplicatedDataFeeds.d.ts.map | 1 + .../samples/SampleDuplicatedDataFeeds.js | 3 + .../samples/SampleDuplicatedDataFeeds.js.map | 1 + .../samples/SampleKydServiceConsumer.d.ts | 91 ++ .../samples/SampleKydServiceConsumer.d.ts.map | 1 + .../samples/SampleKydServiceConsumer.js | 3 + .../samples/SampleKydServiceConsumer.js.map | 1 + .../samples/SampleNumericArrayLib.d.ts | 99 ++ .../samples/SampleNumericArrayLib.d.ts.map | 1 + .../samples/SampleNumericArrayLib.js | 3 + .../samples/SampleNumericArrayLib.js.map | 1 + .../samples/SampleProxyConnector.d.ts | 99 ++ .../samples/SampleProxyConnector.d.ts.map | 1 + .../contracts/samples/SampleProxyConnector.js | 3 + .../samples/SampleProxyConnector.js.map | 1 + .../SampleRedstoneConsumerBytesMock.d.ts | 133 +++ .../SampleRedstoneConsumerBytesMock.d.ts.map | 1 + .../SampleRedstoneConsumerBytesMock.js | 3 + .../SampleRedstoneConsumerBytesMock.js.map | 1 + ...edstoneConsumerBytesMockManyDataFeeds.d.ts | 133 +++ ...oneConsumerBytesMockManyDataFeeds.d.ts.map | 1 + ...eRedstoneConsumerBytesMockManyDataFeeds.js | 3 + ...stoneConsumerBytesMockManyDataFeeds.js.map | 1 + ...ampleRedstoneConsumerBytesMockStrings.d.ts | 125 +++ ...eRedstoneConsumerBytesMockStrings.d.ts.map | 1 + .../SampleRedstoneConsumerBytesMockStrings.js | 3 + ...pleRedstoneConsumerBytesMockStrings.js.map | 1 + .../SampleRedstoneConsumerNumericMock.d.ts | 179 ++++ ...SampleRedstoneConsumerNumericMock.d.ts.map | 1 + .../SampleRedstoneConsumerNumericMock.js | 3 + .../SampleRedstoneConsumerNumericMock.js.map | 1 + ...stoneConsumerNumericMockManyDataFeeds.d.ts | 123 +++ ...eConsumerNumericMockManyDataFeeds.d.ts.map | 1 + ...edstoneConsumerNumericMockManyDataFeeds.js | 3 + ...oneConsumerNumericMockManyDataFeeds.js.map | 1 + .../samples/SampleRedstoneDefaultsLib.d.ts | 51 + .../SampleRedstoneDefaultsLib.d.ts.map | 1 + .../samples/SampleRedstoneDefaultsLib.js | 3 + .../samples/SampleRedstoneDefaultsLib.js.map | 1 + .../contracts/samples/SampleStorageProxy.d.ts | 261 +++++ .../samples/SampleStorageProxy.d.ts.map | 1 + .../contracts/samples/SampleStorageProxy.js | 3 + .../samples/SampleStorageProxy.js.map | 1 + .../samples/SampleStorageProxyConsumer.d.ts | 67 ++ .../SampleStorageProxyConsumer.d.ts.map | 1 + .../samples/SampleStorageProxyConsumer.js | 3 + .../samples/SampleStorageProxyConsumer.js.map | 1 + .../ERC20Initializable.d.ts | 199 ++++ .../ERC20Initializable.d.ts.map | 1 + .../ERC20Initializable.js | 3 + .../ERC20Initializable.js.map | 1 + .../SampleSyntheticToken.d.ts | 566 +++++++++++ .../SampleSyntheticToken.d.ts.map | 1 + .../SampleSyntheticToken.js | 3 + .../SampleSyntheticToken.js.map | 1 + .../SampleSyntheticToken.sol/index.d.ts | 3 + .../SampleSyntheticToken.sol/index.d.ts.map | 1 + .../samples/SampleSyntheticToken.sol/index.js | 3 + .../SampleSyntheticToken.sol/index.js.map | 1 + .../contracts/samples/SampleWithEvents.d.ts | 120 +++ .../samples/SampleWithEvents.d.ts.map | 1 + .../contracts/samples/SampleWithEvents.js | 3 + .../contracts/samples/SampleWithEvents.js.map | 1 + .../samples/benchmarks/Benchmark.d.ts | 139 +++ .../samples/benchmarks/Benchmark.d.ts.map | 1 + .../contracts/samples/benchmarks/Benchmark.js | 3 + .../samples/benchmarks/Benchmark.js.map | 1 + .../samples/benchmarks/HashCalldataModel.d.ts | 259 +++++ .../benchmarks/HashCalldataModel.d.ts.map | 1 + .../samples/benchmarks/HashCalldataModel.js | 3 + .../benchmarks/HashCalldataModel.js.map | 1 + .../SampleChainableProxyConnector.d.ts | 99 ++ .../SampleChainableProxyConnector.d.ts.map | 1 + .../SampleChainableProxyConnector.js | 3 + .../SampleChainableProxyConnector.js.map | 1 + .../SampleChainableStorageProxy.d.ts | 211 ++++ .../SampleChainableStorageProxy.d.ts.map | 1 + .../benchmarks/SampleChainableStorageProxy.js | 3 + .../SampleChainableStorageProxy.js.map | 1 + .../SampleChainableStorageProxyConsumer.d.ts | 91 ++ ...mpleChainableStorageProxyConsumer.d.ts.map | 1 + .../SampleChainableStorageProxyConsumer.js | 3 + ...SampleChainableStorageProxyConsumer.js.map | 1 + .../SampleProxyConnectorConsumer.d.ts | 235 +++++ .../SampleProxyConnectorConsumer.d.ts.map | 1 + .../SampleProxyConnectorConsumer.js | 3 + .../SampleProxyConnectorConsumer.js.map | 1 + .../benchmarks/StorageStructureModel.d.ts | 410 ++++++++ .../benchmarks/StorageStructureModel.d.ts.map | 1 + .../benchmarks/StorageStructureModel.js | 3 + .../benchmarks/StorageStructureModel.js.map | 1 + .../contracts/samples/benchmarks/index.d.ts | 8 + .../samples/benchmarks/index.d.ts.map | 1 + .../contracts/samples/benchmarks/index.js | 3 + .../contracts/samples/benchmarks/index.js.map | 1 + .../contracts/samples/index.d.ts | 19 + .../contracts/samples/index.d.ts.map | 1 + .../contracts/samples/index.js | 3 + .../contracts/samples/index.js.map | 1 + .../factories/@chainlink/contracts/index.d.ts | 2 + .../@chainlink/contracts/index.d.ts.map | 1 + .../factories/@chainlink/contracts/index.js | 31 + .../@chainlink/contracts/index.js.map | 1 + .../@chainlink/contracts/src/index.d.ts | 2 + .../@chainlink/contracts/src/index.d.ts.map | 1 + .../@chainlink/contracts/src/index.js | 31 + .../@chainlink/contracts/src/index.js.map | 1 + .../@chainlink/contracts/src/v0.8/index.d.ts | 2 + .../contracts/src/v0.8/index.d.ts.map | 1 + .../@chainlink/contracts/src/v0.8/index.js | 31 + .../contracts/src/v0.8/index.js.map | 1 + .../AggregatorV3Interface__factory.d.ts | 23 + .../AggregatorV3Interface__factory.d.ts.map | 1 + .../AggregatorV3Interface__factory.js | 131 +++ .../AggregatorV3Interface__factory.js.map | 1 + .../contracts/src/v0.8/interfaces/index.d.ts | 2 + .../src/v0.8/interfaces/index.d.ts.map | 1 + .../contracts/src/v0.8/interfaces/index.js | 9 + .../src/v0.8/interfaces/index.js.map | 1 + .../factories/@chainlink/index.d.ts | 2 + .../factories/@chainlink/index.d.ts.map | 1 + .../factories/@chainlink/index.js | 31 + .../factories/@chainlink/index.js.map | 1 + .../contracts/access/Ownable__factory.d.ts | 43 + .../access/Ownable__factory.d.ts.map | 1 + .../contracts/access/Ownable__factory.js | 72 ++ .../contracts/access/Ownable__factory.js.map | 1 + .../@openzeppelin/contracts/access/index.d.ts | 2 + .../contracts/access/index.d.ts.map | 1 + .../@openzeppelin/contracts/access/index.js | 9 + .../contracts/access/index.js.map | 1 + .../@openzeppelin/contracts/index.d.ts | 3 + .../@openzeppelin/contracts/index.d.ts.map | 1 + .../@openzeppelin/contracts/index.js | 32 + .../@openzeppelin/contracts/index.js.map | 1 + .../token/ERC20/IERC20__factory.d.ts | 36 + .../token/ERC20/IERC20__factory.d.ts.map | 1 + .../contracts/token/ERC20/IERC20__factory.js | 203 ++++ .../token/ERC20/IERC20__factory.js.map | 1 + .../extensions/IERC20Metadata__factory.d.ts | 36 + .../IERC20Metadata__factory.d.ts.map | 1 + .../extensions/IERC20Metadata__factory.js | 242 +++++ .../extensions/IERC20Metadata__factory.js.map | 1 + .../token/ERC20/extensions/index.d.ts | 2 + .../token/ERC20/extensions/index.d.ts.map | 1 + .../contracts/token/ERC20/extensions/index.js | 9 + .../token/ERC20/extensions/index.js.map | 1 + .../contracts/token/ERC20/index.d.ts | 3 + .../contracts/token/ERC20/index.d.ts.map | 1 + .../contracts/token/ERC20/index.js | 33 + .../contracts/token/ERC20/index.js.map | 1 + .../@openzeppelin/contracts/token/index.d.ts | 2 + .../contracts/token/index.d.ts.map | 1 + .../@openzeppelin/contracts/token/index.js | 31 + .../contracts/token/index.js.map | 1 + .../factories/@openzeppelin/index.d.ts | 2 + .../factories/@openzeppelin/index.d.ts.map | 1 + .../factories/@openzeppelin/index.js | 31 + .../factories/@openzeppelin/index.js.map | 1 + .../core/CalldataExtractor__factory.d.ts | 30 + .../core/CalldataExtractor__factory.d.ts.map | 1 + .../core/CalldataExtractor__factory.js | 100 ++ .../core/CalldataExtractor__factory.js.map | 1 + .../core/ProxyConnector__factory.d.ts | 30 + .../core/ProxyConnector__factory.d.ts.map | 1 + .../contracts/core/ProxyConnector__factory.js | 127 +++ .../core/ProxyConnector__factory.js.map | 1 + .../core/RedstoneConstants__factory.d.ts | 30 + .../core/RedstoneConstants__factory.d.ts.map | 1 + .../core/RedstoneConstants__factory.js | 100 ++ .../core/RedstoneConstants__factory.js.map | 1 + .../core/RedstoneConsumerBase__factory.d.ts | 33 + .../RedstoneConsumerBase__factory.d.ts.map | 1 + .../core/RedstoneConsumerBase__factory.js | 178 ++++ .../core/RedstoneConsumerBase__factory.js.map | 1 + .../RedstoneConsumerBytesBase__factory.d.ts | 33 + ...edstoneConsumerBytesBase__factory.d.ts.map | 1 + .../RedstoneConsumerBytesBase__factory.js | 192 ++++ .../RedstoneConsumerBytesBase__factory.js.map | 1 + .../RedstoneConsumerNumericBase__factory.d.ts | 33 + ...stoneConsumerNumericBase__factory.d.ts.map | 1 + .../RedstoneConsumerNumericBase__factory.js | 178 ++++ ...edstoneConsumerNumericBase__factory.js.map | 1 + .../core/RedstoneDefaultsLib__factory.d.ts | 30 + .../RedstoneDefaultsLib__factory.d.ts.map | 1 + .../core/RedstoneDefaultsLib__factory.js | 75 ++ .../core/RedstoneDefaultsLib__factory.js.map | 1 + .../factories/contracts/core/index.d.ts | 8 + .../factories/contracts/core/index.d.ts.map | 1 + .../factories/contracts/core/index.js | 21 + .../factories/contracts/core/index.js.map | 1 + ...ancheDataServiceConsumerBase__factory.d.ts | 46 + ...eDataServiceConsumerBase__factory.d.ts.map | 1 + ...alancheDataServiceConsumerBase__factory.js | 201 ++++ ...cheDataServiceConsumerBase__factory.js.map | 1 + .../CustomUrlsConsumerBase__factory.d.ts | 46 + .../CustomUrlsConsumerBase__factory.d.ts.map | 1 + .../CustomUrlsConsumerBase__factory.js | 201 ++++ .../CustomUrlsConsumerBase__factory.js.map | 1 + .../KydServiceConsumerBase__factory.d.ts | 46 + .../KydServiceConsumerBase__factory.d.ts.map | 1 + .../KydServiceConsumerBase__factory.js | 206 ++++ .../KydServiceConsumerBase__factory.js.map | 1 + .../MainDemoConsumerBase__factory.d.ts | 46 + .../MainDemoConsumerBase__factory.d.ts.map | 1 + .../MainDemoConsumerBase__factory.js | 201 ++++ .../MainDemoConsumerBase__factory.js.map | 1 + .../RapidDemoConsumerBase__factory.d.ts | 46 + .../RapidDemoConsumerBase__factory.d.ts.map | 1 + .../RapidDemoConsumerBase__factory.js | 201 ++++ .../RapidDemoConsumerBase__factory.js.map | 1 + .../StocksDemoConsumerBase__factory.d.ts | 46 + .../StocksDemoConsumerBase__factory.d.ts.map | 1 + .../StocksDemoConsumerBase__factory.js | 201 ++++ .../StocksDemoConsumerBase__factory.js.map | 1 + .../TwapsDemoConsumerBase__factory.d.ts | 46 + .../TwapsDemoConsumerBase__factory.d.ts.map | 1 + .../TwapsDemoConsumerBase__factory.js | 201 ++++ .../TwapsDemoConsumerBase__factory.js.map | 1 + .../contracts/data-services/index.d.ts | 8 + .../contracts/data-services/index.d.ts.map | 1 + .../contracts/data-services/index.js | 21 + .../contracts/data-services/index.js.map | 1 + .../factories/contracts/index.d.ts | 7 + .../factories/contracts/index.d.ts.map | 1 + .../factories/contracts/index.js | 36 + .../factories/contracts/index.js.map | 1 + .../libs/NumericArrayLib__factory.d.ts | 26 + .../libs/NumericArrayLib__factory.d.ts.map | 1 + .../libs/NumericArrayLib__factory.js | 48 + .../libs/NumericArrayLib__factory.js.map | 1 + .../factories/contracts/libs/index.d.ts | 2 + .../factories/contracts/libs/index.d.ts.map | 1 + .../factories/contracts/libs/index.js | 9 + .../factories/contracts/libs/index.js.map | 1 + .../AuthorisedMockSignersBase__factory.d.ts | 33 + ...uthorisedMockSignersBase__factory.d.ts.map | 1 + .../AuthorisedMockSignersBase__factory.js | 134 +++ .../AuthorisedMockSignersBase__factory.js.map | 1 + .../mocks/PriceFeedsManagerMock__factory.d.ts | 71 ++ .../PriceFeedsManagerMock__factory.d.ts.map | 1 + .../mocks/PriceFeedsManagerMock__factory.js | 550 ++++++++++ .../PriceFeedsManagerMock__factory.js.map | 1 + .../RedstoneConsumerBytesMock__factory.d.ts | 46 + ...edstoneConsumerBytesMock__factory.d.ts.map | 1 + .../RedstoneConsumerBytesMock__factory.js | 245 +++++ .../RedstoneConsumerBytesMock__factory.js.map | 1 + .../RedstoneConsumerNumericMock__factory.d.ts | 46 + ...stoneConsumerNumericMock__factory.d.ts.map | 1 + .../RedstoneConsumerNumericMock__factory.js | 231 +++++ ...edstoneConsumerNumericMock__factory.js.map | 1 + .../factories/contracts/mocks/index.d.ts | 5 + .../factories/contracts/mocks/index.d.ts.map | 1 + .../factories/contracts/mocks/index.js | 15 + .../factories/contracts/mocks/index.js.map | 1 + .../price-feeds/CustomErrors__factory.d.ts | 30 + .../CustomErrors__factory.d.ts.map | 1 + .../price-feeds/CustomErrors__factory.js | 91 ++ .../price-feeds/CustomErrors__factory.js.map | 1 + .../price-feeds/PriceFeed__factory.d.ts | 52 + .../price-feeds/PriceFeed__factory.d.ts.map | 1 + .../price-feeds/PriceFeed__factory.js | 219 ++++ .../price-feeds/PriceFeed__factory.js.map | 1 + .../PriceFeedsManager__factory.d.ts | 71 ++ .../PriceFeedsManager__factory.d.ts.map | 1 + .../price-feeds/PriceFeedsManager__factory.js | 493 +++++++++ .../PriceFeedsManager__factory.js.map | 1 + .../contracts/price-feeds/index.d.ts | 4 + .../contracts/price-feeds/index.d.ts.map | 1 + .../factories/contracts/price-feeds/index.js | 13 + .../contracts/price-feeds/index.js.map | 1 + .../samples/SampleBitmapLib__factory.d.ts | 36 + .../samples/SampleBitmapLib__factory.d.ts.map | 1 + .../samples/SampleBitmapLib__factory.js | 91 ++ .../samples/SampleBitmapLib__factory.js.map | 1 + .../SampleDuplicatedDataFeeds__factory.d.ts | 46 + ...ampleDuplicatedDataFeeds__factory.d.ts.map | 1 + .../SampleDuplicatedDataFeeds__factory.js | 257 +++++ .../SampleDuplicatedDataFeeds__factory.js.map | 1 + .../SampleKydServiceConsumer__factory.d.ts | 46 + ...SampleKydServiceConsumer__factory.d.ts.map | 1 + .../SampleKydServiceConsumer__factory.js | 237 +++++ .../SampleKydServiceConsumer__factory.js.map | 1 + .../SampleNumericArrayLib__factory.d.ts | 48 + .../SampleNumericArrayLib__factory.d.ts.map | 1 + .../samples/SampleNumericArrayLib__factory.js | 113 +++ .../SampleNumericArrayLib__factory.js.map | 1 + .../SampleProxyConnector__factory.d.ts | 52 + .../SampleProxyConnector__factory.d.ts.map | 1 + .../samples/SampleProxyConnector__factory.js | 228 +++++ .../SampleProxyConnector__factory.js.map | 1 + ...nsumerBytesMockManyDataFeeds__factory.d.ts | 46 + ...erBytesMockManyDataFeeds__factory.d.ts.map | 1 + ...ConsumerBytesMockManyDataFeeds__factory.js | 284 ++++++ ...umerBytesMockManyDataFeeds__factory.js.map | 1 + ...toneConsumerBytesMockStrings__factory.d.ts | 46 + ...ConsumerBytesMockStrings__factory.d.ts.map | 1 + ...dstoneConsumerBytesMockStrings__factory.js | 271 +++++ ...neConsumerBytesMockStrings__factory.js.map | 1 + ...pleRedstoneConsumerBytesMock__factory.d.ts | 46 + ...edstoneConsumerBytesMock__factory.d.ts.map | 1 + ...ampleRedstoneConsumerBytesMock__factory.js | 295 ++++++ ...eRedstoneConsumerBytesMock__factory.js.map | 1 + ...umerNumericMockManyDataFeeds__factory.d.ts | 46 + ...NumericMockManyDataFeeds__factory.d.ts.map | 1 + ...nsumerNumericMockManyDataFeeds__factory.js | 270 +++++ ...erNumericMockManyDataFeeds__factory.js.map | 1 + ...eRedstoneConsumerNumericMock__factory.d.ts | 46 + ...stoneConsumerNumericMock__factory.d.ts.map | 1 + ...pleRedstoneConsumerNumericMock__factory.js | 371 +++++++ ...edstoneConsumerNumericMock__factory.js.map | 1 + .../SampleRedstoneDefaultsLib__factory.d.ts | 46 + ...ampleRedstoneDefaultsLib__factory.d.ts.map | 1 + .../SampleRedstoneDefaultsLib__factory.js | 112 +++ .../SampleRedstoneDefaultsLib__factory.js.map | 1 + .../SampleStorageProxyConsumer__factory.d.ts | 52 + ...mpleStorageProxyConsumer__factory.d.ts.map | 1 + .../SampleStorageProxyConsumer__factory.js | 133 +++ ...SampleStorageProxyConsumer__factory.js.map | 1 + .../samples/SampleStorageProxy__factory.d.ts | 65 ++ .../SampleStorageProxy__factory.d.ts.map | 1 + .../samples/SampleStorageProxy__factory.js | 458 +++++++++ .../SampleStorageProxy__factory.js.map | 1 + .../ERC20Initializable__factory.d.ts | 49 + .../ERC20Initializable__factory.d.ts.map | 1 + .../ERC20Initializable__factory.js | 313 ++++++ .../ERC20Initializable__factory.js.map | 1 + .../SampleSyntheticToken__factory.d.ts | 60 ++ .../SampleSyntheticToken__factory.d.ts.map | 1 + .../SampleSyntheticToken__factory.js | 946 ++++++++++++++++++ .../SampleSyntheticToken__factory.js.map | 1 + .../SampleSyntheticToken.sol/index.d.ts | 3 + .../SampleSyntheticToken.sol/index.d.ts.map | 1 + .../samples/SampleSyntheticToken.sol/index.js | 11 + .../SampleSyntheticToken.sol/index.js.map | 1 + .../samples/SampleWithEvents__factory.d.ts | 60 ++ .../SampleWithEvents__factory.d.ts.map | 1 + .../samples/SampleWithEvents__factory.js | 251 +++++ .../samples/SampleWithEvents__factory.js.map | 1 + .../benchmarks/Benchmark__factory.d.ts | 46 + .../benchmarks/Benchmark__factory.d.ts.map | 1 + .../samples/benchmarks/Benchmark__factory.js | 270 +++++ .../benchmarks/Benchmark__factory.js.map | 1 + .../HashCalldataModel__factory.d.ts | 46 + .../HashCalldataModel__factory.d.ts.map | 1 + .../benchmarks/HashCalldataModel__factory.js | 539 ++++++++++ .../HashCalldataModel__factory.js.map | 1 + ...ampleChainableProxyConnector__factory.d.ts | 42 + ...eChainableProxyConnector__factory.d.ts.map | 1 + .../SampleChainableProxyConnector__factory.js | 179 ++++ ...pleChainableProxyConnector__factory.js.map | 1 + ...hainableStorageProxyConsumer__factory.d.ts | 58 ++ ...ableStorageProxyConsumer__factory.d.ts.map | 1 + ...eChainableStorageProxyConsumer__factory.js | 111 ++ ...inableStorageProxyConsumer__factory.js.map | 1 + .../SampleChainableStorageProxy__factory.d.ts | 46 + ...pleChainableStorageProxy__factory.d.ts.map | 1 + .../SampleChainableStorageProxy__factory.js | 366 +++++++ ...ampleChainableStorageProxy__factory.js.map | 1 + ...SampleProxyConnectorConsumer__factory.d.ts | 46 + ...leProxyConnectorConsumer__factory.d.ts.map | 1 + .../SampleProxyConnectorConsumer__factory.js | 423 ++++++++ ...mpleProxyConnectorConsumer__factory.js.map | 1 + .../StorageStructureModel__factory.d.ts | 46 + .../StorageStructureModel__factory.d.ts.map | 1 + .../StorageStructureModel__factory.js | 577 +++++++++++ .../StorageStructureModel__factory.js.map | 1 + .../contracts/samples/benchmarks/index.d.ts | 8 + .../samples/benchmarks/index.d.ts.map | 1 + .../contracts/samples/benchmarks/index.js | 21 + .../contracts/samples/benchmarks/index.js.map | 1 + .../factories/contracts/samples/index.d.ts | 17 + .../contracts/samples/index.d.ts.map | 1 + .../factories/contracts/samples/index.js | 60 ++ .../factories/contracts/samples/index.js.map | 1 + .../dist/typechain-types/factories/index.d.ts | 4 + .../typechain-types/factories/index.d.ts.map | 1 + .../dist/typechain-types/factories/index.js | 33 + .../typechain-types/factories/index.js.map | 1 + .../dist/typechain-types/index.d.ts | 106 ++ .../dist/typechain-types/index.d.ts.map | 1 + .../dist/typechain-types/index.js | 126 +++ .../dist/typechain-types/index.js.map | 1 + .../evm-connector/package.json | 49 + src/v2/Controllers/RedstoneProvider.sol | 17 +- 779 files changed, 27948 insertions(+), 11 deletions(-) create mode 100644 lib/redstone-finance/evm-connector/README.md create mode 100644 lib/redstone-finance/evm-connector/contracts/.DS_Store create mode 100644 lib/redstone-finance/evm-connector/contracts/core/CalldataExtractor.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/core/ProxyConnector.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/core/RedstoneConstants.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBytesBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerNumericBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/core/RedstoneDefaultsLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/data-services/AvalancheDataServiceConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/data-services/CustomUrlsConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/data-services/KydServiceConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/data-services/MainDemoConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/data-services/StocksDemoConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/data-services/TwapsDemoConsumerBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/libs/BitmapLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/libs/HardhatLoggerLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/libs/NumbersLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/libs/NumericArrayLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/libs/SignatureLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/mocks/AuthorisedMockSignersBase.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerBytesMock.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerNumericMock.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleBitmapLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleDuplicatedDataFeeds.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleKydServiceConsumer.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleNumericArrayLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleProxyConnector.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMock.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockStrings.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMock.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneDefaultsLib.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxy.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxyConsumer.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleSyntheticToken.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/SampleWithEvents.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/benchmarks/Benchmark.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/benchmarks/HashCalldataModel.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableProxyConnector.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxy.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleProxyConnectorConsumer.sol create mode 100644 lib/redstone-finance/evm-connector/contracts/samples/benchmarks/StorageStructureModel.sol create mode 100644 lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/hardhat.config.js create mode 100644 lib/redstone-finance/evm-connector/dist/hardhat.config.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/package.json create mode 100644 lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js create mode 100644 lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/test/tests-common.js create mode 100644 lib/redstone-finance/evm-connector/dist/test/tests-common.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/tsconfig.tsbuildinfo create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/common.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/common.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts.map create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/index.js create mode 100644 lib/redstone-finance/evm-connector/dist/typechain-types/index.js.map create mode 100644 lib/redstone-finance/evm-connector/package.json diff --git a/foundry.toml b/foundry.toml index 8c0c04a9..9a05a5b5 100644 --- a/foundry.toml +++ b/foundry.toml @@ -5,7 +5,7 @@ libs = ['lib'] test = 'test/V2' -remappings = ["@openzeppelin/=lib/openzeppelin-contracts/","@chainlink=lib/chainlink/contracts/src/v0.8","@solmate=lib/solmate/src"] +remappings = ["@openzeppelin/=lib/openzeppelin-contracts/","@chainlink=lib/chainlink/contracts/src/v0.8","@solmate=lib/solmate/src","@redstone-finance=lib/redstone-finance"] fs_permissions = [{ access = "read", path = "./"}] # See more config options https://github.com/foundry-rs/foundry/tree/master/config diff --git a/lib/redstone-finance/evm-connector/README.md b/lib/redstone-finance/evm-connector/README.md new file mode 100644 index 00000000..6e972628 --- /dev/null +++ b/lib/redstone-finance/evm-connector/README.md @@ -0,0 +1,267 @@ +# 🔗 @redstone-finance/evm-connector + +[![License](https://img.shields.io/badge/license-MIT-green)](https://choosealicense.com/licenses/mit/) +[![Discord](https://img.shields.io/discord/786251205008949258?logo=discord)](https://discord.gg/2CT6hN6C) +[![NPM](https://img.shields.io/npm/v/@redstone-finance/evm-connector)](https://www.npmjs.com/package/@redstone-finance/evm-connector) +[![Twitter](https://img.shields.io/twitter/follow/redstone_defi?style=flat&logo=twitter)](https://twitter.com/intent/follow?screen_name=limestone_defi) + +The @redstone-finance/evm-connector module implements an alternative design of providing oracle data to smart contracts. Instead of constantly persisting data on EVM storage (by data providers), the information is brought on-chain only when needed (by end users). Until that moment data remains in the decentralised cache layer, which is powered by RedStone light cache gateways and streamr data broadcasting protocol. Data is transferred to the EVM by end users, who should attach signed data packages to their transaction calldata. The information integrity is verified on-chain through signature checking. + +- [🚀 Working demo](#---working-demo) +- [📦 Installation](#---installation) +- [🔥 Getting started](#---getting-started) + - [1. Modifying your contracts](#1-modifying-your-contracts) + - [2. Updating the interface](#2-updating-the-interface) + - [Contract object wrapping](#contract-object-wrapping) +- [💡 How it works](#---how-it-works) + - [Storage-less approach](#storage-less-approach) + - [Data packing (off-chain data encoding)](#data-packing--off-chain-data-encoding-) + - [Data unpacking (on-chain data verification)](#data-unpacking--on-chain-data-verification-) + - [On-chain aggregation](#on-chain-aggregation) + - [Types of values](#types-of-values) + - [Security considerations](#security-considerations) + - [Recommendations](#recommendations) + - [Benchmarks](#benchmarks) + - [Gas report for 1 unique signer:](#gas-report-for-1-unique-signer-) + - [Gas report for 10 unique signers:](#gas-report-for-10-unique-signers-) +- [👨‍💻 Development and contributions](#------development-and-contributions) + - [Installing the dependencies](#installing-the-dependencies) + - [Compiling and running the tests](#compiling-and-running-the-tests) +- [📄 License](#---license) + + +## 🚀 Working demo + +- See a bunch of smart contract examples that use the evm-connector in our [dedicated repo with examples](https://github.com/redstone-finance/redstone-evm-examples) + +## 📦 Installation + +Install [@redstone-finance/evm-connector](https://www.npmjs.com/package/@redstone-finance/evm-connector) from NPM registry + +```bash +# Using yarn +yarn add @redstone-finance/evm-connector + +# Using NPM +npm install @redstone-finance/evm-connector +``` + +## 🔥 Getting started + +### 1. Modifying your contracts + +You need to apply a minimum change to the source code to enable smart contract to access data. Your contract needs to extend one of our custom base contracts, which are located in the [contracts/data-services](./contracts/data-services) folder. + +We strongly recommend you to have some upgradability mechanism for your contracts (it can be based on multisig, DAO, or anything else). This way, you can quickly switch to the latest trusted data providers in case of changes or problems with the current providers. + +```js +import "@redstone-finance/evm-connector/dist/contracts/data-services/AvalancheDataServiceConsumerBase.sol"; + +contract YourContractName is AvalancheDataServiceConsumerBase { + ... +} +``` + +💡 Note: You can also override the following functions (do it on your own risk): + +- `validateTimestamp(uint256 receivedTimestampMilliseconds)` - to enable custom logic of timestamp validation +- `aggregateValues(uint256[] memory values) returns (uint256)` - to enable custom logic of aggregating values from different providers (by default this function takes the median value) +- `getAuthorisedSignerIndex(address _signerAddress) returns (uint8)` function and `getUniqueSignersThreshold() returns (uint8)` function - to enable custom logic of signers authorisation + +After applying the mentioned change you will be able to access the data calling the local `getOracleNumericValueFromTxMsg` function. You should pass the data feed id converted to `bytes32`. + +```js +// Getting a single value +uint256 ethPrice = getOracleNumericValueFromTxMsg(bytes32("ETH")); + +// Getting several values +bytes32[] memory dataFeedIds = new bytes32[](2); +dataFeedIds[0] = bytes32("ETH"); +dataFeedIds[1] = bytes32("BTC"); +uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); +uint256 ethPrice = values[0]; +uint256 btcPrice = values[1]; +``` + +You can see all available data feeds [in our web app.](https://app.redstone.finance) + +### 2. Updating the interface + +You should also update the code responsible for submitting transactions. If you're using [ethers.js](https://github.com/ethers-io/ethers.js/), we've prepared a dedicated library to make the transition seamless. + +#### Contract object wrapping + +First, you need to import the wrapper code to your project + +```ts +// Typescript +import { WrapperBuilder } from "@redstone-finance/evm-connector"; + +// Javascript +const { WrapperBuilder } = require("@redstone-finance/evm-connector"); +``` + +Then you can wrap your ethers contract pointing to the selected [redstone data service](https://app.redstone.finance) and requested data feeds. + +```js +const yourEthersContract = new ethers.Contract(address, abi, provider); + +// Connecting all provider's prices (consumes more GAS) +const wrappedContract = WrapperBuilder + .wrap(yourEthersContract) + .usingDataService({ + dataServiceId: "avalanche-main-data-service" + uniqueSignersCount: 10, + dataFeeds: ["ETH", "AVAX", "BTC"] + }); + +``` + +Now you can access any of the contract's methods in exactly the same way as interacting with the ethers-js code: + +```js +wrappedContract.executeYourMethod(arg1, arg2); +``` + +It's also possible to request pure bytes data. Take a look at [bytes-many-data-feeds.test.ts](./test/mock-wrapper/bytes-many-data-feeds.test.ts) to learn more. + +## 💡 How it works + +### Storage-less approach + +Putting data directly into storage is the easiest to make information accessible to smart contracts. However, the convenience comes at a high price, as the storage access is the most costly operation in [EVM](https://ethereum.github.io/yellowpaper/paper.pdf) (20k gas for 256bit word ~ $160k for 1Mb checked 30/08/2021) making it prohibitively expensive to use. + +That's why, Redstone proposes a completely new storage-less approach. + +At a top level, transferring data to an EVM environment requires packing an extra payload to a user's transaction and processing the message on-chain. + +[![image.png](https://i.postimg.cc/5NZSqtFT/image.png)](https://postimg.cc/xc3m9n53) + +#### Data packing (off-chain data encoding) + +1. Relevant data needs to be fetched from the decentralized cache layer, powered by the [streamr network](https://streamr.network/) and the RedStone light cache nodes +2. Data is packed into a message according to the following structure + +![redstone-tx-payload-improved-2](https://user-images.githubusercontent.com/48165439/196044365-8cb3e020-56f4-46cd-b058-105772aca3a5.png) + + + +3. The package is appended to the original transaction message, signed and submitted to the network + +_All of the steps are executed automatically by the ContractWrapper and transparent to the end-user_ + +#### Data unpacking (on-chain data verification) + +1. The appended data packages are extracted from the `msg.data` +2. For each data package we: + - Verify if the signature was created by trusted provider + - Validate the timestamp, checking if the information is not obsolete +3. Then, for each requested data feed we: + - Calculate the number of received unique signers + - Extract value for each unique signer + - Calculate the aggregated value (median by default) + +_This logic is executed in the on-chain environment and we optimised the execution using a low-level assembly code to reduce gas consumption to the absolute minimum_ + +### On-chain aggregation + +To increase the security of the Redstone oracle system, we've created the on-chain aggregation mechanism. This mechanism adds an additional requirement of passing at least X signatures from different authorised data providers for a given data feed. The values of different providers are then aggregated before returning to a consumer contract (by default, we use median value calculation for aggregation). This way, even if some small subset of providers corrupt (e.g. 2 of 10), it should not significantly affect the aggregated value. + +There are the following on-chain aggregation params in Redstone consumer base contract: + +- `getUniqueSignersThreshold` function +- `getAuthorisedSignerIndex` function +- `aggregateValues` function (for numeric values) +- `aggregateByteValues` function (for bytes arrays) + +### Types of values + +We support 2 types of data to be received in contract: + +1. Numeric 256-bit values (used by default) +2. Bytes arrays with dynamic size + +### Security considerations + +- Do not modify the `getUniqueSignersThreshold` function, unless you 100% sure about it +- Pay attention to the timestamp validation logic. For some use-cases (e.g. synthetic DEX), you would need to cache the latest values in your contract storage to avoid arbitrage attacks +- Enable secure upgradability mechanism for your contract (ideally based on multi-sig or DAO) +- Monitor the Redstone data services registry and quickly modify signer authorisation logic in your contracts in case of changes (we will also notify you if you are a paying client) + +### Recommendations + +- Try to design your contracts in a way where you don't need to request many data feeds in the same transaction +- Use ~10 required unique signers for a good balance between security and gas cost efficiency + +### Benchmarks + +You can check the benchmarks script and reports in the [benchmarks](./benchmarks) folder. + +#### Gas report for 1 unique signer: + +```js +{ + "1 data feed": { + "attaching to calldata": 1840, + "data extraction and validation": 10782 + }, + "2 data feeds": { + "attaching to calldata": 3380, + "data extraction and validation": 18657 + }, + "10 data feeds": { + "attaching to calldata": 15832, + "data extraction and validation": 95539 + }, +} +``` + +#### Gas report for 10 unique signers: + +```js +{ + "1 data feed": { + "attaching to calldata": 15796, + "data extraction and validation": 72828 + }, + "2 data feeds": { + "attaching to calldata": 31256, + "data extraction and validation": 146223 + }, + "10 data feeds": { + "attaching to calldata": 156148, + "data extraction and validation": 872336 + }, + "20 data feeds": { + "attaching to calldata": 313340, + "data extraction and validation": 2127313 + } +} +``` + +## 👨‍💻 Development and contributions + +The codebase consists of a wrapper written in typescript which is responsible for packing the data and solidity smart contracts that extract the information. We encourage anyone to build and test the code and we welcome any issues with suggestions and pull requests. + +### Installing the dependencies + +```bash +yarn install +``` + +### Compiling and running the tests + +```bash +yarn test +``` + +## 📄 License + +Redstone EVM connector is an open-source and free software released under the BUSL-1.1 License. diff --git a/lib/redstone-finance/evm-connector/contracts/.DS_Store b/lib/redstone-finance/evm-connector/contracts/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..122ee3647e672f606381687c7011cd63035f0fd8 GIT binary patch literal 6148 zcmeHK!H&}~5FK~B)X{214@m3gT7%Q`mF z0}3AFBv;coS25Z=ptHYU0p7bVO-a$5(#HNhK;P}}+Vny;ym(p8>^^^qXL(ju!{Jxa z+3D_H=}9T~GoC0kH>`^H9 z+FdT<6mSas=L+!o;KLaMi?u<0bfC~r0ALqkZK&%{f1u9+U|_K}hzLxWRG>)}_K6|v z%R!iQ^aqw-8#L)8^voE?&MfQ;Mc9Xj@HL%8V9=FL0jI#W0z0PJ=llQB@8AF1Nv`D- za0>iW3W)A;cs#+9?A_X09N)D*{0z>c2gUeU(0bCp6K39N&#o8buF!v## MWpIU4;EyWs11zbI+W-In literal 0 HcmV?d00001 diff --git a/lib/redstone-finance/evm-connector/contracts/core/CalldataExtractor.sol b/lib/redstone-finance/evm-connector/contracts/core/CalldataExtractor.sol new file mode 100644 index 00000000..1dbac004 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/core/CalldataExtractor.sol @@ -0,0 +1,113 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "@openzeppelin/contracts/utils/math/SafeMath.sol"; + +import "./RedstoneConstants.sol"; + +/** + * @title The base contract with the main logic of data extraction from calldata + * @author The Redstone Oracles team + * @dev This contract was created to reuse the same logic in the RedstoneConsumerBase + * and the ProxyConnector contracts + */ +contract CalldataExtractor is RedstoneConstants { + using SafeMath for uint256; + + function _extractByteSizeOfUnsignedMetadata() internal pure returns (uint256) { + // Checking if the calldata ends with the RedStone marker + bool hasValidRedstoneMarker; + assembly { + let calldataLast32Bytes := calldataload(sub(calldatasize(), STANDARD_SLOT_BS)) + hasValidRedstoneMarker := eq( + REDSTONE_MARKER_MASK, + and(calldataLast32Bytes, REDSTONE_MARKER_MASK) + ) + } + if (!hasValidRedstoneMarker) { + revert CalldataMustHaveValidPayload(); + } + + // Using uint24, because unsigned metadata byte size number has 3 bytes + uint24 unsignedMetadataByteSize; + if (REDSTONE_MARKER_BS_PLUS_STANDARD_SLOT_BS > msg.data.length) { + revert CalldataOverOrUnderFlow(); + } + assembly { + unsignedMetadataByteSize := calldataload( + sub(calldatasize(), REDSTONE_MARKER_BS_PLUS_STANDARD_SLOT_BS) + ) + } + uint256 calldataNegativeOffset = unsignedMetadataByteSize + + UNSIGNED_METADATA_BYTE_SIZE_BS + + REDSTONE_MARKER_BS; + if (calldataNegativeOffset + DATA_PACKAGES_COUNT_BS > msg.data.length) { + revert IncorrectUnsignedMetadataSize(); + } + return calldataNegativeOffset; + } + + // We return uint16, because unsigned metadata byte size number has 2 bytes + function _extractDataPackagesCountFromCalldata(uint256 calldataNegativeOffset) + internal + pure + returns (uint16 dataPackagesCount) + { + uint256 calldataNegativeOffsetWithStandardSlot = calldataNegativeOffset + STANDARD_SLOT_BS; + if (calldataNegativeOffsetWithStandardSlot > msg.data.length) { + revert CalldataOverOrUnderFlow(); + } + assembly { + dataPackagesCount := calldataload( + sub(calldatasize(), calldataNegativeOffsetWithStandardSlot) + ) + } + return dataPackagesCount; + } + + function _extractDataPointValueAndDataFeedId( + uint256 calldataNegativeOffsetForDataPackage, + uint256 defaultDataPointValueByteSize, + uint256 dataPointIndex + ) internal pure virtual returns (bytes32 dataPointDataFeedId, uint256 dataPointValue) { + uint256 negativeOffsetToDataPoints = calldataNegativeOffsetForDataPackage + DATA_PACKAGE_WITHOUT_DATA_POINTS_BS; + uint256 dataPointNegativeOffset = negativeOffsetToDataPoints.add( + (1 + dataPointIndex).mul((defaultDataPointValueByteSize + DATA_POINT_SYMBOL_BS)) + ); + uint256 dataPointCalldataOffset = msg.data.length.sub(dataPointNegativeOffset); + assembly { + dataPointDataFeedId := calldataload(dataPointCalldataOffset) + dataPointValue := calldataload(add(dataPointCalldataOffset, DATA_POINT_SYMBOL_BS)) + } + } + + function _extractDataPointsDetailsForDataPackage(uint256 calldataNegativeOffsetForDataPackage) + internal + pure + returns (uint256 dataPointsCount, uint256 eachDataPointValueByteSize) + { + // Using uint24, because data points count byte size number has 3 bytes + uint24 dataPointsCount_; + + // Using uint32, because data point value byte size has 4 bytes + uint32 eachDataPointValueByteSize_; + + // Extract data points count + uint256 negativeCalldataOffset = calldataNegativeOffsetForDataPackage + SIG_BS; + uint256 calldataOffset = msg.data.length.sub(negativeCalldataOffset + STANDARD_SLOT_BS); + assembly { + dataPointsCount_ := calldataload(calldataOffset) + } + + // Extract each data point value size + calldataOffset = calldataOffset.sub(DATA_POINTS_COUNT_BS); + assembly { + eachDataPointValueByteSize_ := calldataload(calldataOffset) + } + + // Prepare returned values + dataPointsCount = dataPointsCount_; + eachDataPointValueByteSize = eachDataPointValueByteSize_; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/core/ProxyConnector.sol b/lib/redstone-finance/evm-connector/contracts/core/ProxyConnector.sol new file mode 100644 index 00000000..c085ac66 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/core/ProxyConnector.sol @@ -0,0 +1,154 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "./RedstoneConstants.sol"; +import "./CalldataExtractor.sol"; + +/** + * @title The base contract for forwarding redstone payload to other contracts + * @author The Redstone Oracles team + */ +contract ProxyConnector is RedstoneConstants, CalldataExtractor { + error ProxyCalldataFailedWithoutErrMsg(); + error ProxyCalldataFailedWithStringMessage(string message); + error ProxyCalldataFailedWithCustomError(bytes result); + + function proxyCalldata( + address contractAddress, + bytes memory encodedFunction, + bool forwardValue + ) internal returns (bytes memory) { + bytes memory message = _prepareMessage(encodedFunction); + + (bool success, bytes memory result) = + contractAddress.call{value: forwardValue ? msg.value : 0}(message); + + return _prepareReturnValue(success, result); + } + + function proxyDelegateCalldata(address contractAddress, bytes memory encodedFunction) + internal + returns (bytes memory) + { + bytes memory message = _prepareMessage(encodedFunction); + (bool success, bytes memory result) = contractAddress.delegatecall(message); + return _prepareReturnValue(success, result); + } + + function proxyCalldataView(address contractAddress, bytes memory encodedFunction) + internal + view + returns (bytes memory) + { + bytes memory message = _prepareMessage(encodedFunction); + (bool success, bytes memory result) = contractAddress.staticcall(message); + return _prepareReturnValue(success, result); + } + + function _prepareMessage(bytes memory encodedFunction) private pure returns (bytes memory) { + uint256 encodedFunctionBytesCount = encodedFunction.length; + uint256 redstonePayloadByteSize = _getRedstonePayloadByteSize(); + uint256 resultMessageByteSize = encodedFunctionBytesCount + redstonePayloadByteSize; + + if (redstonePayloadByteSize > msg.data.length) { + revert CalldataOverOrUnderFlow(); + } + + bytes memory message; + + assembly { + message := mload(FREE_MEMORY_PTR) // sets message pointer to first free place in memory + + // Saving the byte size of the result message (it's a standard in EVM) + mstore(message, resultMessageByteSize) + + // Copying function and its arguments + for { + let from := add(BYTES_ARR_LEN_VAR_BS, encodedFunction) + let fromEnd := add(from, encodedFunctionBytesCount) + let to := add(BYTES_ARR_LEN_VAR_BS, message) + } lt (from, fromEnd) { + from := add(from, STANDARD_SLOT_BS) + to := add(to, STANDARD_SLOT_BS) + } { + // Copying data from encodedFunction to message (32 bytes at a time) + mstore(to, mload(from)) + } + + // Copying redstone payload to the message bytes + calldatacopy( + add(message, add(BYTES_ARR_LEN_VAR_BS, encodedFunctionBytesCount)), // address + sub(calldatasize(), redstonePayloadByteSize), // offset + redstonePayloadByteSize // bytes length to copy + ) + + // Updating free memory pointer + mstore( + FREE_MEMORY_PTR, + add( + add(message, add(redstonePayloadByteSize, encodedFunctionBytesCount)), + BYTES_ARR_LEN_VAR_BS + ) + ) + } + + return message; + } + + function _getRedstonePayloadByteSize() private pure returns (uint256) { + uint256 calldataNegativeOffset = _extractByteSizeOfUnsignedMetadata(); + uint256 dataPackagesCount = _extractDataPackagesCountFromCalldata(calldataNegativeOffset); + calldataNegativeOffset += DATA_PACKAGES_COUNT_BS; + for (uint256 dataPackageIndex = 0; dataPackageIndex < dataPackagesCount; dataPackageIndex++) { + uint256 dataPackageByteSize = _getDataPackageByteSize(calldataNegativeOffset); + calldataNegativeOffset += dataPackageByteSize; + } + + return calldataNegativeOffset; + } + + function _getDataPackageByteSize(uint256 calldataNegativeOffset) private pure returns (uint256) { + ( + uint256 dataPointsCount, + uint256 eachDataPointValueByteSize + ) = _extractDataPointsDetailsForDataPackage(calldataNegativeOffset); + + return + dataPointsCount * + (DATA_POINT_SYMBOL_BS + eachDataPointValueByteSize) + + DATA_PACKAGE_WITHOUT_DATA_POINTS_BS; + } + + + function _prepareReturnValue(bool success, bytes memory result) + internal + pure + returns (bytes memory) + { + if (!success) { + + if (result.length == 0) { + revert ProxyCalldataFailedWithoutErrMsg(); + } else { + bool isStringErrorMessage; + assembly { + let first32BytesOfResult := mload(add(result, BYTES_ARR_LEN_VAR_BS)) + isStringErrorMessage := eq(first32BytesOfResult, STRING_ERR_MESSAGE_MASK) + } + + if (isStringErrorMessage) { + string memory receivedErrMsg; + assembly { + receivedErrMsg := add(result, REVERT_MSG_OFFSET) + } + revert ProxyCalldataFailedWithStringMessage(receivedErrMsg); + } else { + revert ProxyCalldataFailedWithCustomError(result); + } + } + } + + return result; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/core/RedstoneConstants.sol b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConstants.sol new file mode 100644 index 00000000..ad4bf2f8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConstants.sol @@ -0,0 +1,52 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +/** + * @title The base contract with helpful constants + * @author The Redstone Oracles team + * @dev It mainly contains redstone-related values, which improve readability + * of other contracts (e.g. CalldataExtractor and RedstoneConsumerBase) + */ +contract RedstoneConstants { + // === Abbreviations === + // BS - Bytes size + // PTR - Pointer (memory location) + // SIG - Signature + + // Solidity and YUL constants + uint256 internal constant STANDARD_SLOT_BS = 32; + uint256 internal constant FREE_MEMORY_PTR = 0x40; + uint256 internal constant BYTES_ARR_LEN_VAR_BS = 32; + uint256 internal constant FUNCTION_SIGNATURE_BS = 4; + uint256 internal constant REVERT_MSG_OFFSET = 68; // Revert message structure described here: https://ethereum.stackexchange.com/a/66173/106364 + uint256 internal constant STRING_ERR_MESSAGE_MASK = 0x08c379a000000000000000000000000000000000000000000000000000000000; + + // RedStone protocol consts + uint256 internal constant SIG_BS = 65; + uint256 internal constant TIMESTAMP_BS = 6; + uint256 internal constant DATA_PACKAGES_COUNT_BS = 2; + uint256 internal constant DATA_POINTS_COUNT_BS = 3; + uint256 internal constant DATA_POINT_VALUE_BYTE_SIZE_BS = 4; + uint256 internal constant DATA_POINT_SYMBOL_BS = 32; + uint256 internal constant DEFAULT_DATA_POINT_VALUE_BS = 32; + uint256 internal constant UNSIGNED_METADATA_BYTE_SIZE_BS = 3; + uint256 internal constant REDSTONE_MARKER_BS = 9; // byte size of 0x000002ed57011e0000 + uint256 internal constant REDSTONE_MARKER_MASK = 0x0000000000000000000000000000000000000000000000000002ed57011e0000; + + // Derived values (based on consts) + uint256 internal constant TIMESTAMP_NEGATIVE_OFFSET_IN_DATA_PACKAGE_WITH_STANDARD_SLOT_BS = 104; // SIG_BS + DATA_POINTS_COUNT_BS + DATA_POINT_VALUE_BYTE_SIZE_BS + STANDARD_SLOT_BS + uint256 internal constant DATA_PACKAGE_WITHOUT_DATA_POINTS_BS = 78; // DATA_POINT_VALUE_BYTE_SIZE_BS + TIMESTAMP_BS + DATA_POINTS_COUNT_BS + SIG_BS + uint256 internal constant DATA_PACKAGE_WITHOUT_DATA_POINTS_AND_SIG_BS = 13; // DATA_POINT_VALUE_BYTE_SIZE_BS + TIMESTAMP_BS + DATA_POINTS_COUNT_BS + uint256 internal constant REDSTONE_MARKER_BS_PLUS_STANDARD_SLOT_BS = 41; // REDSTONE_MARKER_BS + STANDARD_SLOT_BS + + // Error messages + error CalldataOverOrUnderFlow(); + error IncorrectUnsignedMetadataSize(); + error InsufficientNumberOfUniqueSigners(uint256 receivedSignersCount, uint256 requiredSignersCount); + error EachSignerMustProvideTheSameValue(); + error EmptyCalldataPointersArr(); + error InvalidCalldataPointer(); + error CalldataMustHaveValidPayload(); + error SignerNotAuthorised(address receivedSigner); +} diff --git a/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBase.sol new file mode 100644 index 00000000..9cf1740c --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBase.sol @@ -0,0 +1,298 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "@openzeppelin/contracts/utils/math/SafeMath.sol"; + +import "./RedstoneConstants.sol"; +import "./RedstoneDefaultsLib.sol"; +import "./CalldataExtractor.sol"; +import "../libs/BitmapLib.sol"; +import "../libs/SignatureLib.sol"; + +/** + * @title The base contract with the main Redstone logic + * @author The Redstone Oracles team + * @dev Do not use this contract directly in consumer contracts, take a + * look at `RedstoneConsumerNumericBase` and `RedstoneConsumerBytesBase` instead + */ +abstract contract RedstoneConsumerBase is CalldataExtractor { + using SafeMath for uint256; + + /* ========== VIRTUAL FUNCTIONS (MAY BE OVERRIDDEN IN CHILD CONTRACTS) ========== */ + + /** + * @dev This function must be implemented by the child consumer contract. + * It should return a unique index for a given signer address if the signer + * is authorised, otherwise it should revert + * @param receivedSigner The address of a signer, recovered from ECDSA signature + * @return Unique index for a signer in the range [0..255] + */ + function getAuthorisedSignerIndex(address receivedSigner) public view virtual returns (uint8); + + /** + * @dev This function may be overridden by the child consumer contract. + * It should validate the timestamp against the current time (block.timestamp) + * It should revert with a helpful message if the timestamp is not valid + * @param receivedTimestampMilliseconds Timestamp extracted from calldata + */ + function validateTimestamp(uint256 receivedTimestampMilliseconds) public view virtual { + RedstoneDefaultsLib.validateTimestamp(receivedTimestampMilliseconds); + } + + /** + * @dev This function should be overridden by the child consumer contract. + * @return The minimum required value of unique authorised signers + */ + function getUniqueSignersThreshold() public view virtual returns (uint8) { + return 1; + } + + /** + * @dev This function may be overridden by the child consumer contract. + * It should aggregate values from different signers to a single uint value. + * By default, it calculates the median value + * @param values An array of uint256 values from different signers + * @return Result of the aggregation in the form of a single number + */ + function aggregateValues(uint256[] memory values) public view virtual returns (uint256) { + return RedstoneDefaultsLib.aggregateValues(values); + } + + /* ========== FUNCTIONS WITH IMPLEMENTATION (CAN NOT BE OVERRIDDEN) ========== */ + + /** + * @dev This is an internal helpful function for secure extraction oracle values + * from the tx calldata. Security is achieved by signatures verification, timestamp + * validation, and aggregating values from different authorised signers into a + * single numeric value. If any of the required conditions (e.g. too old timestamp or + * insufficient number of authorised signers) do not match, the function will revert. + * + * Note! You should not call this function in a consumer contract. You can use + * `getOracleNumericValuesFromTxMsg` or `getOracleNumericValueFromTxMsg` instead. + * + * @param dataFeedIds An array of unique data feed identifiers + * @return An array of the extracted and verified oracle values in the same order + * as they are requested in dataFeedIds array + */ + function _securelyExtractOracleValuesFromTxMsg(bytes32[] memory dataFeedIds) + internal + view + returns (uint256[] memory) + { + // Initializing helpful variables and allocating memory + uint256[] memory uniqueSignerCountForDataFeedIds = new uint256[](dataFeedIds.length); + uint256[] memory signersBitmapForDataFeedIds = new uint256[](dataFeedIds.length); + uint256[][] memory valuesForDataFeeds = new uint256[][](dataFeedIds.length); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + // The line below is commented because newly allocated arrays are filled with zeros + // But we left it for better readability + // signersBitmapForDataFeedIds[i] = 0; // <- setting to an empty bitmap + valuesForDataFeeds[i] = new uint256[](getUniqueSignersThreshold()); + } + + // Extracting the number of data packages from calldata + uint256 calldataNegativeOffset = _extractByteSizeOfUnsignedMetadata(); + uint256 dataPackagesCount = _extractDataPackagesCountFromCalldata(calldataNegativeOffset); + calldataNegativeOffset += DATA_PACKAGES_COUNT_BS; + + // Saving current free memory pointer + uint256 freeMemPtr; + assembly { + freeMemPtr := mload(FREE_MEMORY_PTR) + } + + // Data packages extraction in a loop + for (uint256 dataPackageIndex = 0; dataPackageIndex < dataPackagesCount; dataPackageIndex++) { + // Extract data package details and update calldata offset + uint256 dataPackageByteSize = _extractDataPackage( + dataFeedIds, + uniqueSignerCountForDataFeedIds, + signersBitmapForDataFeedIds, + valuesForDataFeeds, + calldataNegativeOffset + ); + calldataNegativeOffset += dataPackageByteSize; + + // Shifting memory pointer back to the "safe" value + assembly { + mstore(FREE_MEMORY_PTR, freeMemPtr) + } + } + + // Validating numbers of unique signers and calculating aggregated values for each dataFeedId + return _getAggregatedValues(valuesForDataFeeds, uniqueSignerCountForDataFeedIds); + } + + /** + * @dev This is a private helpful function, which extracts data for a data package based + * on the given negative calldata offset, verifies them, and in the case of successful + * verification updates the corresponding data package values in memory + * + * @param dataFeedIds an array of unique data feed identifiers + * @param uniqueSignerCountForDataFeedIds an array with the numbers of unique signers + * for each data feed + * @param signersBitmapForDataFeedIds an array of signer bitmaps for data feeds + * @param valuesForDataFeeds 2-dimensional array, valuesForDataFeeds[i][j] contains + * j-th value for the i-th data feed + * @param calldataNegativeOffset negative calldata offset for the given data package + * + * @return An array of the aggregated values + */ + function _extractDataPackage( + bytes32[] memory dataFeedIds, + uint256[] memory uniqueSignerCountForDataFeedIds, + uint256[] memory signersBitmapForDataFeedIds, + uint256[][] memory valuesForDataFeeds, + uint256 calldataNegativeOffset + ) private view returns (uint256) { + uint256 signerIndex; + + ( + uint256 dataPointsCount, + uint256 eachDataPointValueByteSize + ) = _extractDataPointsDetailsForDataPackage(calldataNegativeOffset); + + // We use scopes to resolve problem with too deep stack + { + uint48 extractedTimestamp; + address signerAddress; + bytes32 signedHash; + bytes memory signedMessage; + uint256 signedMessageBytesCount; + + signedMessageBytesCount = dataPointsCount.mul(eachDataPointValueByteSize + DATA_POINT_SYMBOL_BS) + + DATA_PACKAGE_WITHOUT_DATA_POINTS_AND_SIG_BS; //DATA_POINT_VALUE_BYTE_SIZE_BS + TIMESTAMP_BS + DATA_POINTS_COUNT_BS + + uint256 timestampCalldataOffset = msg.data.length.sub( + calldataNegativeOffset + TIMESTAMP_NEGATIVE_OFFSET_IN_DATA_PACKAGE_WITH_STANDARD_SLOT_BS); + + uint256 signedMessageCalldataOffset = msg.data.length.sub( + calldataNegativeOffset + SIG_BS + signedMessageBytesCount); + + assembly { + // Extracting the signed message + signedMessage := extractBytesFromCalldata( + signedMessageCalldataOffset, + signedMessageBytesCount + ) + + // Hashing the signed message + signedHash := keccak256(add(signedMessage, BYTES_ARR_LEN_VAR_BS), signedMessageBytesCount) + + // Extracting timestamp + extractedTimestamp := calldataload(timestampCalldataOffset) + + function initByteArray(bytesCount) -> ptr { + ptr := mload(FREE_MEMORY_PTR) + mstore(ptr, bytesCount) + ptr := add(ptr, BYTES_ARR_LEN_VAR_BS) + mstore(FREE_MEMORY_PTR, add(ptr, bytesCount)) + } + + function extractBytesFromCalldata(offset, bytesCount) -> extractedBytes { + let extractedBytesStartPtr := initByteArray(bytesCount) + calldatacopy( + extractedBytesStartPtr, + offset, + bytesCount + ) + extractedBytes := sub(extractedBytesStartPtr, BYTES_ARR_LEN_VAR_BS) + } + } + + // Validating timestamp + validateTimestamp(extractedTimestamp); + + // Verifying the off-chain signature against on-chain hashed data + signerAddress = SignatureLib.recoverSignerAddress( + signedHash, + calldataNegativeOffset + SIG_BS + ); + signerIndex = getAuthorisedSignerIndex(signerAddress); + } + + // Updating helpful arrays + { + bytes32 dataPointDataFeedId; + uint256 dataPointValue; + for (uint256 dataPointIndex = 0; dataPointIndex < dataPointsCount; dataPointIndex++) { + // Extracting data feed id and value for the current data point + (dataPointDataFeedId, dataPointValue) = _extractDataPointValueAndDataFeedId( + calldataNegativeOffset, + eachDataPointValueByteSize, + dataPointIndex + ); + + for ( + uint256 dataFeedIdIndex = 0; + dataFeedIdIndex < dataFeedIds.length; + dataFeedIdIndex++ + ) { + if (dataPointDataFeedId == dataFeedIds[dataFeedIdIndex]) { + uint256 bitmapSignersForDataFeedId = signersBitmapForDataFeedIds[dataFeedIdIndex]; + + if ( + !BitmapLib.getBitFromBitmap(bitmapSignersForDataFeedId, signerIndex) && /* current signer was not counted for current dataFeedId */ + uniqueSignerCountForDataFeedIds[dataFeedIdIndex] < getUniqueSignersThreshold() + ) { + // Increase unique signer counter + uniqueSignerCountForDataFeedIds[dataFeedIdIndex]++; + + // Add new value + valuesForDataFeeds[dataFeedIdIndex][ + uniqueSignerCountForDataFeedIds[dataFeedIdIndex] - 1 + ] = dataPointValue; + + // Update signers bitmap + signersBitmapForDataFeedIds[dataFeedIdIndex] = BitmapLib.setBitInBitmap( + bitmapSignersForDataFeedId, + signerIndex + ); + } + + // Breaking, as there couldn't be several indexes for the same feed ID + break; + } + } + } + } + + // Return total data package byte size + return + DATA_PACKAGE_WITHOUT_DATA_POINTS_BS + + (eachDataPointValueByteSize + DATA_POINT_SYMBOL_BS) * + dataPointsCount; + } + + /** + * @dev This is a private helpful function, which aggregates values from different + * authorised signers for the given arrays of values for each data feed + * + * @param valuesForDataFeeds 2-dimensional array, valuesForDataFeeds[i][j] contains + * j-th value for the i-th data feed + * @param uniqueSignerCountForDataFeedIds an array with the numbers of unique signers + * for each data feed + * + * @return An array of the aggregated values + */ + function _getAggregatedValues( + uint256[][] memory valuesForDataFeeds, + uint256[] memory uniqueSignerCountForDataFeedIds + ) private view returns (uint256[] memory) { + uint256[] memory aggregatedValues = new uint256[](valuesForDataFeeds.length); + uint256 uniqueSignersThreshold = getUniqueSignersThreshold(); + + for (uint256 dataFeedIndex = 0; dataFeedIndex < valuesForDataFeeds.length; dataFeedIndex++) { + if (uniqueSignerCountForDataFeedIds[dataFeedIndex] < uniqueSignersThreshold) { + revert InsufficientNumberOfUniqueSigners( + uniqueSignerCountForDataFeedIds[dataFeedIndex], + uniqueSignersThreshold); + } + uint256 aggregatedValueForDataFeedId = aggregateValues(valuesForDataFeeds[dataFeedIndex]); + aggregatedValues[dataFeedIndex] = aggregatedValueForDataFeedId; + } + + return aggregatedValues; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBytesBase.sol b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBytesBase.sol new file mode 100644 index 00000000..f0960214 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerBytesBase.sol @@ -0,0 +1,217 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "@openzeppelin/contracts/utils/math/SafeMath.sol"; + +import "./RedstoneConsumerBase.sol"; + +/** + * @title The base contract for Redstone consumers' contracts that allows to + * securely calculate dynamic (array of bytes) redstone oracle values + * @author The Redstone Oracles team + * + * @dev This contract can extend other contracts to allow them + * securely fetch Redstone oracle data from tx calldata in a form of byte arrays. + * + * Note! If you want to use numeric values, use RedstoneConsumerNumericBase contract + * + * We wanted to reuse the core logic from the RedstoneConsumerBase contract, but it + * required few tricks, which are described below: + * + * 1. "Tricky" calldata pointers - we decided to use single uint256 values and store + * the calldata offset in the first 128 bits of those numbers, and the value byte size + * in the last 128 bits of the value. It allowed us to reuse a big part of core logic + * and even slightly optimised memory usage. To optimise gas costs, we left the burden + * of converting tricky calldata pointers to calldata bytes arrays on the consumer + * contracts developers. They can use a helpful `getCalldataBytesFromCalldataPointer` + * function for it + * + * 2. Returning memory pointers instead of actual values - we need to work with + * dynamic bytes arrays in this contract, but the core logic of RedstoneConsumerBase + * contract expects a uint256 number as a result of values aggregation. That's + * why we swtiched to returning a memory pointers instead of actual values. But this is + * more an implementation detail and should not affect end developers during the + * integration with the Redstone protocol + */ +abstract contract RedstoneConsumerBytesBase is RedstoneConsumerBase { + using SafeMath for uint256; + + uint256 constant BITS_COUNT_IN_16_BYTES = 128; + + /** + * @dev This function may be overridden by the child consumer contract. + * It should aggregate values from different signers into a bytes array + * By default, it checks if all the values are identical and returns the first one + * + * @param calldataPointersForValues An array of "tricky" calldata pointers to + * the values provided by different authorised signers. Each tricky calldata pointer + * is a uint256 number, first 128 bits of which represent calldata offset, and the + * last 128 bits - the byte length of the value + * + * @return Result of the aggregation in the form of a bytes array + */ + function aggregateByteValues(uint256[] memory calldataPointersForValues) + public + view + virtual + returns (bytes memory) + { + // Check if all byte arrays are identical + if (calldataPointersForValues.length <= 0) { + revert EmptyCalldataPointersArr(); + } + bytes calldata firstValue = getCalldataBytesFromCalldataPointer(calldataPointersForValues[0]); + bytes32 expectedHash = keccak256(firstValue); + + for (uint256 i = 1; i < calldataPointersForValues.length; i++) { + bytes calldata currentValue = getCalldataBytesFromCalldataPointer( + calldataPointersForValues[i] + ); + if (keccak256(currentValue) != expectedHash) { + revert EachSignerMustProvideTheSameValue(); + } + } + + return firstValue; + } + + /** + * @dev This function may be used to convert a "tricky" calldata pointer into a + * calldata bytes array. You may find it useful while overriding the + * `aggregateByteValues` function + * + * @param trickyCalldataPtr A "tricky" calldata pointer, 128 first bits of which + * represent the offset, and the last 128 bits - the byte length of the value + * + * @return bytesValueInCalldata The corresponding calldata bytes array + */ + function getCalldataBytesFromCalldataPointer(uint256 trickyCalldataPtr) + internal + pure + returns (bytes calldata bytesValueInCalldata) + { + uint256 calldataOffset = _getNumberFromFirst128Bits(trickyCalldataPtr); + uint256 valueByteSize = _getNumberFromLast128Bits(trickyCalldataPtr); + if (calldataOffset + valueByteSize > msg.data.length) { + revert InvalidCalldataPointer(); + } + + assembly { + bytesValueInCalldata.offset := calldataOffset + bytesValueInCalldata.length := valueByteSize + } + } + + /** + * @dev This function can be used in a consumer contract to securely extract an + * oracle value for a given data feed id. Security is achieved by + * signatures verification, timestamp validation, and aggregating bytes values + * from different authorised signers into a single bytes array. If any of the + * required conditions do not match, the function will revert. + * Note! This function expects that tx calldata contains redstone payload in the end + * Learn more about redstone payload here: https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/evm-connector#readme + * @param dataFeedId bytes32 value that uniquely identifies the data feed + * @return Bytes array with the aggregated oracle value for the given data feed id + */ + function getOracleBytesValueFromTxMsg(bytes32 dataFeedId) internal view returns (bytes memory) { + bytes32[] memory dataFeedIds = new bytes32[](1); + dataFeedIds[0] = dataFeedId; + return getOracleBytesValuesFromTxMsg(dataFeedIds)[0]; + } + + /** + * @dev This function can be used in a consumer contract to securely extract several + * numeric oracle values for a given array of data feed ids. Security is achieved by + * signatures verification, timestamp validation, and aggregating values + * from different authorised signers into a single numeric value. If any of the + * required conditions do not match, the function will revert. + * Note! This function expects that tx calldata contains redstone payload in the end + * Learn more about redstone payload here: https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/evm-connector#readme + * @param dataFeedIds An array of unique data feed identifiers + * @return arrayOfMemoryPointers TODO + */ + function getOracleBytesValuesFromTxMsg(bytes32[] memory dataFeedIds) + internal + view + returns (bytes[] memory arrayOfMemoryPointers) + { + // The `_securelyExtractOracleValuesFromTxMsg` function contains the main logic + // for the data extraction and validation + uint256[] memory arrayOfExtractedValues = _securelyExtractOracleValuesFromTxMsg(dataFeedIds); + assembly { + arrayOfMemoryPointers := arrayOfExtractedValues + } + } + + /** + * @dev This is a helpful function for the values aggregation + * Unlike in the RedstoneConsumerBase contract, you should not override + * this function. If you want to have a custom aggregation logic, you can + * override the `aggregateByteValues` instead + * + * Note! Unlike in the `RedstoneConsumerBase` this function returns a memory pointer + * to the aggregated bytes array value (instead the value itself) + * + * @param calldataPointersToValues An array of "tricky" calldata pointers to + * the values provided by different authorised signers. Each tricky calldata pointer + * is a uint256 number, first 128 bits of which represent calldata offset, and the + * last 128 bits - the byte length of the value + * + * @return pointerToResultBytesInMemory A memory pointer to the aggregated bytes array + */ + function aggregateValues(uint256[] memory calldataPointersToValues) + public + view + override + returns (uint256 pointerToResultBytesInMemory) + { + bytes memory aggregatedBytes = aggregateByteValues(calldataPointersToValues); + assembly { + pointerToResultBytesInMemory := aggregatedBytes + } + } + + /** + * @dev This function extracts details for a given data point and returns its dataFeedId, + * and a "tricky" calldata pointer for its value + * + * @param calldataNegativeOffsetForDataPackage Calldata offset for the requested data package + * @param dataPointValueByteSize Expected number of bytes for the requested data point value + * @param dataPointIndex Index of the requested data point + * + * @return dataPointDataFeedId a data feed identifier for the extracted data point + * @return dataPointValue a "tricky" calldata pointer for the extracted value + */ + function _extractDataPointValueAndDataFeedId( + uint256 calldataNegativeOffsetForDataPackage, + uint256 dataPointValueByteSize, + uint256 dataPointIndex + ) internal pure override returns (bytes32 dataPointDataFeedId, uint256 dataPointValue) { + uint256 negativeOffsetToDataPoints = calldataNegativeOffsetForDataPackage + DATA_PACKAGE_WITHOUT_DATA_POINTS_BS; + uint256 dataPointNegativeOffset = negativeOffsetToDataPoints + + (1 + dataPointIndex).mul(dataPointValueByteSize + DATA_POINT_SYMBOL_BS); + uint256 dataPointCalldataOffset = msg.data.length.sub(dataPointNegativeOffset); + assembly { + dataPointDataFeedId := calldataload(dataPointCalldataOffset) + dataPointValue := prepareTrickyCalldataPointer( + add(dataPointCalldataOffset, DATA_POINT_SYMBOL_BS), + dataPointValueByteSize + ) + + function prepareTrickyCalldataPointer(calldataOffsetArg, valueByteSize) -> calldataPtr { + calldataPtr := or(shl(BITS_COUNT_IN_16_BYTES, calldataOffsetArg), valueByteSize) + } + } + } + + /// @dev This is a helpful function for "tricky" calldata pointers + function _getNumberFromFirst128Bits(uint256 number) internal pure returns (uint256) { + return number >> 128; + } + + /// @dev This is a helpful function for "tricky" calldata pointers + function _getNumberFromLast128Bits(uint256 number) internal pure returns (uint256) { + return uint128(number); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerNumericBase.sol b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerNumericBase.sol new file mode 100644 index 00000000..212fae57 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/core/RedstoneConsumerNumericBase.sol @@ -0,0 +1,112 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "./RedstoneConsumerBase.sol"; + +/** + * @title The base contract for Redstone consumers' contracts that allows to + * securely calculate numeric redstone oracle values + * @author The Redstone Oracles team + * @dev This contract can extend other contracts to allow them + * securely fetch Redstone oracle data from transactions calldata + */ +abstract contract RedstoneConsumerNumericBase is RedstoneConsumerBase { + /** + * @dev This function can be used in a consumer contract to securely extract an + * oracle value for a given data feed id. Security is achieved by + * signatures verification, timestamp validation, and aggregating values + * from different authorised signers into a single numeric value. If any of the + * required conditions do not match, the function will revert. + * Note! This function expects that tx calldata contains redstone payload in the end + * Learn more about redstone payload here: https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/evm-connector#readme + * @param dataFeedId bytes32 value that uniquely identifies the data feed + * @return Extracted and verified numeric oracle value for the given data feed id + */ + function getOracleNumericValueFromTxMsg(bytes32 dataFeedId) + internal + view + virtual + returns (uint256) + { + bytes32[] memory dataFeedIds = new bytes32[](1); + dataFeedIds[0] = dataFeedId; + return getOracleNumericValuesFromTxMsg(dataFeedIds)[0]; + } + + /** + * @dev This function can be used in a consumer contract to securely extract several + * numeric oracle values for a given array of data feed ids. Security is achieved by + * signatures verification, timestamp validation, and aggregating values + * from different authorised signers into a single numeric value. If any of the + * required conditions do not match, the function will revert. + * Note! This function expects that tx calldata contains redstone payload in the end + * Learn more about redstone payload here: https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/evm-connector#readme + * @param dataFeedIds An array of unique data feed identifiers + * @return An array of the extracted and verified oracle values in the same order + * as they are requested in the dataFeedIds array + */ + function getOracleNumericValuesFromTxMsg(bytes32[] memory dataFeedIds) + internal + view + virtual + returns (uint256[] memory) + { + return _securelyExtractOracleValuesFromTxMsg(dataFeedIds); + } + + /** + * @dev This function works similarly to the `getOracleNumericValuesFromTxMsg` with the + * only difference that it allows to request oracle data for an array of data feeds + * that may contain duplicates + * + * @param dataFeedIdsWithDuplicates An array of data feed identifiers (duplicates are allowed) + * @return An array of the extracted and verified oracle values in the same order + * as they are requested in the dataFeedIdsWithDuplicates array + */ + function getOracleNumericValuesWithDuplicatesFromTxMsg(bytes32[] memory dataFeedIdsWithDuplicates) internal view returns (uint256[] memory) { + // Building an array without duplicates + bytes32[] memory dataFeedIdsWithoutDuplicates = new bytes32[](dataFeedIdsWithDuplicates.length); + bool alreadyIncluded; + uint256 uniqueDataFeedIdsCount = 0; + + for (uint256 indexWithDup = 0; indexWithDup < dataFeedIdsWithDuplicates.length; indexWithDup++) { + // Checking if current element is already included in `dataFeedIdsWithoutDuplicates` + alreadyIncluded = false; + for (uint256 indexWithoutDup = 0; indexWithoutDup < uniqueDataFeedIdsCount; indexWithoutDup++) { + if (dataFeedIdsWithoutDuplicates[indexWithoutDup] == dataFeedIdsWithDuplicates[indexWithDup]) { + alreadyIncluded = true; + break; + } + } + + // Adding if not included + if (!alreadyIncluded) { + dataFeedIdsWithoutDuplicates[uniqueDataFeedIdsCount] = dataFeedIdsWithDuplicates[indexWithDup]; + uniqueDataFeedIdsCount++; + } + } + + // Overriding dataFeedIdsWithoutDuplicates.length + // Equivalent to: dataFeedIdsWithoutDuplicates.length = uniqueDataFeedIdsCount; + assembly { + mstore(dataFeedIdsWithoutDuplicates, uniqueDataFeedIdsCount) + } + + // Requesting oracle values (without duplicates) + uint256[] memory valuesWithoutDuplicates = getOracleNumericValuesFromTxMsg(dataFeedIdsWithoutDuplicates); + + // Preparing result values array + uint256[] memory valuesWithDuplicates = new uint256[](dataFeedIdsWithDuplicates.length); + for (uint256 indexWithDup = 0; indexWithDup < dataFeedIdsWithDuplicates.length; indexWithDup++) { + for (uint256 indexWithoutDup = 0; indexWithoutDup < dataFeedIdsWithoutDuplicates.length; indexWithoutDup++) { + if (dataFeedIdsWithDuplicates[indexWithDup] == dataFeedIdsWithoutDuplicates[indexWithoutDup]) { + valuesWithDuplicates[indexWithDup] = valuesWithoutDuplicates[indexWithoutDup]; + break; + } + } + } + + return valuesWithDuplicates; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/core/RedstoneDefaultsLib.sol b/lib/redstone-finance/evm-connector/contracts/core/RedstoneDefaultsLib.sol new file mode 100644 index 00000000..3618ad32 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/core/RedstoneDefaultsLib.sol @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../libs/NumericArrayLib.sol"; + +/** + * @title Default implementations of virtual redstone consumer base functions + * @author The Redstone Oracles team + */ +library RedstoneDefaultsLib { + uint256 constant DEFAULT_MAX_DATA_TIMESTAMP_DELAY_SECONDS = 3 minutes; + uint256 constant DEFAULT_MAX_DATA_TIMESTAMP_AHEAD_SECONDS = 1 minutes; + + error TimestampFromTooLongFuture(uint256 receivedTimestampSeconds, uint256 blockTimestamp); + error TimestampIsTooOld(uint256 receivedTimestampSeconds, uint256 blockTimestamp); + + function validateTimestamp(uint256 receivedTimestampMilliseconds) internal view { + // Getting data timestamp from future seems quite unlikely + // But we've already spent too much time with different cases + // Where block.timestamp was less than dataPackage.timestamp. + // Some blockchains may case this problem as well. + // That's why we add MAX_BLOCK_TIMESTAMP_DELAY + // and allow data "from future" but with a small delay + uint256 receivedTimestampSeconds = receivedTimestampMilliseconds / 1000; + + if (block.timestamp < receivedTimestampSeconds) { + if ((receivedTimestampSeconds - block.timestamp) > DEFAULT_MAX_DATA_TIMESTAMP_AHEAD_SECONDS) { + revert TimestampFromTooLongFuture(receivedTimestampSeconds, block.timestamp); + } + } else if ((block.timestamp - receivedTimestampSeconds) > DEFAULT_MAX_DATA_TIMESTAMP_DELAY_SECONDS) { + revert TimestampIsTooOld(receivedTimestampSeconds, block.timestamp); + } + } + + function aggregateValues(uint256[] memory values) internal pure returns (uint256) { + return NumericArrayLib.pickMedian(values); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/data-services/AvalancheDataServiceConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/data-services/AvalancheDataServiceConsumerBase.sol new file mode 100644 index 00000000..a8ee843a --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/data-services/AvalancheDataServiceConsumerBase.sol @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; + +contract AvalancheDataServiceConsumerBase is RedstoneConsumerNumericBase { + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 3; + } + + function getAuthorisedSignerIndex( + address signerAddress + ) public view virtual override returns (uint8) { + if (signerAddress == 0x1eA62d73EdF8AC05DfceA1A34b9796E937a29EfF) { + return 0; + } else if (signerAddress == 0x2c59617248994D12816EE1Fa77CE0a64eEB456BF) { + return 1; + } else if (signerAddress == 0x12470f7aBA85c8b81D63137DD5925D6EE114952b) { + return 2; + } else if (signerAddress == 0x109B4a318A4F5ddcbCA6349B45f881B4137deaFB) { + return 3; + } else if (signerAddress == 0x83cbA8c619fb629b81A65C2e67fE15cf3E3C9747) { + return 4; + } else { + revert SignerNotAuthorised(signerAddress); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/data-services/CustomUrlsConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/data-services/CustomUrlsConsumerBase.sol new file mode 100644 index 00000000..eef938d4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/data-services/CustomUrlsConsumerBase.sol @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; + +contract CustomUrlsConsumerBase is RedstoneConsumerNumericBase { + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 2; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + if (signerAddress == 0x11fFFc9970c41B9bFB9Aa35Be838d39bce918CfF) { + return 0; + } else if (signerAddress == 0xdBcC2C6c892C8d3e3Fe4D325fEc810B7376A5Ed6) { + return 1; + } else { + revert SignerNotAuthorised(signerAddress); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/data-services/KydServiceConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/data-services/KydServiceConsumerBase.sol new file mode 100644 index 00000000..9574a0f2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/data-services/KydServiceConsumerBase.sol @@ -0,0 +1,49 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; + +contract KydServiceConsumerBase is RedstoneConsumerNumericBase { + error ValuesArrayCanNotBeEmpty(); + error AllValuesMustBeEqual(); + + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 2; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + if (signerAddress == 0x70997970C51812dc3A010C7d01b50e0d17dc79C8) { + return 0; + } else if (signerAddress == 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC) { + return 1; + } else { + revert SignerNotAuthorised(signerAddress); + } + } + + function aggregateValues(uint256[] memory values) + public + view + virtual + override + returns (uint256) + { + if (values.length == 0) { + revert ValuesArrayCanNotBeEmpty(); + } + uint256 firstValue = values[0]; + for (uint256 index = 1; index < values.length; index++) { + if (values[index] != firstValue) { + revert AllValuesMustBeEqual(); + } + } + return firstValue; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/data-services/MainDemoConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/data-services/MainDemoConsumerBase.sol new file mode 100644 index 00000000..edcbc360 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/data-services/MainDemoConsumerBase.sol @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; + +contract MainDemoConsumerBase is RedstoneConsumerNumericBase { + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 1; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + if (signerAddress == 0x0C39486f770B26F5527BBBf942726537986Cd7eb) { + return 0; + } else { + revert SignerNotAuthorised(signerAddress); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol new file mode 100644 index 00000000..e50dab50 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; + +contract RapidDemoConsumerBase is RedstoneConsumerNumericBase { + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 1; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + if (signerAddress == 0xf786a909D559F5Dee2dc6706d8e5A81728a39aE9) { + return 0; + } else { + revert SignerNotAuthorised(signerAddress); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/data-services/StocksDemoConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/data-services/StocksDemoConsumerBase.sol new file mode 100644 index 00000000..79ceb368 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/data-services/StocksDemoConsumerBase.sol @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; + +contract StocksDemoConsumerBase is RedstoneConsumerNumericBase { + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 1; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + if (signerAddress == 0x926E370fD53c23f8B71ad2B3217b227E41A92b12) { + return 0; + } else { + revert SignerNotAuthorised(signerAddress); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/data-services/TwapsDemoConsumerBase.sol b/lib/redstone-finance/evm-connector/contracts/data-services/TwapsDemoConsumerBase.sol new file mode 100644 index 00000000..1e232383 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/data-services/TwapsDemoConsumerBase.sol @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BUSL-1.1 + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; + +contract TwapsDemoConsumerBase is RedstoneConsumerNumericBase { + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 1; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + if (signerAddress == 0xAAb9568f7165E66AcaFF50B705C3f3e964cbD24f) { + return 0; + } else { + revert SignerNotAuthorised(signerAddress); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/libs/BitmapLib.sol b/lib/redstone-finance/evm-connector/contracts/libs/BitmapLib.sol new file mode 100644 index 00000000..27d783f7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/libs/BitmapLib.sol @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +library BitmapLib { + function setBitInBitmap(uint256 bitmap, uint256 bitIndex) internal pure returns (uint256) { + return bitmap | (1 << bitIndex); + } + + function getBitFromBitmap(uint256 bitmap, uint256 bitIndex) internal pure returns (bool) { + uint256 bitAtIndex = bitmap & (1 << bitIndex); + return bitAtIndex > 0; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/libs/HardhatLoggerLib.sol b/lib/redstone-finance/evm-connector/contracts/libs/HardhatLoggerLib.sol new file mode 100644 index 00000000..181e31d9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/libs/HardhatLoggerLib.sol @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "hardhat/console.sol"; + +library HardhatLoggerLib { + function logUint256Array(uint256[] memory arr) internal view { + for (uint256 i = 0; i < arr.length; i++) { + console.log("\narr", i); + console.log(arr[i]); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/libs/NumbersLib.sol b/lib/redstone-finance/evm-connector/contracts/libs/NumbersLib.sol new file mode 100644 index 00000000..086a2ca4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/libs/NumbersLib.sol @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +library NumbersLib { + uint256 constant BITS_COUNT_IN_16_BYTES = 128; + + function getNumberFromFirst16Bytes(uint256 number) internal pure returns (uint256) { + return uint256(number >> BITS_COUNT_IN_16_BYTES); + } + + function getNumberFromLast16Bytes(uint256 number) internal pure returns (uint256) { + return uint256((number << BITS_COUNT_IN_16_BYTES) >> BITS_COUNT_IN_16_BYTES); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/libs/NumericArrayLib.sol b/lib/redstone-finance/evm-connector/contracts/libs/NumericArrayLib.sol new file mode 100644 index 00000000..25ccdf0d --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/libs/NumericArrayLib.sol @@ -0,0 +1,56 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "@openzeppelin/contracts/utils/math/SafeMath.sol"; + +library NumericArrayLib { + // This function sort array in memory using bubble sort algorithm, + // which performs even better than quick sort for small arrays + + uint256 constant BYTES_ARR_LEN_VAR_BS = 32; + uint256 constant UINT256_VALUE_BS = 32; + + error CanNotPickMedianOfEmptyArray(); + + // This function modifies the array + function pickMedian(uint256[] memory arr) internal pure returns (uint256) { + if (arr.length == 0) { + revert CanNotPickMedianOfEmptyArray(); + } + sort(arr); + uint256 middleIndex = arr.length / 2; + if (arr.length % 2 == 0) { + uint256 sum = SafeMath.add(arr[middleIndex - 1], arr[middleIndex]); + return sum / 2; + } else { + return arr[middleIndex]; + } + } + + function sort(uint256[] memory arr) internal pure { + assembly { + let arrLength := mload(arr) + let valuesPtr := add(arr, BYTES_ARR_LEN_VAR_BS) + let endPtr := add(valuesPtr, mul(arrLength, UINT256_VALUE_BS)) + for { + let arrIPtr := valuesPtr + } lt(arrIPtr, endPtr) { + arrIPtr := add(arrIPtr, UINT256_VALUE_BS) // arrIPtr += 32 + } { + for { + let arrJPtr := valuesPtr + } lt(arrJPtr, arrIPtr) { + arrJPtr := add(arrJPtr, UINT256_VALUE_BS) // arrJPtr += 32 + } { + let arrI := mload(arrIPtr) + let arrJ := mload(arrJPtr) + if lt(arrI, arrJ) { + mstore(arrIPtr, arrJ) + mstore(arrJPtr, arrI) + } + } + } + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/libs/SignatureLib.sol b/lib/redstone-finance/evm-connector/contracts/libs/SignatureLib.sol new file mode 100644 index 00000000..b2c6a352 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/libs/SignatureLib.sol @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +library SignatureLib { + uint256 constant ECDSA_SIG_R_BS = 32; + uint256 constant ECDSA_SIG_S_BS = 32; + + function recoverSignerAddress(bytes32 signedHash, uint256 signatureCalldataNegativeOffset) + internal + pure + returns (address) + { + bytes32 r; + bytes32 s; + uint8 v; + assembly { + let signatureCalldataStartPos := sub(calldatasize(), signatureCalldataNegativeOffset) + r := calldataload(signatureCalldataStartPos) + signatureCalldataStartPos := add(signatureCalldataStartPos, ECDSA_SIG_R_BS) + s := calldataload(signatureCalldataStartPos) + signatureCalldataStartPos := add(signatureCalldataStartPos, ECDSA_SIG_S_BS) + v := byte(0, calldataload(signatureCalldataStartPos)) // last byte of the signature memory array + } + return ecrecover(signedHash, v, r, s); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/mocks/AuthorisedMockSignersBase.sol b/lib/redstone-finance/evm-connector/contracts/mocks/AuthorisedMockSignersBase.sol new file mode 100644 index 00000000..6bfcff19 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/mocks/AuthorisedMockSignersBase.sol @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../core/RedstoneConstants.sol"; + +abstract contract AuthorisedMockSignersBase is RedstoneConstants { + function getAuthorisedMockSignerIndex(address signerAddress) + public + view + virtual + returns (uint8) + { + return getAllMockExceptLastOneAuthorised(signerAddress); + } + + function getAllMockExceptLastOneAuthorised(address signerAddress) + public + view + virtual + returns (uint8) + { + if (signerAddress == 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199) { + revert SignerNotAuthorised(signerAddress); + } else { + return getAllMockAuthorised(signerAddress); + } + } + + function getAllMockAuthorised(address signerAddress) public view virtual returns (uint8) { + // Looks like an array but consumes less gas + if (signerAddress == 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266) { + return 0; + } else if (signerAddress == 0x70997970C51812dc3A010C7d01b50e0d17dc79C8) { + return 1; + } else if (signerAddress == 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC) { + return 2; + } else if (signerAddress == 0x90F79bf6EB2c4f870365E785982E1f101E93b906) { + return 3; + } else if (signerAddress == 0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65) { + return 4; + } else if (signerAddress == 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc) { + return 5; + } else if (signerAddress == 0x976EA74026E726554dB657fA54763abd0C3a0aa9) { + return 6; + } else if (signerAddress == 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955) { + return 7; + } else if (signerAddress == 0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f) { + return 8; + } else if (signerAddress == 0xa0Ee7A142d267C1f36714E4a8F75612F20a79720) { + return 9; + } else if (signerAddress == 0xBcd4042DE499D14e55001CcbB24a551F3b954096) { + return 10; + } else if (signerAddress == 0x71bE63f3384f5fb98995898A86B02Fb2426c5788) { + return 11; + } else if (signerAddress == 0xFABB0ac9d68B0B445fB7357272Ff202C5651694a) { + return 12; + } else if (signerAddress == 0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec) { + return 13; + } else if (signerAddress == 0xdF3e18d64BC6A983f673Ab319CCaE4f1a57C7097) { + return 14; + } else if (signerAddress == 0xcd3B766CCDd6AE721141F452C550Ca635964ce71) { + return 15; + } else if (signerAddress == 0x2546BcD3c84621e976D8185a91A922aE77ECEc30) { + return 16; + } else if (signerAddress == 0xbDA5747bFD65F08deb54cb465eB87D40e51B197E) { + return 17; + } else if (signerAddress == 0xdD2FD4581271e230360230F9337D5c0430Bf44C0) { + return 18; + } else if (signerAddress == 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199) { + return 19; + } else { + revert SignerNotAuthorised(signerAddress); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerBytesMock.sol b/lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerBytesMock.sol new file mode 100644 index 00000000..0eff6bb1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerBytesMock.sol @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerBytesBase.sol"; +import "./AuthorisedMockSignersBase.sol"; + +contract RedstoneConsumerBytesMock is RedstoneConsumerBytesBase, AuthorisedMockSignersBase { + uint256 internal constant MIN_TIMESTAMP_MILLISECONDS = 1654353400000; + + error TimestampIsNotValid(); + + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 3; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + return getAuthorisedMockSignerIndex(signerAddress); + } + + function validateTimestamp(uint256 receivedTimestampMilliseconds) public view virtual override { + if (receivedTimestampMilliseconds < MIN_TIMESTAMP_MILLISECONDS) { + revert TimestampIsNotValid(); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerNumericMock.sol b/lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerNumericMock.sol new file mode 100644 index 00000000..85726ec9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/mocks/RedstoneConsumerNumericMock.sol @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../core/RedstoneConsumerNumericBase.sol"; +import "./AuthorisedMockSignersBase.sol"; + +contract RedstoneConsumerNumericMock is RedstoneConsumerNumericBase, AuthorisedMockSignersBase { + uint256 internal constant MIN_TIMESTAMP_MILLISECONDS = 1654353400000; + + error TimestampIsNotValid(); + + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 10; + } + + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + return getAuthorisedMockSignerIndex(signerAddress); + } + + function validateTimestamp(uint256 receivedTimestampMilliseconds) public view virtual override { + if (receivedTimestampMilliseconds < MIN_TIMESTAMP_MILLISECONDS) { + revert TimestampIsNotValid(); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleBitmapLib.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleBitmapLib.sol new file mode 100644 index 00000000..c42d661b --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleBitmapLib.sol @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../libs/BitmapLib.sol"; + +contract SampleBitmapLib { + function setBitInBitmap(uint256 bitmap, uint256 bitIndex) external pure returns (uint256) { + return BitmapLib.setBitInBitmap(bitmap, bitIndex); + } + + function getBitFromBitmap(uint256 bitmap, uint256 bitIndex) external pure returns (bool) { + return BitmapLib.getBitFromBitmap(bitmap, bitIndex); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleDuplicatedDataFeeds.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleDuplicatedDataFeeds.sol new file mode 100644 index 00000000..82de5b2e --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleDuplicatedDataFeeds.sol @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerNumericMock.sol"; + +contract SampleDuplicatedDataFeeds is RedstoneConsumerNumericMock { + uint256[] internal valuesInStorage; + + function getValuesFromStorage() external view returns (uint256[] memory) { + return valuesInStorage; + } + + function saveOracleValuesInStorage(bytes32[] calldata dataFeedIdsWithDuplicates) public { + // Get oracle values + uint256[] memory values = getOracleNumericValuesWithDuplicatesFromTxMsg( + dataFeedIdsWithDuplicates + ); + + // Save values in contract state + valuesInStorage = values; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleKydServiceConsumer.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleKydServiceConsumer.sol new file mode 100644 index 00000000..07b17b4b --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleKydServiceConsumer.sol @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../data-services/KydServiceConsumerBase.sol"; + +contract SampleKydServiceConsumer is KydServiceConsumerBase { + error UserDidNotPassKYD(address user); + + bool passedKYD; + + function executeActionPassingKYD() public { + bytes32 dataFeedId = keccak256(abi.encodePacked(msg.sender)); + uint256 isVerified = getOracleNumericValueFromTxMsg(dataFeedId); + if (isVerified != 1) { + revert UserDidNotPassKYD(msg.sender); + } + passedKYD = true; + } + + function getPassedKYDValue() public view returns (bool) { + return passedKYD; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleNumericArrayLib.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleNumericArrayLib.sol new file mode 100644 index 00000000..a86051b5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleNumericArrayLib.sol @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../libs/NumericArrayLib.sol"; + +contract SampleNumericArrayLib { + uint256[] cachedArray; + uint256 public cachedMedian; + + function testSortTx(uint256[] memory arr) public { + NumericArrayLib.sort(arr); + cachedArray = arr; + } + + // Can be used to compare gas costs with the `testSortTx` function + function testArrayUpdatingInStorage(uint256[] memory arr) public { + cachedArray = arr; + } + + function getCachedArray() public view returns (uint256[] memory) { + return cachedArray; + } + + function testMedianSelection(uint256[] memory arr) public { + cachedMedian = NumericArrayLib.pickMedian(arr); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleProxyConnector.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleProxyConnector.sol new file mode 100644 index 00000000..be425e8e --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleProxyConnector.sol @@ -0,0 +1,110 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../core/ProxyConnector.sol"; +import "./SampleRedstoneConsumerNumericMock.sol"; + +/** + * @title SampleProxyConnector + * @dev An example of a contract that makes a call to a SampleRedstoneConsumerMock contract + */ +contract SampleProxyConnector is ProxyConnector { + error UnexpectedOracleValue(); + error WrongValue(); + error ExpectedMsgValueToBePassed(); + error ExpectedMsgValueNotToBePassed(); + + SampleRedstoneConsumerNumericMock sampleRedstoneConsumer; + + constructor() { + sampleRedstoneConsumer = new SampleRedstoneConsumerNumericMock(); + } + + function getOracleValueUsingProxy(bytes32 dataFeedId) public view returns (uint256) { + bytes memory encodedFunction = abi.encodeWithSelector( + SampleRedstoneConsumerNumericMock.getValueForDataFeedId.selector, + dataFeedId + ); + + bytes memory encodedResult = proxyCalldataView( + address(sampleRedstoneConsumer), + encodedFunction + ); + + return abi.decode(encodedResult, (uint256)); + } + + function proxyEmptyError() public view { + bytes memory encodedFunction = abi.encodeWithSelector( + SampleRedstoneConsumerNumericMock.revertWithoutMessage.selector + ); + proxyCalldataView(address(sampleRedstoneConsumer), encodedFunction); + } + + function proxyTestStringError() public view { + bytes memory encodedFunction = abi.encodeWithSelector( + SampleRedstoneConsumerNumericMock.revertWithTestMessage.selector + ); + proxyCalldataView(address(sampleRedstoneConsumer), encodedFunction); + } + + function checkOracleValue(bytes32 dataFeedId, uint256 expectedValue) external view { + uint256 oracleValue = getOracleValueUsingProxy(dataFeedId); + if (oracleValue != expectedValue) { + revert UnexpectedOracleValue(); + } + } + + function checkOracleValueLongEncodedFunction(bytes32 asset, uint256 price) external { + bytes memory encodedFunction = abi.encodeWithSelector( + SampleRedstoneConsumerNumericMock.getValueManyParams.selector, + asset, + 115792089237316195423570985008687907853269984665640564039457584007913129639935, + "long_string_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "long_string_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "long_string_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "long_string_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "long_string_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ); + + bytes memory encodedResult = ProxyConnector.proxyCalldata( + address(sampleRedstoneConsumer), + encodedFunction, + false + ); + + uint256 oraclePrice = abi.decode(encodedResult, (uint256)); + + if (oraclePrice != price) { + revert WrongValue(); + } + } + + function requireValueForward() external payable { + bytes memory encodedFunction = abi.encodeWithSelector( + SampleRedstoneConsumerNumericMock.returnMsgValue.selector + ); + bytes memory encodedResult = ProxyConnector.proxyCalldata( + address(sampleRedstoneConsumer), + encodedFunction, + false + ); + uint256 msgValue = abi.decode(encodedResult, (uint256)); + + if (msgValue != 0) { + revert ExpectedMsgValueNotToBePassed(); + } + + encodedResult = ProxyConnector.proxyCalldata( + address(sampleRedstoneConsumer), + encodedFunction, + true + ); + msgValue = abi.decode(encodedResult, (uint256)); + + if (msgValue != msg.value) { + revert ExpectedMsgValueToBePassed(); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMock.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMock.sol new file mode 100644 index 00000000..952f0801 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMock.sol @@ -0,0 +1,65 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerBytesMock.sol"; +import "../libs/NumericArrayLib.sol"; + +contract SampleRedstoneConsumerBytesMock is RedstoneConsumerBytesMock { + uint256 constant BITS_COUNT_IN_ONE_BYTE = 8; + + uint256 public latestSavedValue; + + function aggregateByteValues(uint256[] memory calldataPointersForValues) + public + pure + override + returns (bytes memory) + { + uint256[] memory numericValues = new uint256[](calldataPointersForValues.length); + for (uint256 i = 0; i < calldataPointersForValues.length; i++) { + bytes calldata bytesValue = getCalldataBytesFromCalldataPointer( + calldataPointersForValues[i] + ); + numericValues[i] = calldataBytesToUint256(bytesValue); + } + + uint256 numericAggregatedResult = NumericArrayLib.pickMedian(numericValues); + bytes memory aggregatedResult = abi.encodePacked(numericAggregatedResult); + + // convert uint256 to bytes + return aggregatedResult; + } + + function getValueSecurely(bytes32 dataFeedId) public view returns (uint256) { + bytes memory bytesValueFromOracle = getOracleBytesValueFromTxMsg(dataFeedId); + return bytesToUint256(bytesValueFromOracle); + } + + function saveOracleValueInContractStorage(bytes32 dataFeedId) public { + bytes memory bytesValueFromOracle = getOracleBytesValueFromTxMsg(dataFeedId); + latestSavedValue = bytesToUint256(bytesValueFromOracle); + } + + function calldataBytesToUint256(bytes calldata bytesValue) + private + pure + returns (uint256 uintValue) + { + assembly { + let byteSize := bytesValue.length + let bitSize := mul(byteSize, BITS_COUNT_IN_ONE_BYTE) + + uintValue := shr(sub(256, bitSize), calldataload(bytesValue.offset)) + } + } + + function bytesToUint256(bytes memory bytesValue) private pure returns (uint256 uintValue) { + assembly { + let byteSize := mload(bytesValue) + let bitSize := mul(byteSize, BITS_COUNT_IN_ONE_BYTE) + + uintValue := shr(sub(256, bitSize), mload(add(bytesValue, BYTES_ARR_LEN_VAR_BS))) + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.sol new file mode 100644 index 00000000..e5a5cbe1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.sol @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerBytesMock.sol"; + +contract SampleRedstoneConsumerBytesMockManyDataFeeds is RedstoneConsumerBytesMock { + bytes public firstValue; + bytes public secondValue; + + function save2ValuesInStorage(bytes32[] calldata dataFeedIds) public { + // Get oracle values + bytes[] memory values = getOracleBytesValuesFromTxMsg(dataFeedIds); + + // Save values in contract state + firstValue = values[0]; + secondValue = values[1]; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockStrings.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockStrings.sol new file mode 100644 index 00000000..09d29a2c --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerBytesMockStrings.sol @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerBytesMock.sol"; +import "../libs/NumericArrayLib.sol"; + +contract SampleRedstoneConsumerBytesMockStrings is RedstoneConsumerBytesMock { + bytes public latestString; + + function saveLatestValueInStorage(bytes32 dataFeedId) public { + bytes memory bytesValueFromOracle = getOracleBytesValueFromTxMsg(dataFeedId); + latestString = bytesValueFromOracle; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMock.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMock.sol new file mode 100644 index 00000000..2178b3c9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMock.sol @@ -0,0 +1,56 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerNumericMock.sol"; + +contract SampleRedstoneConsumerNumericMock is RedstoneConsumerNumericMock { + uint256 public latestSavedValue; + + function getValuesForDataFeedIds(bytes32[] memory dataFeedIds) + public + view + returns (uint256[] memory) + { + return getOracleNumericValuesFromTxMsg(dataFeedIds); + } + + function getValueForDataFeedId(bytes32 dataFeedId) public view returns (uint256) { + return getOracleNumericValueFromTxMsg(dataFeedId); + } + + function saveOracleValueInContractStorage(bytes32 dataFeedId) public { + latestSavedValue = getOracleNumericValueFromTxMsg(dataFeedId); + } + + function getValueManyParams( + bytes32 dataFeedId, + uint256 mockArg1, + string memory mockArg2, + string memory mockArg3, + string memory mockArg4, + string memory mockArg5, + string memory mockArg6 + ) public view returns (uint256) { + // This is added to avoid warnings about unused arguments + mockArg1; + mockArg2; + mockArg3; + mockArg4; + mockArg5; + mockArg6; + return getOracleNumericValueFromTxMsg(dataFeedId); + } + + function returnMsgValue() external payable returns (uint256) { + return msg.value; + } + + function revertWithoutMessage() public pure { + revert(); + } + + function revertWithTestMessage() public pure { + revert("Test message"); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.sol new file mode 100644 index 00000000..968286a2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.sol @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerNumericMock.sol"; + +contract SampleRedstoneConsumerNumericMockManyDataFeeds is RedstoneConsumerNumericMock { + uint256 public firstValue; + uint256 public secondValue; + + function save2ValuesInStorage(bytes32[] calldata dataFeedIds) public { + // Get oracle values + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + + // Save values in contract state + firstValue = values[0]; + secondValue = values[1]; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneDefaultsLib.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneDefaultsLib.sol new file mode 100644 index 00000000..7f0f4ec5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleRedstoneDefaultsLib.sol @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../core/RedstoneDefaultsLib.sol"; + +contract SampleRedstoneDefaultsLib { + function validateTimestamp(uint256 receivedTimestampMilliseconds) external view { + RedstoneDefaultsLib.validateTimestamp(receivedTimestampMilliseconds); + } + + function aggregateValues(uint256[] memory values) external pure returns (uint256) { + return RedstoneDefaultsLib.aggregateValues(values); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxy.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxy.sol new file mode 100644 index 00000000..dc6c0352 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxy.sol @@ -0,0 +1,99 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerNumericMock.sol"; +import "./SampleStorageProxyConsumer.sol"; + +contract SampleStorageProxy is RedstoneConsumerNumericMock { + SampleStorageProxyConsumer sampleContract; + + struct SamplePoint { + string name; + uint256 dataValue; + } + + struct SamplePoints { + string [] names; + uint256 [] dataValues; + } + + mapping(bytes32 => uint256) public oracleValues; + + function register(address _sampleContract) external { + sampleContract = SampleStorageProxyConsumer(_sampleContract); + } + + function fetchStructOfArraysUsingProxyDryRun(bytes32[] memory dataFeedIds) public returns (SamplePoints memory) { + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + oracleValues[dataFeedIds[i]] = values[i]; + } + + uint256[] memory ret = sampleContract.getOracleValues(dataFeedIds); + SamplePoints memory samplePoints = SamplePoints(new string[](dataFeedIds.length), new uint256[](dataFeedIds.length)); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + samplePoints.names[i] = "sample"; + samplePoints.dataValues[i] = ret[i]; + } + + return samplePoints; + } + + function fetchArrayOfStructsUsingProxyDryRun(bytes32[] memory dataFeedIds) public returns (SamplePoint[] memory) { + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + oracleValues[dataFeedIds[i]] = values[i]; + } + + uint256[] memory ret = sampleContract.getOracleValues(dataFeedIds); + SamplePoint[] memory samplePoints = new SamplePoint[](dataFeedIds.length); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + samplePoints[i] = SamplePoint("sample", ret[i]); + } + + return samplePoints; + } + + function fetchStructUsingProxyDryRun(bytes32 dataFeedId) public returns (SamplePoint memory) { + oracleValues[dataFeedId] = getOracleNumericValueFromTxMsg(dataFeedId); + uint256 value = sampleContract.getOracleValue(dataFeedId); + return SamplePoint("sample", value); + } + + function fetchValuesUsingProxyDryRun(bytes32[] memory dataFeedIds) public returns (uint256[] memory) { + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + oracleValues[dataFeedIds[i]] = values[i]; + } + return sampleContract.getOracleValues(dataFeedIds); + } + + function fetchValueUsingProxyDryRun(bytes32 dataFeedId) public returns (uint256) { + oracleValues[dataFeedId] = getOracleNumericValueFromTxMsg(dataFeedId); + return sampleContract.getOracleValue(dataFeedId); + } + + function saveOracleValueInContractStorage(bytes32 dataFeedId) public { + oracleValues[dataFeedId] = getOracleNumericValueFromTxMsg(dataFeedId); + } + + function saveOracleValuesInContractStorage(bytes32[] memory dataFeedIds) public { + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + oracleValues[dataFeedIds[i]] = values[i]; + } + } + + function getOracleValue(bytes32 dataFeedId) public view returns (uint256) { + return oracleValues[dataFeedId]; + } + + function getOracleValues(bytes32[] memory dataFeedIds) public view returns (uint256[] memory) { + uint256[] memory values = new uint256[](dataFeedIds.length); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + values[i] = oracleValues[dataFeedIds[i]]; + } + return values; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxyConsumer.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxyConsumer.sol new file mode 100644 index 00000000..99e6b3fe --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleStorageProxyConsumer.sol @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "./SampleStorageProxy.sol"; + +contract SampleStorageProxyConsumer { + error UnexpectedOracleValue(); + + SampleStorageProxy storageProxy; + + constructor(address _sampleStorageProxy) { + storageProxy = SampleStorageProxy(_sampleStorageProxy); + } + + function checkOracleValues(bytes32[] memory dataFeedIds, uint256[] memory expectedValues) + external + view + { + uint256[] memory values = storageProxy.getOracleValues(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + if (values[i] != expectedValues[i]) { + revert UnexpectedOracleValue(); + } + } + } + + function checkOracleValue(bytes32 dataFeedId, uint256 expectedValue) external view { + uint256 value = storageProxy.getOracleValue(dataFeedId); + if (value != expectedValue) { + revert UnexpectedOracleValue(); + } + } + + function getOracleValue(bytes32 dataFeedId) public view returns (uint256) { + return storageProxy.getOracleValue(dataFeedId); + } + + function getOracleValues(bytes32[] memory dataFeedIds) public view returns (uint256[] memory) { + uint256[] memory dataValues = new uint256[](dataFeedIds.length); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + dataValues[i] = storageProxy.getOracleValue(dataFeedIds[i]); + } + return dataValues; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleSyntheticToken.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleSyntheticToken.sol new file mode 100644 index 00000000..b1e47429 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleSyntheticToken.sol @@ -0,0 +1,472 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerNumericMock.sol"; +import "@openzeppelin/contracts/utils/Context.sol"; +import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; +import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; +import "@openzeppelin/contracts/access/Ownable.sol"; + +/** + * @dev Implementation of the {IERC20} interface. + * + * This implementation is agnostic to the way tokens are created. This means + * that a supply mechanism has to be added in a derived contract using {_mint}. + * For a generic mechanism see {ERC20PresetMinterPauser}. + * + * TIP: For a detailed writeup see our guide + * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How + * to implement supply mechanisms]. + * + * We have followed general OpenZeppelin guidelines: functions revert instead + * of returning `false` on failure. This behavior is nonetheless conventional + * and does not conflict with the expectations of ERC20 applications. + * + * Additionally, an {Approval} event is emitted on calls to {transferFrom}. + * This allows applications to reconstruct the allowance for all accounts just + * by listening to said events. Other implementations of the EIP may not emit + * these events, as it isn't required by the specification. + * + * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} + * functions have been added to mitigate the well-known issues around setting + * allowances. See {IERC20-approve}. + */ +contract ERC20Initializable is Context, IERC20, IERC20Metadata { + mapping(address => uint256) private _balances; + + mapping(address => mapping(address => uint256)) private _allowances; + + uint256 private _totalSupply; + + string private _name; + string private _symbol; + + function initialize(string memory name_, string memory symbol_) internal { + _name = name_; + _symbol = symbol_; + } + + /** + * @dev Returns the name of the token. + */ + function name() public view virtual override returns (string memory) { + return _name; + } + + /** + * @dev Returns the symbol of the token, usually a shorter version of the + * name. + */ + function symbol() public view virtual override returns (string memory) { + return _symbol; + } + + /** + * @dev Returns the number of decimals used to get its user representation. + * For example, if `decimals` equals `2`, a balance of `505` tokens should + * be displayed to a user as `5,05` (`505 / 10 ** 2`). + * + * Tokens usually opt for a value of 18, imitating the relationship between + * Ether and Wei. This is the value {ERC20} uses, unless this function is + * overridden; + * + * NOTE: This information is only used for _display_ purposes: it in + * no way affects any of the arithmetic of the contract, including + * {IERC20-balanceOf} and {IERC20-transfer}. + */ + function decimals() public view virtual override returns (uint8) { + return 18; + } + + /** + * @dev See {IERC20-totalSupply}. + */ + function totalSupply() public view virtual override returns (uint256) { + return _totalSupply; + } + + /** + * @dev See {IERC20-balanceOf}. + */ + function balanceOf(address account) public view virtual override returns (uint256) { + return _balances[account]; + } + + /** + * @dev See {IERC20-transfer}. + * + * Requirements: + * + * - `recipient` cannot be the zero address. + * - the caller must have a balance of at least `amount`. + */ + function transfer(address recipient, uint256 amount) public virtual override returns (bool) { + _transfer(_msgSender(), recipient, amount); + return true; + } + + /** + * @dev See {IERC20-allowance}. + */ + function allowance(address owner, address spender) + public + view + virtual + override + returns (uint256) + { + return _allowances[owner][spender]; + } + + /** + * @dev See {IERC20-approve}. + * + * Requirements: + * + * - `spender` cannot be the zero address. + */ + function approve(address spender, uint256 amount) public virtual override returns (bool) { + _approve(_msgSender(), spender, amount); + return true; + } + + /** + * @dev See {IERC20-transferFrom}. + * + * Emits an {Approval} event indicating the updated allowance. This is not + * required by the EIP. See the note at the beginning of {ERC20}. + * + * Requirements: + * + * - `sender` and `recipient` cannot be the zero address. + * - `sender` must have a balance of at least `amount`. + * - the caller must have allowance for ``sender``'s tokens of at least + * `amount`. + */ + function transferFrom( + address sender, + address recipient, + uint256 amount + ) public virtual override returns (bool) { + _transfer(sender, recipient, amount); + + uint256 currentAllowance = _allowances[sender][_msgSender()]; + require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); + _approve(sender, _msgSender(), currentAllowance - amount); + + return true; + } + + /** + * @dev Atomically increases the allowance granted to `spender` by the caller. + * + * This is an alternative to {approve} that can be used as a mitigation for + * problems described in {IERC20-approve}. + * + * Emits an {Approval} event indicating the updated allowance. + * + * Requirements: + * + * - `spender` cannot be the zero address. + */ + function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { + _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); + return true; + } + + /** + * @dev Atomically decreases the allowance granted to `spender` by the caller. + * + * This is an alternative to {approve} that can be used as a mitigation for + * problems described in {IERC20-approve}. + * + * Emits an {Approval} event indicating the updated allowance. + * + * Requirements: + * + * - `spender` cannot be the zero address. + * - `spender` must have allowance for the caller of at least + * `subtractedValue`. + */ + function decreaseAllowance(address spender, uint256 subtractedValue) + public + virtual + returns (bool) + { + uint256 currentAllowance = _allowances[_msgSender()][spender]; + require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); + _approve(_msgSender(), spender, currentAllowance - subtractedValue); + + return true; + } + + /** + * @dev Moves tokens `amount` from `sender` to `recipient`. + * + * This is internal function is equivalent to {transfer}, and can be used to + * e.g. implement automatic token fees, slashing mechanisms, etc. + * + * Emits a {Transfer} event. + * + * Requirements: + * + * - `sender` cannot be the zero address. + * - `recipient` cannot be the zero address. + * - `sender` must have a balance of at least `amount`. + */ + function _transfer( + address sender, + address recipient, + uint256 amount + ) internal virtual { + require(sender != address(0), "ERC20: transfer from the zero address"); + require(recipient != address(0), "ERC20: transfer to the zero address"); + + _beforeTokenTransfer(sender, recipient, amount); + + uint256 senderBalance = _balances[sender]; + require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); + _balances[sender] = senderBalance - amount; + _balances[recipient] += amount; + + emit Transfer(sender, recipient, amount); + } + + /** @dev Creates `amount` tokens and assigns them to `account`, increasing + * the total supply. + * + * Emits a {Transfer} event with `from` set to the zero address. + * + * Requirements: + * + * - `to` cannot be the zero address. + */ + function _mint(address account, uint256 amount) internal virtual { + require(account != address(0), "ERC20: mint to the zero address"); + + _beforeTokenTransfer(address(0), account, amount); + + _totalSupply += amount; + _balances[account] += amount; + emit Transfer(address(0), account, amount); + } + + /** + * @dev Destroys `amount` tokens from `account`, reducing the + * total supply. + * + * Emits a {Transfer} event with `to` set to the zero address. + * + * Requirements: + * + * - `account` cannot be the zero address. + * - `account` must have at least `amount` tokens. + */ + function _burn(address account, uint256 amount) internal virtual { + require(account != address(0), "ERC20: burn from the zero address"); + + _beforeTokenTransfer(account, address(0), amount); + + uint256 accountBalance = _balances[account]; + require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); + _balances[account] = accountBalance - amount; + _totalSupply -= amount; + + emit Transfer(account, address(0), amount); + } + + /** + * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. + * + * This internal function is equivalent to `approve`, and can be used to + * e.g. set automatic allowances for certain subsystems, etc. + * + * Emits an {Approval} event. + * + * Requirements: + * + * - `owner` cannot be the zero address. + * - `spender` cannot be the zero address. + */ + function _approve( + address owner, + address spender, + uint256 amount + ) internal virtual { + require(owner != address(0), "ERC20: approve from the zero address"); + require(spender != address(0), "ERC20: approve to the zero address"); + + _allowances[owner][spender] = amount; + emit Approval(owner, spender, amount); + } + + /** + * @dev Hook that is called before any transfer of tokens. This includes + * minting and burning. + * + * Calling conditions: + * + * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens + * will be to transferred to `to`. + * - when `from` is zero, `amount` tokens will be minted for `to`. + * - when `to` is zero, `amount` of ``from``'s tokens will be burned. + * - `from` and `to` are never both zero. + * + * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. + */ + function _beforeTokenTransfer( + address from, + address to, + uint256 amount + ) internal virtual {} +} + +contract SampleSyntheticToken is ERC20Initializable, Ownable, RedstoneConsumerNumericMock { + bool private initialized; + bytes32 public asset; + address public broker; + + uint256 public constant MAX_SOLVENCY = 2**256 - 1; + bytes32 public constant COLLATERAL_TOKEN = "ETH"; + uint256 public constant SOLVENCY_PRECISION = 1000; // 100%, 1 unit = 0.1% + uint256 public constant MIN_SOLVENCY = 1200; // 120%, 1 unit = 0.1% + uint256 public constant LIQUIDATION_BONUS = 50; // 5%, 1 unit = 0.1% + + mapping(address => uint256) public collateral; + mapping(address => uint256) public debt; + + function initialize( + bytes32 asset_, + string memory name_, + string memory symbol_ + ) external { + require(!initialized); + + super.initialize(name_, symbol_); + + asset = asset_; + + initialized = true; + } + + /** + * @dev Mints koTokens increasing user's debt + */ + function mint(uint256 amount) external payable remainsSolvent { + super._mint(msg.sender, amount); + debt[msg.sender] += amount; + addCollateral(); + } + + /** + * @dev Burns koTokens to reduce user debt + */ + function burn(uint256 amount) external { + require(debt[msg.sender] >= amount, "Cannot burn more than minted"); + debt[msg.sender] -= amount; + super._burn(msg.sender, amount); + } + + /** + * @dev Adds collateral to user account + * It could be done to increase the solvency ratio + */ + function addCollateral() public payable virtual { + collateral[msg.sender] += msg.value; + emit CollateralAdded(msg.sender, msg.value, block.timestamp); + } + + /** + * @dev Removes outstanding collateral by paying out funds to depositor + * The account must remain solvent after the operation + */ + function removeCollateral(uint256 amount) external virtual remainsSolvent { + require(collateral[msg.sender] >= amount, "Cannot remove more collateral than deposited"); + collateral[msg.sender] -= amount; + payable(msg.sender).transfer(amount); + emit CollateralRemoved(msg.sender, amount, block.timestamp); + } + + /** + * @dev Collateral amount expressed in ETH + */ + function collateralOf(address account) public view virtual returns (uint256) { + return collateral[account]; + } + + /** + * @dev Collateral value expressed in USD + */ + function collateralValueOf(address account) public view returns (uint256) { + return collateralOf(account) * getOracleNumericValueFromTxMsg(COLLATERAL_TOKEN); + } + + /** + * @dev Debt of the account (number of koTokens minted) + */ + function debtOf(address account) public view returns (uint256) { + return debt[account]; + } + + /** + * @dev Debt of the account expressed in USD + */ + function debtValueOf(address account) public view returns (uint256) { + return debt[account] * getOracleNumericValueFromTxMsg(asset); + } + + /** + * @dev A ratio between the value of collateral and debt of the account + * It's expressed in permills - 0.1% (ratio 1 to 1 is equal to 1000 units) + * To leave a margin for price movement and liquidation it must remain safely abot 1000 + */ + function solvencyOf(address account) public view returns (uint256) { + if (debtValueOf(account) == 0) { + return MAX_SOLVENCY; + } else { + return (collateralValueOf(account) * SOLVENCY_PRECISION) / debtValueOf(account); + } + } + + /** + * @dev Value of komodo tokens held by given account at the current market price + */ + function balanceValueOf(address account) public view returns (uint256) { + return balanceOf(account) * getOracleNumericValueFromTxMsg(asset); + } + + /** + * @dev Total value of all minted komodo tokens at the current market price + */ + function totalValue() public view returns (uint256) { + return totalSupply() * getOracleNumericValueFromTxMsg(asset); + } + + function liquidate(address account, uint256 amount) public { + require(solvencyOf(account) < MIN_SOLVENCY, "Cannot liquidate a solvent account"); + this.transferFrom(msg.sender, account, amount); + super._burn(account, amount); + debt[account] -= amount; + + // Liquidator reward + uint256 collateralRepayment = (amount * getOracleNumericValueFromTxMsg(asset)) / + getOracleNumericValueFromTxMsg(COLLATERAL_TOKEN); + uint256 bonus = (collateralRepayment * LIQUIDATION_BONUS) / SOLVENCY_PRECISION; + + uint256 repaymentWithBonus = collateralRepayment + bonus; + collateral[account] -= repaymentWithBonus; + payable(msg.sender).transfer(repaymentWithBonus); + + require(solvencyOf(account) >= MIN_SOLVENCY, "Account must be solvent after liquidation"); + } + + modifier remainsSolvent() { + _; + require(solvencyOf(msg.sender) >= MIN_SOLVENCY, "The account must remain solvent"); + } + + // EVENTS + event CollateralAdded(address account, uint256 val, uint256 time); + event CollateralRemoved(address account, uint256 val, uint256 time); +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/SampleWithEvents.sol b/lib/redstone-finance/evm-connector/contracts/samples/SampleWithEvents.sol new file mode 100644 index 00000000..85e103a2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/SampleWithEvents.sol @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../mocks/RedstoneConsumerNumericMock.sol"; + +contract SampleWithEvents is RedstoneConsumerNumericMock { + event ValueUpdated(uint256 _updatedValue); + + function emitEventWithLatestOracleValue() public { + uint256 valueFromOracle = getOracleNumericValueFromTxMsg(bytes32("ETH")); + emit ValueUpdated(valueFromOracle); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/Benchmark.sol b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/Benchmark.sol new file mode 100644 index 00000000..ecce344a --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/Benchmark.sol @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../../mocks/RedstoneConsumerNumericMock.sol"; + +contract Benchmark is RedstoneConsumerNumericMock { + // We use this storage variable to avoid annoying compilation + // warnings about function state mutability + uint256 someStorageVar = 0; + uint8 uniqueSignersThreshold = 1; + + function getUniqueSignersThreshold() public view override returns (uint8) { + return uniqueSignersThreshold; + } + + function updateUniqueSignersThreshold(uint8 newUniqueSignersThreshold) external { + uniqueSignersThreshold = newUniqueSignersThreshold; + } + + function extractOracleValues(bytes32[] calldata dataFeedIds) external { + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + values; + someStorageVar = 0; + } + + // `emptyExtractOracleValues` is used to calculate gas costs for pure + // calling the function and calculate the exact gas costs for getting + // the oracle values + function emptyExtractOracleValues(bytes32[] calldata dataFeedIds) external { + dataFeedIds; + uint256[] memory values; + values; + someStorageVar = 0; + } + + function getAuthorisedMockSignerIndex(address _signerAddress) + public + view + override + returns (uint8) + { + return getAllMockAuthorised(_signerAddress); + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/HashCalldataModel.sol b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/HashCalldataModel.sol new file mode 100644 index 00000000..f41da526 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/HashCalldataModel.sol @@ -0,0 +1,161 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../SampleRedstoneConsumerNumericMock.sol"; + +contract HashCalldataModel is RedstoneConsumerNumericMock { + mapping(bytes32 => bool) public requests; + uint256 price = 0; + bool deleteFromStorage = false; + + function sendRequestWith3Args( + bytes32 arg1, + bytes32 arg2, + bytes32 arg3 + ) public returns (bytes32) { + bytes32 requestHash = keccak256(abi.encodePacked(block.number, msg.sender, arg1, arg2, arg3)); + requests[requestHash] = true; + return requestHash; + } + + function sendRequestWith5Args( + bytes32 arg1, + bytes32 arg2, + bytes32 arg3, + bytes32 arg4, + bytes32 arg5 + ) public returns (bytes32) { + bytes32 requestHash = keccak256( + abi.encodePacked(block.number, msg.sender, arg1, arg2, arg3, arg4, arg5) + ); + requests[requestHash] = true; + return requestHash; + } + + function sendRequestWith10Args( + bytes32 arg1, + bytes32 arg2, + bytes32 arg3, + bytes32 arg4, + bytes32 arg5, + bytes32 arg6, + bytes32 arg7, + bytes32 arg8, + bytes32 arg9, + bytes32 arg10 + ) public returns (bytes32) { + bytes32 requestHash = keccak256( + abi.encodePacked( + block.number, + msg.sender, + arg1, + arg2, + arg3, + arg4, + arg5, + arg6, + arg7, + arg8, + arg9, + arg10 + ) + ); + requests[requestHash] = true; + return requestHash; + } + + function executeRequestWith3ArgsWithPrices( + uint256 blockNumber, + address sender, + bytes32 arg1, + bytes32 arg2, + bytes32 arg3 + ) public { + bytes32 requestHash = keccak256(abi.encodePacked(blockNumber, sender, arg1, arg2, arg3)); + + bool isIn = requests[requestHash]; + if (isIn == true) { + price = getOracleNumericValueFromTxMsg(arg1); + if (deleteFromStorage) { + delete requests[requestHash]; + } + } else { + revert("Request not found"); + } + } + + function executeRequestWith5ArgsWithPrices( + uint256 blockNumber, + address sender, + bytes32 arg1, + bytes32 arg2, + bytes32 arg3, + bytes32 arg4, + bytes32 arg5 + ) public { + bytes32 requestHash = keccak256( + abi.encodePacked(blockNumber, sender, arg1, arg2, arg3, arg4, arg5) + ); + + bool isIn = requests[requestHash]; + if (isIn == true) { + price = getOracleNumericValueFromTxMsg(arg2); + if (deleteFromStorage) { + delete requests[requestHash]; + } + } else { + revert("Request not found"); + } + } + + function executeRequestWith10ArgsWithPrices( + uint256 blockNumber, + address sender, + bytes32 arg1, + bytes32 arg2, + bytes32 arg3, + bytes32 arg4, + bytes32 arg5, + bytes32 arg6, + bytes32 arg7, + bytes32 arg8, + bytes32 arg9, + bytes32 arg10 + ) public { + bytes32 requestHash = keccak256( + abi.encodePacked( + blockNumber, + sender, + arg1, + arg2, + arg3, + arg4, + arg5, + arg6, + arg7, + arg8, + arg9, + arg10 + ) + ); + + bool isIn = requests[requestHash]; + if (isIn == true) { + price = getOracleNumericValueFromTxMsg(arg3); + if (deleteFromStorage) { + delete requests[requestHash]; + } + } else { + revert("Request not found"); + } + } + + function getUniqueSignersThreshold() public pure override returns (uint8) { + return 3; + } + + function setDeleteFromStorage(bool _deleteFromStorage) public { + deleteFromStorage = _deleteFromStorage; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableProxyConnector.sol b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableProxyConnector.sol new file mode 100644 index 00000000..0fc2b0be --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableProxyConnector.sol @@ -0,0 +1,51 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../../core/ProxyConnector.sol"; +import "./SampleProxyConnectorConsumer.sol"; + +contract SampleChainableProxyConnector is ProxyConnector { + SampleProxyConnectorConsumer sampleRedstoneConsumer; + SampleChainableProxyConnector nextConnector; + + function registerConsumer(address _sampleProxyConnectorConsumer) external { + sampleRedstoneConsumer = SampleProxyConnectorConsumer(_sampleProxyConnectorConsumer); + } + + function registerNextConnector(address _sampleProxyConnector) external { + nextConnector = SampleChainableProxyConnector(_sampleProxyConnector); + } + + function processOracleValue(bytes32 dataFeedId) external { + if (address(nextConnector) != address(0)) { + bytes memory encodedFunction = abi.encodeWithSelector( + this.processOracleValue.selector, + dataFeedId + ); + proxyCalldata(address(nextConnector), encodedFunction, false); + } else { + bytes memory encodedFunction = abi.encodeWithSelector( + sampleRedstoneConsumer.processOracleValue.selector, + dataFeedId + ); + proxyCalldata(address(sampleRedstoneConsumer), encodedFunction, false); + } + } + + function processOracleValues(bytes32[] memory dataFeedIds) external { + if (address(nextConnector) != address(0)) { + bytes memory encodedFunction = abi.encodeWithSelector( + this.processOracleValues.selector, + dataFeedIds + ); + proxyCalldata(address(nextConnector), encodedFunction, false); + } else { + bytes memory encodedFunction = abi.encodeWithSelector( + sampleRedstoneConsumer.processOracleValues.selector, + dataFeedIds + ); + proxyCalldata(address(sampleRedstoneConsumer), encodedFunction, false); + } + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxy.sol b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxy.sol new file mode 100644 index 00000000..0633be6f --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxy.sol @@ -0,0 +1,58 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../../mocks/RedstoneConsumerNumericMock.sol"; +import "./SampleChainableStorageProxyConsumer.sol"; + +contract SampleChainableStorageProxy is RedstoneConsumerNumericMock { + SampleChainableStorageProxyConsumer sampleContract; + uint8 uniqueSignersThreshold = 1; + + mapping(bytes32 => uint256) public oracleValues; + + function register(address _sampleContract) external { + sampleContract = SampleChainableStorageProxyConsumer(_sampleContract); + } + + function getUniqueSignersThreshold() public view override returns (uint8) { + return uniqueSignersThreshold; + } + + function updateUniqueSignersThreshold(uint8 newUniqueSignersThreshold) external { + uniqueSignersThreshold = newUniqueSignersThreshold; + } + + function processOracleValue(bytes32 dataFeedId) public { + saveOracleValueInContractStorage(dataFeedId); + sampleContract.processOracleValue(dataFeedId); + } + + function processOracleValues(bytes32[] memory dataFeedIds) public { + saveOracleValuesInContractStorage(dataFeedIds); + sampleContract.processOracleValues(dataFeedIds); + } + + function saveOracleValueInContractStorage(bytes32 dataFeedId) public { + oracleValues[dataFeedId] = getOracleNumericValueFromTxMsg(dataFeedId); + } + + function saveOracleValuesInContractStorage(bytes32[] memory dataFeedIds) public { + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + oracleValues[dataFeedIds[i]] = values[i]; + } + } + + function getOracleValue(bytes32 dataFeedId) public view returns (uint256) { + return oracleValues[dataFeedId]; + } + + function getOracleValues(bytes32[] memory dataFeedIds) public view returns (uint256[] memory) { + uint256[] memory values = new uint256[](dataFeedIds.length); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + values[i] = oracleValues[dataFeedIds[i]]; + } + return values; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.sol b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.sol new file mode 100644 index 00000000..695a0fb4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.sol @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../SampleStorageProxy.sol"; + +contract SampleChainableStorageProxyConsumer { + error UnexpectedOracleValue(); + + SampleStorageProxy storageProxy; + SampleChainableStorageProxyConsumer nextContract; + uint256 computation_result = 0; + + constructor(address _sampleStorageProxy) { + storageProxy = SampleStorageProxy(_sampleStorageProxy); + } + + function register(address _nextContract) external { + nextContract = SampleChainableStorageProxyConsumer(_nextContract); + } + + function processOracleValue(bytes32 dataFeedId) external { + if (address(nextContract) != address(0)) { + nextContract.processOracleValue(dataFeedId); + return; + } + + uint256 value = storageProxy.getOracleValue(dataFeedId); + computation_result += 42 * value; + } + + function processOracleValues(bytes32[] memory dataFeedIds) external { + if (address(nextContract) != address(0)) { + nextContract.processOracleValues(dataFeedIds); + return; + } + + uint256[] memory values = storageProxy.getOracleValues(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + computation_result += 42 * values[i]; + } + } + + function getComputationResult() external view returns (uint256) { + return computation_result; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleProxyConnectorConsumer.sol b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleProxyConnectorConsumer.sol new file mode 100644 index 00000000..6c13a609 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/SampleProxyConnectorConsumer.sol @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../SampleRedstoneConsumerNumericMock.sol"; + +contract SampleProxyConnectorConsumer is SampleRedstoneConsumerNumericMock { + uint256 computation_result = 0; + uint8 uniqueSignersThreshold = 1; + + function getUniqueSignersThreshold() public view override returns (uint8) { + return uniqueSignersThreshold; + } + + function updateUniqueSignersThreshold(uint8 newUniqueSignersThreshold) external { + uniqueSignersThreshold = newUniqueSignersThreshold; + } + + function processOracleValue(bytes32 dataFeedId) public { + uint256 value = getOracleNumericValueFromTxMsg(dataFeedId); + computation_result += 42 * value; + } + + function processOracleValues(bytes32[] memory dataFeedIds) public { + uint256[] memory values = getOracleNumericValuesFromTxMsg(dataFeedIds); + for (uint256 i = 0; i < dataFeedIds.length; i++) { + computation_result += 42 * values[i]; + } + } + + function getComputationResult() external view returns (uint256) { + return computation_result; + } +} diff --git a/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/StorageStructureModel.sol b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/StorageStructureModel.sol new file mode 100644 index 00000000..6522a587 --- /dev/null +++ b/lib/redstone-finance/evm-connector/contracts/samples/benchmarks/StorageStructureModel.sol @@ -0,0 +1,140 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.4; + +import "../SampleRedstoneConsumerNumericMock.sol"; + +contract StorageStructureModel is RedstoneConsumerNumericMock { + uint256 counter = 0; + uint256 price = 0; + bool deleteFromStorage = false; + + mapping(uint256 => RequestWith3Args) public requestsWith3Args; + mapping(uint256 => RequestWith5Args) public requestsWith5Args; + mapping(uint256 => RequestWith10Args) public requestsWith10Args; + + struct RequestWith3Args { + bytes32 arg1; + bytes32 arg2; + bytes32 arg3; + uint256 blockNumber; + address requesterAddress; + } + + struct RequestWith5Args { + bytes32 arg1; + bytes32 arg2; + bytes32 arg3; + bytes32 arg4; + bytes32 arg5; + uint256 blockNumber; + address requesterAddress; + } + + struct RequestWith10Args { + bytes32 arg1; + bytes32 arg2; + bytes32 arg3; + bytes32 arg4; + bytes32 arg5; + bytes32 arg6; + bytes32 arg7; + bytes32 arg8; + bytes32 arg9; + bytes32 arg10; + uint256 blockNumber; + address requesterAddress; + } + + function sendRequestWith3Args( + bytes32 arg1, + bytes32 arg2, + bytes32 arg3 + ) public returns (uint256) { + counter++; + requestsWith3Args[counter] = RequestWith3Args(arg1, arg2, arg3, block.number, msg.sender); + return counter; + } + + function sendRequestWith5Args( + bytes32 arg1, + bytes32 arg2, + bytes32 arg3, + bytes32 arg4, + bytes32 arg5 + ) public returns (uint256) { + counter++; + requestsWith5Args[counter] = RequestWith5Args( + arg1, + arg2, + arg3, + arg4, + arg5, + block.number, + msg.sender + ); + return counter; + } + + function sendRequestWith10Args( + bytes32 arg1, + bytes32 arg2, + bytes32 arg3, + bytes32 arg4, + bytes32 arg5, + bytes32 arg6, + bytes32 arg7, + bytes32 arg8, + bytes32 arg9, + bytes32 arg10 + ) public returns (uint256) { + counter++; + requestsWith10Args[counter] = RequestWith10Args( + arg1, + arg2, + arg3, + arg4, + arg5, + arg6, + arg7, + arg8, + arg9, + arg10, + block.number, + msg.sender + ); + return counter; + } + + function executeRequestWith3ArgsWithPrices(uint256 requestId) public { + RequestWith3Args storage request = requestsWith3Args[requestId]; + price = getOracleNumericValueFromTxMsg(request.arg1); + if (deleteFromStorage) { + delete requestsWith3Args[requestId]; + } + } + + function executeRequestWith5ArgsWithPrices(uint256 requestId) public { + RequestWith5Args storage request = requestsWith5Args[requestId]; + price = getOracleNumericValueFromTxMsg(request.arg2); + if (deleteFromStorage) { + delete requestsWith5Args[requestId]; + } + } + + function executeRequestWith10ArgsWithPrices(uint256 requestId) public { + RequestWith10Args storage request = requestsWith10Args[requestId]; + price = getOracleNumericValueFromTxMsg(request.arg3); + if (deleteFromStorage) { + delete requestsWith10Args[requestId]; + } + } + + function getUniqueSignersThreshold() public pure override returns (uint8) { + return 3; + } + + function setDeleteFromStorage(bool _deleteFromStorage) public { + deleteFromStorage = _deleteFromStorage; + } +} diff --git a/lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts b/lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts new file mode 100644 index 00000000..97022345 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts @@ -0,0 +1,8 @@ +import { HardhatUserConfig } from "hardhat/config"; +import "@nomiclabs/hardhat-waffle"; +import "@nomiclabs/hardhat-ethers"; +import "@typechain/hardhat"; +import "hardhat-gas-reporter"; +declare const config: HardhatUserConfig; +export default config; +//# sourceMappingURL=hardhat.config.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts.map b/lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts.map new file mode 100644 index 00000000..9e3b5b6a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/hardhat.config.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hardhat.config.d.ts","sourceRoot":"","sources":["../hardhat.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC;AACnC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,sBAAsB,CAAC;AAK9B,QAAA,MAAM,MAAM,EAAE,iBAsBb,CAAC;AAEF,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/hardhat.config.js b/lib/redstone-finance/evm-connector/dist/hardhat.config.js new file mode 100644 index 00000000..45a3e183 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/hardhat.config.js @@ -0,0 +1,33 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +require("@nomiclabs/hardhat-waffle"); +require("@nomiclabs/hardhat-ethers"); +require("@typechain/hardhat"); +require("hardhat-gas-reporter"); +// You need to export an object to set up your config +// Go to https://hardhat.org/config/ to learn more +const config = { + solidity: { + version: "0.8.4", + settings: { + optimizer: { + enabled: true, + runs: 10000, // it slightly increases gas for contract deployment but decreases for user interactions + }, + }, + }, + gasReporter: { + enabled: true, + currency: "USD", + }, + mocha: { + timeout: 300000, // 300 seconds + }, + networks: { + hardhat: { + blockGasLimit: 30000000, + }, + }, +}; +exports.default = config; +//# sourceMappingURL=hardhat.config.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/hardhat.config.js.map b/lib/redstone-finance/evm-connector/dist/hardhat.config.js.map new file mode 100644 index 00000000..3cf7ae33 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/hardhat.config.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hardhat.config.js","sourceRoot":"","sources":["../hardhat.config.ts"],"names":[],"mappings":";;AACA,qCAAmC;AACnC,qCAAmC;AACnC,8BAA4B;AAC5B,gCAA8B;AAE9B,qDAAqD;AACrD,kDAAkD;AAElD,MAAM,MAAM,GAAsB;IAChC,QAAQ,EAAE;QACR,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE;YACR,SAAS,EAAE;gBACT,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,KAAK,EAAE,wFAAwF;aACtG;SACF;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;KAChB;IACD,KAAK,EAAE;QACL,OAAO,EAAE,MAAO,EAAE,cAAc;KACjC;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,aAAa,EAAE,QAAU;SAC1B;KACF;CACF,CAAC;AAEF,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/package.json b/lib/redstone-finance/evm-connector/dist/package.json new file mode 100644 index 00000000..ed926b53 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/package.json @@ -0,0 +1,49 @@ +{ + "name": "@redstone-finance/evm-connector", + "version": "0.0.22", + "description": "A tool to inject RedStone data into EVM compatible smart contracts", + "main": "dist/src/index.js", + "license": "MIT", + "scripts": { + "test": "hardhat test", + "build": "rm -rf dist && tsc -build", + "benchmark": "hardhat test benchmarks/run-benchmarks.ts", + "compile": "hardhat compile", + "postversion": "yarn build && git commit -a -m \"build: $npm_package_name@$npm_package_version\" && git push" + }, + "dependencies": { + "@chainlink/contracts": "^0.6.0", + "@openzeppelin/contracts": "^4.7.3", + "axios": "^1.1.3", + "ethers": "^5.6.8", + "redstone-protocol": "1.0.5", + "redstone-sdk": "1.0.7" + }, + "devDependencies": { + "@ethersproject/abi": "^5.6.3", + "@ethersproject/bytes": "^5.6.1", + "@ethersproject/providers": "^5.6.8", + "@nomiclabs/hardhat-ethers": "^2.0.6", + "@nomiclabs/hardhat-waffle": "^2.0.3", + "@openzeppelin/contracts-upgradeable": "^4.6.0", + "@typechain/ethers-v5": "^10.0.0", + "@typechain/hardhat": "^6.0.0", + "@types/chai": "^4.3.1", + "@types/chai-as-promised": "^7.1.5", + "@types/mocha": "^9.1.1", + "@types/node": "^17.0.37", + "chai": "^4.3.6", + "chai-as-promised": "^7.1.1", + "ethereum-waffle": "^3.4.4", + "hardhat": "^2.9.7", + "hardhat-gas-reporter": "^1.0.8", + "msw": "^0.47.4", + "prettier-plugin-solidity": "^1.0.0-beta.19", + "ts-node": "^10.8.0", + "typechain": "^8.0.0" + }, + "files": [ + "dist/**/*", + "contracts/**/*" + ] +} diff --git a/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts new file mode 100644 index 00000000..e47e0b59 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts @@ -0,0 +1,16 @@ +import { Contract } from "ethers"; +import { DataPackagesRequestParams, DataPackagesResponse } from "redstone-sdk"; +import { ScoreType } from "redstone-protocol"; +import { MockDataPackageConfig } from "./wrappers/MockWrapper"; +import { SimpleNumericMockConfig } from "./wrappers/SimpleMockNumericWrapper"; +export declare class WrapperBuilder { + private baseContract; + constructor(baseContract: Contract); + static wrap(contract: Contract): WrapperBuilder; + usingDataService(dataPackagesRequestParams: DataPackagesRequestParams, urls: string[]): Contract; + usingMockDataPackages(mockDataPackages: MockDataPackageConfig[]): Contract; + usingSimpleNumericMock(simpleNumericMockConfig: SimpleNumericMockConfig): Contract; + usingOnDemandRequest(nodeUrls: string[], scoreType: ScoreType): Contract; + usingDataPackages(dataPackages: DataPackagesResponse): Contract; +} +//# sourceMappingURL=WrapperBuilder.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts.map new file mode 100644 index 00000000..24606f8a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"WrapperBuilder.d.ts","sourceRoot":"","sources":["../../src/WrapperBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAe,MAAM,wBAAwB,CAAC;AAE5E,OAAO,EACL,uBAAuB,EAExB,MAAM,qCAAqC,CAAC;AAI7C,qBAAa,cAAc;IACb,OAAO,CAAC,YAAY;gBAAZ,YAAY,EAAE,QAAQ;IAE1C,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,GAAG,cAAc;IAI/C,gBAAgB,CACd,yBAAyB,EAAE,yBAAyB,EACpD,IAAI,EAAE,MAAM,EAAE,GACb,QAAQ;IAOX,qBAAqB,CAAC,gBAAgB,EAAE,qBAAqB,EAAE;IAM/D,sBAAsB,CAAC,uBAAuB,EAAE,uBAAuB;IAMvE,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,SAAS;IAU7D,iBAAiB,CAAC,YAAY,EAAE,oBAAoB;CAKrD"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js new file mode 100644 index 00000000..71a9a904 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js @@ -0,0 +1,36 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WrapperBuilder = void 0; +const MockWrapper_1 = require("./wrappers/MockWrapper"); +const DataServiceWrapper_1 = require("./wrappers/DataServiceWrapper"); +const SimpleMockNumericWrapper_1 = require("./wrappers/SimpleMockNumericWrapper"); +const OnDemandRequestWrapper_1 = require("./wrappers/OnDemandRequestWrapper"); +const DataPackagesWrapper_1 = require("./wrappers/DataPackagesWrapper"); +class WrapperBuilder { + constructor(baseContract) { + this.baseContract = baseContract; + } + static wrap(contract) { + return new WrapperBuilder(contract); + } + usingDataService(dataPackagesRequestParams, urls) { + return new DataServiceWrapper_1.DataServiceWrapper(dataPackagesRequestParams, urls).overwriteEthersContract(this.baseContract); + } + usingMockDataPackages(mockDataPackages) { + return new MockWrapper_1.MockWrapper(mockDataPackages).overwriteEthersContract(this.baseContract); + } + usingSimpleNumericMock(simpleNumericMockConfig) { + return new SimpleMockNumericWrapper_1.SimpleNumericMockWrapper(simpleNumericMockConfig).overwriteEthersContract(this.baseContract); + } + usingOnDemandRequest(nodeUrls, scoreType) { + return new OnDemandRequestWrapper_1.OnDemandRequestWrapper({ + signer: this.baseContract.signer, + scoreType, + }, nodeUrls).overwriteEthersContract(this.baseContract); + } + usingDataPackages(dataPackages) { + return new DataPackagesWrapper_1.DataPackagesWrapper(dataPackages).overwriteEthersContract(this.baseContract); + } +} +exports.WrapperBuilder = WrapperBuilder; +//# sourceMappingURL=WrapperBuilder.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js.map b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js.map new file mode 100644 index 00000000..4efde456 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/WrapperBuilder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"WrapperBuilder.js","sourceRoot":"","sources":["../../src/WrapperBuilder.ts"],"names":[],"mappings":";;;AAGA,wDAA4E;AAC5E,sEAAmE;AACnE,kFAG6C;AAC7C,8EAA2E;AAC3E,wEAAqE;AAErE,MAAa,cAAc;IACzB,YAAoB,YAAsB;QAAtB,iBAAY,GAAZ,YAAY,CAAU;IAAG,CAAC;IAE9C,MAAM,CAAC,IAAI,CAAC,QAAkB;QAC5B,OAAO,IAAI,cAAc,CAAC,QAAQ,CAAC,CAAC;IACtC,CAAC;IAED,gBAAgB,CACd,yBAAoD,EACpD,IAAc;QAEd,OAAO,IAAI,uCAAkB,CAC3B,yBAAyB,EACzB,IAAI,CACL,CAAC,uBAAuB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC;IAED,qBAAqB,CAAC,gBAAyC;QAC7D,OAAO,IAAI,yBAAW,CAAC,gBAAgB,CAAC,CAAC,uBAAuB,CAC9D,IAAI,CAAC,YAAY,CAClB,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,uBAAgD;QACrE,OAAO,IAAI,mDAAwB,CACjC,uBAAuB,CACxB,CAAC,uBAAuB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC;IAED,oBAAoB,CAAC,QAAkB,EAAE,SAAoB;QAC3D,OAAO,IAAI,+CAAsB,CAC/B;YACE,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,MAAM;YAChC,SAAS;SACV,EACD,QAAQ,CACT,CAAC,uBAAuB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC;IAED,iBAAiB,CAAC,YAAkC;QAClD,OAAO,IAAI,yCAAmB,CAAC,YAAY,CAAC,CAAC,uBAAuB,CAClE,IAAI,CAAC,YAAY,CAClB,CAAC;IACJ,CAAC;CACF;AA5CD,wCA4CC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts new file mode 100644 index 00000000..db0ca9da --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts @@ -0,0 +1,4 @@ +import { Contract } from "ethers"; +import { TransactionResponse } from "@ethersproject/providers"; +export declare const addContractWait: (contract: Contract, tx: TransactionResponse) => void; +//# sourceMappingURL=add-contract-wait.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts.map new file mode 100644 index 00000000..d7ebd85f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"add-contract-wait.d.ts","sourceRoot":"","sources":["../../../src/helpers/add-contract-wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAa,MAAM,QAAQ,CAAC;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAG/D,eAAO,MAAM,eAAe,aAChB,QAAQ,MACd,mBAAmB,SA+CxB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js new file mode 100644 index 00000000..4be631c4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js @@ -0,0 +1,47 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.addContractWait = void 0; +const utils_1 = require("ethers/lib/utils"); +// Copied from ethers.js source code +const addContractWait = (contract, tx) => { + const wait = tx.wait.bind(tx); + tx.wait = (confirmations) => { + return wait(confirmations).then((receipt) => { + receipt.events = receipt.logs.map((log) => { + let event = (0, utils_1.deepCopy)(log); + // let parsed: LogDescription = null; + let parsed = null; + try { + parsed = contract.interface.parseLog(log); + } + catch (e) { } + // Successfully parsed the event log; include it + if (parsed) { + event.args = parsed.args; + event.decode = (data, topics) => { + return contract.interface.decodeEventLog(parsed.eventFragment, data, topics); + }; + event.event = parsed.name; + event.eventSignature = parsed.signature; + } + // Useful operations + event.removeListener = () => { + return contract.provider; + }; + event.getBlock = () => { + return contract.provider.getBlock(receipt.blockHash); + }; + event.getTransaction = () => { + return contract.provider.getTransaction(receipt.transactionHash); + }; + event.getTransactionReceipt = () => { + return Promise.resolve(receipt); + }; + return event; + }); + return receipt; + }); + }; +}; +exports.addContractWait = addContractWait; +//# sourceMappingURL=add-contract-wait.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js.map b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js.map new file mode 100644 index 00000000..bfbca89c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/add-contract-wait.js.map @@ -0,0 +1 @@ +{"version":3,"file":"add-contract-wait.js","sourceRoot":"","sources":["../../../src/helpers/add-contract-wait.ts"],"names":[],"mappings":";;;AACA,4CAA4C;AAG5C,oCAAoC;AAC7B,MAAM,eAAe,GAAG,CAC7B,QAAkB,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,CAAC,CAAC;gBACF,KAAK,CAAC,cAAc,GAAG,GAAG,EAAE;oBAC1B,OAAO,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;gBACnE,CAAC,CAAC;gBACF,KAAK,CAAC,qBAAqB,GAAG,GAAG,EAAE;oBACjC,OAAO,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBAClC,CAAC,CAAC;gBAEF,OAAO,KAAK,CAAC;YACf,CAAC,CAAC,CAAC;YAEH,OAAO,OAAO,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC;AAjDW,QAAA,eAAe,mBAiD1B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts new file mode 100644 index 00000000..2c08feb7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts @@ -0,0 +1,2 @@ +export declare const parseAggregatedErrors: (error: AggregateError) => string[]; +//# sourceMappingURL=parse-aggregated-errors.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts.map new file mode 100644 index 00000000..a4c69419 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"parse-aggregated-errors.d.ts","sourceRoot":"","sources":["../../../src/helpers/parse-aggregated-errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,UAAW,cAAc,KAAG,MAAM,EAKnE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js new file mode 100644 index 00000000..fc6dbb1b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseAggregatedErrors = void 0; +const parseAggregatedErrors = (error) => { + return error.errors.map((error) => { + const errorStringified = JSON.stringify(error, null, 2); + return errorStringified !== "{}" ? errorStringified : error.message; + }); +}; +exports.parseAggregatedErrors = parseAggregatedErrors; +//# sourceMappingURL=parse-aggregated-errors.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js.map b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js.map new file mode 100644 index 00000000..46c1d5f7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/parse-aggregated-errors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"parse-aggregated-errors.js","sourceRoot":"","sources":["../../../src/helpers/parse-aggregated-errors.ts"],"names":[],"mappings":";;;AAAO,MAAM,qBAAqB,GAAG,CAAC,KAAqB,EAAY,EAAE;IACvE,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE;QACrC,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACxD,OAAO,gBAAgB,KAAK,IAAI,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;IACtE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AALW,QAAA,qBAAqB,yBAKhC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts new file mode 100644 index 00000000..eafee1c9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts @@ -0,0 +1,6 @@ +import { ParamsForDryRunVerification } from "../wrappers/BaseWrapper"; +export interface RequestPayloadWithDryRunParams extends ParamsForDryRunVerification { + redstonePayload: string; +} +export declare const runDryRun: ({ functionName, contract, transaction, redstonePayload, }: RequestPayloadWithDryRunParams) => Promise; +//# sourceMappingURL=run-dry-run.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts.map new file mode 100644 index 00000000..27a9fce9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"run-dry-run.d.ts","sourceRoot":"","sources":["../../../src/helpers/run-dry-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAEtE,MAAM,WAAW,8BACf,SAAQ,2BAA2B;IACnC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,SAAS,8DAKnB,8BAA8B,kBAKhC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js new file mode 100644 index 00000000..9707631c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.runDryRun = void 0; +const runDryRun = async ({ functionName, contract, transaction, redstonePayload, }) => { + const transactionToTest = Object.assign({}, transaction); + transactionToTest.data = transactionToTest.data + redstonePayload; + const result = await contract.provider.call(transactionToTest); + contract.interface.decodeFunctionResult(functionName, result); +}; +exports.runDryRun = runDryRun; +//# sourceMappingURL=run-dry-run.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js.map b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js.map new file mode 100644 index 00000000..0cb32562 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/run-dry-run.js.map @@ -0,0 +1 @@ +{"version":3,"file":"run-dry-run.js","sourceRoot":"","sources":["../../../src/helpers/run-dry-run.ts"],"names":[],"mappings":";;;AAOO,MAAM,SAAS,GAAG,KAAK,EAAE,EAC9B,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,eAAe,GACgB,EAAE,EAAE;IACnC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;IACzD,iBAAiB,CAAC,IAAI,GAAG,iBAAiB,CAAC,IAAI,GAAG,eAAe,CAAC;IAClE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC/D,QAAQ,CAAC,SAAS,CAAC,oBAAoB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAChE,CAAC,CAAC;AAVW,QAAA,SAAS,aAUpB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts new file mode 100644 index 00000000..0405f209 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts @@ -0,0 +1,41 @@ +import { ethers } from "ethers"; +import { DataPoint, INumericDataPoint, IStringDataPoint, SignedDataPackagePlainObj } from "redstone-protocol"; +import { ConvertibleToBytes32 } from "redstone-protocol/src/common/utils"; +import { MockDataPackageConfig } from "../wrappers/MockWrapper"; +export declare const MAX_MOCK_SIGNERS_COUNT = 19; +export declare type MockSignerIndex = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19; +export declare type MockSignerAddress = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" | "0x70997970C51812dc3A010C7d01b50e0d17dc79C8" | "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC" | "0x90F79bf6EB2c4f870365E785982E1f101E93b906" | "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65" | "0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc" | "0x976EA74026E726554dB657fA54763abd0C3a0aa9" | "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955" | "0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f" | "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720" | "0xBcd4042DE499D14e55001CcbB24a551F3b954096" | "0x71bE63f3384f5fb98995898A86B02Fb2426c5788" | "0xFABB0ac9d68B0B445fB7357272Ff202C5651694a" | "0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec" | "0xdF3e18d64BC6A983f673Ab319CCaE4f1a57C7097" | "0xcd3B766CCDd6AE721141F452C550Ca635964ce71" | "0x2546BcD3c84621e976D8185a91A922aE77ECEc30" | "0xbDA5747bFD65F08deb54cb465eB87D40e51B197E" | "0xdD2FD4581271e230360230F9337D5c0430Bf44C0" | "0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199"; +export interface MockPackageArgs { + mockSignerIndex: MockSignerIndex; + timestampMilliseconds?: number; +} +export interface MockNumericPackageArgs extends MockPackageArgs { + dataPoints: INumericDataPoint[]; +} +export interface MockStringPackageArgs extends MockPackageArgs { + dataPoints: IStringDataPoint[]; +} +export interface MockPackageWithOneNumericDataPointArgs extends MockPackageArgs, INumericDataPoint { +} +export interface MockPackageWithOneBytesDataPointArgs extends MockPackageArgs { + dataFeedId?: ConvertibleToBytes32; + hexValue: string; +} +export declare const DEFAULT_TIMESTAMP_FOR_TESTS = 1654353400000; +export declare const DEFAULT_DATA_FEED_ID = "SOME LONG STRING FOR DATA FEED ID TO TRIGGER SYMBOL HASHING"; +export declare const DEFAULT_DATA_FEED_ID_BYTES_32: Uint8Array; +export declare const MOCK_PRIVATE_KEYS: string[]; +export declare const MOCK_SIGNERS: ethers.Wallet[]; +export declare const getMockSignerPrivateKey: (mockSignerAddress: MockSignerAddress) => string; +export declare const getMockSignerAddress: (signerIndex: MockSignerIndex) => MockSignerAddress; +export declare const getMockPackage: (opts: MockPackageArgs, dataPoints: DataPoint[]) => MockDataPackageConfig; +export declare const getMockSignedDataPackageObj: (args: MockNumericPackageArgs) => SignedDataPackagePlainObj; +export declare const getMockNumericPackage: (args: MockNumericPackageArgs) => MockDataPackageConfig; +export declare const getMockStringPackage: (args: MockStringPackageArgs) => MockDataPackageConfig; +export declare const getMockPackageWithOneNumericDataPoint: (args: MockPackageWithOneNumericDataPointArgs) => MockDataPackageConfig; +export declare const getMockPackageWithOneBytesDataPoint: (args: MockPackageWithOneBytesDataPointArgs) => MockDataPackageConfig; +export declare const getRange: (rangeArgs: { + start: number; + length: number; +}) => number[]; +//# sourceMappingURL=test-utils.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts.map new file mode 100644 index 00000000..9362b6d3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../src/helpers/test-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAEL,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAEhB,yBAAyB,EAG1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC,oBAAY,eAAe,GACvB,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GAC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AM,cAAc,SACnB,eAAe,cACT,SAAS,EAAE,KACtB,qBAOF,CAAC;AAEF,eAAO,MAAM,2BAA2B,SAChC,sBAAsB,KAC3B,yBAUF,CAAC;AAEF,eAAO,MAAM,qBAAqB,SAC1B,sBAAsB,KAC3B,qBAKF,CAAC;AAEF,eAAO,MAAM,oBAAoB,SACzB,qBAAqB,KAC1B,qBAGF,CAAC;AAEF,eAAO,MAAM,qCAAqC,SAC1C,sCAAsC,KAC3C,qBAMF,CAAC;AAEF,eAAO,MAAM,mCAAmC,SACxC,oCAAoC,KACzC,qBAMF,CAAC;AAGF,eAAO,MAAM,QAAQ,cAAe;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,KAAG,MAAM,EAET,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js new file mode 100644 index 00000000..1dcea12c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js @@ -0,0 +1,140 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getRange = exports.getMockPackageWithOneBytesDataPoint = exports.getMockPackageWithOneNumericDataPoint = exports.getMockStringPackage = exports.getMockNumericPackage = exports.getMockSignedDataPackageObj = exports.getMockPackage = exports.getMockSignerAddress = exports.getMockSignerPrivateKey = exports.MOCK_SIGNERS = exports.MOCK_PRIVATE_KEYS = exports.DEFAULT_DATA_FEED_ID_BYTES_32 = exports.DEFAULT_DATA_FEED_ID = exports.DEFAULT_TIMESTAMP_FOR_TESTS = exports.MAX_MOCK_SIGNERS_COUNT = void 0; +const bytes_1 = require("@ethersproject/bytes"); +const ethers_1 = require("ethers"); +const redstone_protocol_1 = require("redstone-protocol"); +exports.MAX_MOCK_SIGNERS_COUNT = 19; +// We lock the timestamp to have deterministic gas consumption +// for being able to compare gas costs of different implementations +exports.DEFAULT_TIMESTAMP_FOR_TESTS = 1654353400000; +// Default data feed id +// Used in mock data packages with one data point +exports.DEFAULT_DATA_FEED_ID = "SOME LONG STRING FOR DATA FEED ID TO TRIGGER SYMBOL HASHING"; +exports.DEFAULT_DATA_FEED_ID_BYTES_32 = redstone_protocol_1.utils.convertStringToBytes32(exports.DEFAULT_DATA_FEED_ID); +// Well-known private keys, which are used by +// default in hardhat testing environment +exports.MOCK_PRIVATE_KEYS = []; +// Address: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 +exports.MOCK_PRIVATE_KEYS[0] = + "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"; +// Address: 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 +exports.MOCK_PRIVATE_KEYS[1] = + "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"; +// Address: 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC +exports.MOCK_PRIVATE_KEYS[2] = + "0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a"; +// Address: 0x90F79bf6EB2c4f870365E785982E1f101E93b906 +exports.MOCK_PRIVATE_KEYS[3] = + "0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6"; +// Address: 0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65 +exports.MOCK_PRIVATE_KEYS[4] = + "0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a"; +// Address: 0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc +exports.MOCK_PRIVATE_KEYS[5] = + "0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba"; +// Address: 0x976EA74026E726554dB657fA54763abd0C3a0aa9 +exports.MOCK_PRIVATE_KEYS[6] = + "0x92db14e403b83dfe3df233f83dfa3a0d7096f21ca9b0d6d6b8d88b2b4ec1564e"; +// Address: 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955 +exports.MOCK_PRIVATE_KEYS[7] = + "0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356"; +// Address: 0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f +exports.MOCK_PRIVATE_KEYS[8] = + "0xdbda1821b80551c9d65939329250298aa3472ba22feea921c0cf5d620ea67b97"; +// Address: 0xa0Ee7A142d267C1f36714E4a8F75612F20a79720 +exports.MOCK_PRIVATE_KEYS[9] = + "0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6"; +// Address: 0xBcd4042DE499D14e55001CcbB24a551F3b954096 +exports.MOCK_PRIVATE_KEYS[10] = + "0xf214f2b2cd398c806f84e317254e0f0b801d0643303237d97a22a48e01628897"; +// Address: 0x71bE63f3384f5fb98995898A86B02Fb2426c5788 +exports.MOCK_PRIVATE_KEYS[11] = + "0x701b615bbdfb9de65240bc28bd21bbc0d996645a3dd57e7b12bc2bdf6f192c82"; +// Address: 0xFABB0ac9d68B0B445fB7357272Ff202C5651694a +exports.MOCK_PRIVATE_KEYS[12] = + "0xa267530f49f8280200edf313ee7af6b827f2a8bce2897751d06a843f644967b1"; +// Address: 0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec +exports.MOCK_PRIVATE_KEYS[13] = + "0x47c99abed3324a2707c28affff1267e45918ec8c3f20b8aa892e8b065d2942dd"; +// Address: 0xdF3e18d64BC6A983f673Ab319CCaE4f1a57C7097 +exports.MOCK_PRIVATE_KEYS[14] = + "0xc526ee95bf44d8fc405a158bb884d9d1238d99f0612e9f33d006bb0789009aaa"; +// Address: 0xcd3B766CCDd6AE721141F452C550Ca635964ce71 +exports.MOCK_PRIVATE_KEYS[15] = + "0x8166f546bab6da521a8369cab06c5d2b9e46670292d85c875ee9ec20e84ffb61"; +// Address: 0x2546BcD3c84621e976D8185a91A922aE77ECEc30 +exports.MOCK_PRIVATE_KEYS[16] = + "0xea6c44ac03bff858b476bba40716402b03e41b8e97e276d1baec7c37d42484a0"; +// Address: 0xbDA5747bFD65F08deb54cb465eB87D40e51B197E +exports.MOCK_PRIVATE_KEYS[17] = + "0x689af8efa8c651a91ad287602527f3af2fe9f6501a7ac4b061667b5a93e037fd"; +// Address: 0xdD2FD4581271e230360230F9337D5c0430Bf44C0 +exports.MOCK_PRIVATE_KEYS[18] = + "0xde9be858da4a475276426320d5e9262ecfc3ba460bfac56360bfa6c4c28b4ee0"; +// Address: 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 +exports.MOCK_PRIVATE_KEYS[19] = + "0xdf57089febbacf7ba0bc227dafbffa9fc08a93fdc68e1e42411a14efcf23656e"; +exports.MOCK_SIGNERS = exports.MOCK_PRIVATE_KEYS.map((privateKey) => new ethers_1.ethers.Wallet(privateKey)); +const getMockSignerPrivateKey = (mockSignerAddress) => { + for (const privateKey of exports.MOCK_PRIVATE_KEYS) { + const address = new ethers_1.ethers.Wallet(privateKey).address; + if (address === mockSignerAddress) { + return privateKey; + } + } + throw new Error(`Invalid mock signer address: ${mockSignerAddress}`); +}; +exports.getMockSignerPrivateKey = getMockSignerPrivateKey; +const getMockSignerAddress = (signerIndex) => { + const address = new ethers_1.ethers.Wallet(exports.MOCK_PRIVATE_KEYS[signerIndex]).address; + return address; +}; +exports.getMockSignerAddress = getMockSignerAddress; +const getMockPackage = (opts, dataPoints) => { + const timestampMilliseconds = opts.timestampMilliseconds || exports.DEFAULT_TIMESTAMP_FOR_TESTS; + return { + signer: exports.MOCK_SIGNERS[opts.mockSignerIndex].address, + dataPackage: new redstone_protocol_1.DataPackage(dataPoints, timestampMilliseconds), + }; +}; +exports.getMockPackage = getMockPackage; +const getMockSignedDataPackageObj = (args) => { + const numericDataPoints = args.dataPoints.map((dp) => new redstone_protocol_1.NumericDataPoint(dp)); + const mockPackage = (0, exports.getMockPackage)(args, numericDataPoints); + return { + ...mockPackage.dataPackage + .sign(exports.MOCK_SIGNERS[args.mockSignerIndex].privateKey) + .toObj(), + }; +}; +exports.getMockSignedDataPackageObj = getMockSignedDataPackageObj; +const getMockNumericPackage = (args) => { + const numericDataPoints = args.dataPoints.map((dp) => new redstone_protocol_1.NumericDataPoint(dp)); + return (0, exports.getMockPackage)(args, numericDataPoints); +}; +exports.getMockNumericPackage = getMockNumericPackage; +const getMockStringPackage = (args) => { + const stringDataPoints = args.dataPoints.map((dp) => new redstone_protocol_1.StringDataPoint(dp)); + return (0, exports.getMockPackage)(args, stringDataPoints); +}; +exports.getMockStringPackage = getMockStringPackage; +const getMockPackageWithOneNumericDataPoint = (args) => { + const numericDataPoint = new redstone_protocol_1.NumericDataPoint({ + ...args, + dataFeedId: args.dataFeedId || exports.DEFAULT_DATA_FEED_ID, + }); + return (0, exports.getMockPackage)(args, [numericDataPoint]); +}; +exports.getMockPackageWithOneNumericDataPoint = getMockPackageWithOneNumericDataPoint; +const getMockPackageWithOneBytesDataPoint = (args) => { + const dataPoint = new redstone_protocol_1.DataPoint(args.dataFeedId || exports.DEFAULT_DATA_FEED_ID, (0, bytes_1.arrayify)(args.hexValue)); + return (0, exports.getMockPackage)(args, [dataPoint]); +}; +exports.getMockPackageWithOneBytesDataPoint = getMockPackageWithOneBytesDataPoint; +// Prepares an array with sequential numbers +const getRange = (rangeArgs) => { + return [...Array(rangeArgs.length).keys()].map((i) => (i += rangeArgs.start)); +}; +exports.getRange = getRange; +//# sourceMappingURL=test-utils.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js.map b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js.map new file mode 100644 index 00000000..9edff3bf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/helpers/test-utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"test-utils.js","sourceRoot":"","sources":["../../../src/helpers/test-utils.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAChD,mCAAgC;AAChC,yDAS2B;AAId,QAAA,sBAAsB,GAAG,EAAE,CAAC;AAoEzC,8DAA8D;AAC9D,mEAAmE;AACtD,QAAA,2BAA2B,GAAG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AA,oBAAoB,wBAK/B;AAEK,MAAM,qCAAqC,GAAG,CACnD,IAA4C,EACrB,EAAE;IACzB,MAAM,gBAAgB,GAAG,IAAI,oCAAgB,CAAC;QAC5C,GAAG,IAAI;QACP,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,4BAAoB;KACpD,CAAC,CAAC;IACH,OAAO,IAAA,sBAAc,EAAC,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAClD,CAAC,CAAC;AARW,QAAA,qCAAqC,yCAQhD;AAEK,MAAM,mCAAmC,GAAG,CACjD,IAA0C,EACnB,EAAE;IACzB,MAAM,SAAS,GAAG,IAAI,6BAAS,CAC7B,IAAI,CAAC,UAAU,IAAI,4BAAoB,EACvC,IAAA,gBAAQ,EAAC,IAAI,CAAC,QAAQ,CAAC,CACxB,CAAC;IACF,OAAO,IAAA,sBAAc,EAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;AAC3C,CAAC,CAAC;AARW,QAAA,mCAAmC,uCAQ9C;AAEF,4CAA4C;AACrC,MAAM,QAAQ,GAAG,CAAC,SAGxB,EAAY,EAAE;IACb,OAAO,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;AAChF,CAAC,CAAC;AALW,QAAA,QAAQ,YAKnB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/index.d.ts b/lib/redstone-finance/evm-connector/dist/src/index.d.ts new file mode 100644 index 00000000..25240468 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/index.d.ts @@ -0,0 +1,2 @@ +export * from "./WrapperBuilder"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/index.d.ts.map new file mode 100644 index 00000000..99a4c833 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/index.js b/lib/redstone-finance/evm-connector/dist/src/index.js new file mode 100644 index 00000000..f1f81b2e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/index.js @@ -0,0 +1,18 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./WrapperBuilder"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/index.js.map b/lib/redstone-finance/evm-connector/dist/src/index.js.map new file mode 100644 index 00000000..1b3d81d6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts new file mode 100644 index 00000000..5c78461e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts @@ -0,0 +1,13 @@ +import { Contract, PopulatedTransaction } from "ethers"; +export interface ParamsForDryRunVerification { + functionName: string; + contract: Contract; + transaction: PopulatedTransaction; +} +export declare abstract class BaseWrapper { + abstract getBytesDataForAppending(params?: ParamsForDryRunVerification): Promise; + overwriteEthersContract(contract: Contract): Contract; + private overwritePopulateTranasction; + private overwriteFunction; +} +//# sourceMappingURL=BaseWrapper.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts.map new file mode 100644 index 00000000..b54e5a9c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"BaseWrapper.d.ts","sourceRoot":"","sources":["../../../src/wrappers/BaseWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAU,MAAM,QAAQ,CAAC;AAGhE,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,oBAAoB,CAAC;CACnC;AAQD,8BAAsB,WAAW;IAC/B,QAAQ,CAAC,wBAAwB,CAC/B,MAAM,CAAC,EAAE,2BAA2B,GACnC,OAAO,CAAC,MAAM,CAAC;IAElB,uBAAuB,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ;IA6BrD,OAAO,CAAC,4BAA4B;IAqBpC,OAAO,CAAC,iBAAiB;CAmC1B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js new file mode 100644 index 00000000..4e6caf8b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js @@ -0,0 +1,61 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.BaseWrapper = void 0; +const ethers_1 = require("ethers"); +const add_contract_wait_1 = require("../helpers/add-contract-wait"); +class BaseWrapper { + overwriteEthersContract(contract) { + const contractPrototype = Object.getPrototypeOf(contract); + const wrappedContract = Object.assign(Object.create(contractPrototype), contract, { populateTransaction: {} }); + const functionNames = Object.keys(contract.functions); + functionNames.forEach((functionName) => { + if (!functionName.includes("(")) { + // It's important to overwrite the `populateTransaction` + // function before overwriting the contract function, + // because the updated implementation of the contract function + // expects that the `populateTransaction` will return tx with + // an attached redstone payload + this.overwritePopulateTranasction({ + wrappedContract, + contract, + functionName, + }); + this.overwriteFunction({ wrappedContract, contract, functionName }); + } + }); + return wrappedContract; + } + overwritePopulateTranasction({ wrappedContract, contract, functionName, }) { + wrappedContract.populateTransaction[functionName] = async (...args) => { + const originalTx = await contract.populateTransaction[functionName](...args); + const dataToAppend = await this.getBytesDataForAppending({ + functionName, + contract, + transaction: originalTx, + }); + originalTx.data += dataToAppend; + return originalTx; + }; + } + overwriteFunction({ wrappedContract, contract, functionName, }) { + const isCall = contract.interface.getFunction(functionName).constant; + const isDryRun = functionName.endsWith("DryRun"); + wrappedContract[functionName] = async (...args) => { + const tx = await wrappedContract.populateTransaction[functionName](...args); + if (isCall || isDryRun) { + const shouldUseSigner = ethers_1.Signer.isSigner(contract.signer); + const result = await contract[shouldUseSigner ? "signer" : "provider"].call(tx); + const decoded = contract.interface.decodeFunctionResult(functionName, result); + return decoded.length == 1 ? decoded[0] : decoded; + } + else { + const sentTx = await contract.signer.sendTransaction(tx); + // Tweak the tx.wait so the receipt has extra properties + (0, add_contract_wait_1.addContractWait)(contract, sentTx); + return sentTx; + } + }; + } +} +exports.BaseWrapper = BaseWrapper; +//# sourceMappingURL=BaseWrapper.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js.map new file mode 100644 index 00000000..cde665eb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/BaseWrapper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"BaseWrapper.js","sourceRoot":"","sources":["../../../src/wrappers/BaseWrapper.ts"],"names":[],"mappings":";;;AAAA,mCAAgE;AAChE,oEAA+D;AAc/D,MAAsB,WAAW;IAK/B,uBAAuB,CAAC,QAAkB;QACxC,MAAM,iBAAiB,GAAG,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC1D,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CACnC,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAChC,QAAQ,EACR,EAAE,mBAAmB,EAAE,EAAE,EAAE,CAC5B,CAAC;QAEF,MAAM,aAAa,GAAa,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAChE,aAAa,CAAC,OAAO,CAAC,CAAC,YAAY,EAAE,EAAE;YACrC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC/B,wDAAwD;gBACxD,qDAAqD;gBACrD,8DAA8D;gBAC9D,6DAA6D;gBAC7D,+BAA+B;gBAC/B,IAAI,CAAC,4BAA4B,CAAC;oBAChC,eAAe;oBACf,QAAQ;oBACR,YAAY;iBACb,CAAC,CAAC;gBAEH,IAAI,CAAC,iBAAiB,CAAC,EAAE,eAAe,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,CAAC;aACrE;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,eAAe,CAAC;IACzB,CAAC;IAEO,4BAA4B,CAAC,EACnC,eAAe,EACf,QAAQ,EACR,YAAY,GACU;QACtB,eAAe,CAAC,mBAAmB,CAAC,YAAY,CAAC,GAAG,KAAK,EACvD,GAAG,IAAW,EACd,EAAE;YACF,MAAM,UAAU,GAAG,MAAM,QAAQ,CAAC,mBAAmB,CAAC,YAAY,CAAC,CACjE,GAAG,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CAAe,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;gBAElC,OAAO,MAAM,CAAC;aACf;QACH,CAAC,CAAC;IACJ,CAAC;CACF;AA1FD,kCA0FC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts new file mode 100644 index 00000000..b753a055 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts @@ -0,0 +1,10 @@ +import { DataPackagesResponse } from "redstone-sdk"; +import { BaseWrapper } from "./BaseWrapper"; +export declare class DataPackagesWrapper extends BaseWrapper { + private dataPackages; + constructor(dataPackages: DataPackagesResponse); + getUnsignedMetadata(): string; + getBytesDataForAppending(): Promise; + getRedstonePayload(): string; +} +//# sourceMappingURL=DataPackagesWrapper.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts.map new file mode 100644 index 00000000..76198ce3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"DataPackagesWrapper.d.ts","sourceRoot":"","sources":["../../../src/wrappers/DataPackagesWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,qBAAa,mBAAoB,SAAQ,WAAW;IACtC,OAAO,CAAC,YAAY;gBAAZ,YAAY,EAAE,oBAAoB;IAItD,mBAAmB,IAAI,MAAM;IAKvB,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC;IAIjD,kBAAkB;CASnB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js new file mode 100644 index 00000000..1810c415 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js @@ -0,0 +1,26 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DataPackagesWrapper = void 0; +const redstone_protocol_1 = require("redstone-protocol"); +const BaseWrapper_1 = require("./BaseWrapper"); +const package_json_1 = require("../../package.json"); +class DataPackagesWrapper extends BaseWrapper_1.BaseWrapper { + constructor(dataPackages) { + super(); + this.dataPackages = dataPackages; + } + getUnsignedMetadata() { + const currentTimestamp = Date.now(); + return `${currentTimestamp}#${package_json_1.version}#data-packages-wrapper`; + } + async getBytesDataForAppending() { + return this.getRedstonePayload(); + } + getRedstonePayload() { + const unsignedMetadataMsg = this.getUnsignedMetadata(); + const signedDataPackages = Object.values(this.dataPackages).flat(); + return redstone_protocol_1.RedstonePayload.prepare(signedDataPackages, unsignedMetadataMsg || ""); + } +} +exports.DataPackagesWrapper = DataPackagesWrapper; +//# sourceMappingURL=DataPackagesWrapper.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js.map new file mode 100644 index 00000000..1688ab35 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataPackagesWrapper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"DataPackagesWrapper.js","sourceRoot":"","sources":["../../../src/wrappers/DataPackagesWrapper.ts"],"names":[],"mappings":";;;AACA,yDAAoD;AACpD,+CAA4C;AAC5C,qDAA6C;AAE7C,MAAa,mBAAoB,SAAQ,yBAAW;IAClD,YAAoB,YAAkC;QACpD,KAAK,EAAE,CAAC;QADU,iBAAY,GAAZ,YAAY,CAAsB;IAEtD,CAAC;IAED,mBAAmB;QACjB,MAAM,gBAAgB,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QACpC,OAAO,GAAG,gBAAgB,IAAI,sBAAO,wBAAwB,CAAC;IAChE,CAAC;IAED,KAAK,CAAC,wBAAwB;QAC5B,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC;IACnC,CAAC;IAED,kBAAkB;QAChB,MAAM,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACvD,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;QAEnE,OAAO,mCAAe,CAAC,OAAO,CAC5B,kBAAkB,EAClB,mBAAmB,IAAI,EAAE,CAC1B,CAAC;IACJ,CAAC;CACF;AAvBD,kDAuBC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts new file mode 100644 index 00000000..8bd63f48 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts @@ -0,0 +1,16 @@ +import { DataPackagesRequestParams } from "redstone-sdk"; +import { BaseWrapper, ParamsForDryRunVerification } from "./BaseWrapper"; +interface DryRunParamsWithUnsignedMetadata extends ParamsForDryRunVerification { + unsignedMetadataMsg: string; +} +export declare class DataServiceWrapper extends BaseWrapper { + private dataPackagesRequestParams; + private urls; + constructor(dataPackagesRequestParams: DataPackagesRequestParams, urls: string[]); + getUnsignedMetadata(): string; + getBytesDataForAppending(params: ParamsForDryRunVerification): Promise; + requestPayloadWithDryRun({ unsignedMetadataMsg, ...params }: DryRunParamsWithUnsignedMetadata): Promise; + requestPayloadWithoutDryRun(urls: string[], unsignedMetadataMsg: string): Promise; +} +export {}; +//# sourceMappingURL=DataServiceWrapper.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts.map new file mode 100644 index 00000000..857b2ea1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"DataServiceWrapper.d.ts","sourceRoot":"","sources":["../../../src/wrappers/DataServiceWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EAE1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAKzE,UAAU,gCAAiC,SAAQ,2BAA2B;IAC5E,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,kBAAmB,SAAQ,WAAW;IAE/C,OAAO,CAAC,yBAAyB;IACjC,OAAO,CAAC,IAAI;gBADJ,yBAAyB,EAAE,yBAAyB,EACpD,IAAI,EAAE,MAAM,EAAE;IAKxB,mBAAmB,IAAI,MAAM;IAKvB,wBAAwB,CAC5B,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,MAAM,CAAC;IAgBZ,wBAAwB,CAAC,EAC7B,mBAAmB,EACnB,GAAG,MAAM,EACV,EAAE,gCAAgC;IAiB7B,2BAA2B,CAC/B,IAAI,EAAE,MAAM,EAAE,EACd,mBAAmB,EAAE,MAAM;CAQ9B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js new file mode 100644 index 00000000..e99f322f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js @@ -0,0 +1,48 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DataServiceWrapper = void 0; +const redstone_sdk_1 = require("redstone-sdk"); +const BaseWrapper_1 = require("./BaseWrapper"); +const parse_aggregated_errors_1 = require("../helpers/parse-aggregated-errors"); +const run_dry_run_1 = require("../helpers/run-dry-run"); +const package_json_1 = require("../../package.json"); +class DataServiceWrapper extends BaseWrapper_1.BaseWrapper { + constructor(dataPackagesRequestParams, urls) { + super(); + this.dataPackagesRequestParams = dataPackagesRequestParams; + this.urls = urls; + } + getUnsignedMetadata() { + const currentTimestamp = Date.now(); + return `${currentTimestamp}#${package_json_1.version}#${this.dataPackagesRequestParams.dataServiceId}`; + } + async getBytesDataForAppending(params) { + const unsignedMetadataMsg = this.getUnsignedMetadata(); + const disablePayloadsDryRun = Boolean(this.dataPackagesRequestParams.disablePayloadsDryRun); + if (disablePayloadsDryRun) { + return this.requestPayloadWithoutDryRun(this.urls, unsignedMetadataMsg); + } + return this.requestPayloadWithDryRun({ ...params, unsignedMetadataMsg }); + } + /* + Call function on provider always returns some result and doesn't throw an error. + Later we need to decode the result from the call (decodeFunctionResult) and + this function will throw an error if the call was reverted. + */ + async requestPayloadWithDryRun({ unsignedMetadataMsg, ...params }) { + const promises = this.urls.map(async (url) => { + const redstonePayload = await this.requestPayloadWithoutDryRun([url], unsignedMetadataMsg); + await (0, run_dry_run_1.runDryRun)({ ...params, redstonePayload }); + return redstonePayload; + }); + return Promise.any(promises).catch((error) => { + const parsedErrors = (0, parse_aggregated_errors_1.parseAggregatedErrors)(error); + throw new Error(`All redstone payloads do not pass dry run verification, aggregated errors: ${parsedErrors}`); + }); + } + async requestPayloadWithoutDryRun(urls, unsignedMetadataMsg) { + return (0, redstone_sdk_1.requestRedstonePayload)(this.dataPackagesRequestParams, urls, unsignedMetadataMsg); + } +} +exports.DataServiceWrapper = DataServiceWrapper; +//# sourceMappingURL=DataServiceWrapper.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js.map new file mode 100644 index 00000000..e03347cf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/DataServiceWrapper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"DataServiceWrapper.js","sourceRoot":"","sources":["../../../src/wrappers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AAC;QACzB,CAAC,CAAC,CAAC;QACH,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,KAAU,EAAE,EAAE;YAChD,MAAM,YAAY,GAAG,IAAA,+CAAqB,EAAC,KAAK,CAAC,CAAC;YAClD,MAAM,IAAI,KAAK,CACb,8EAA8E,YAAY,EAAE,CAC7F,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,2BAA2B,CAC/B,IAAc,EACd,mBAA2B;QAE3B,OAAO,IAAA,qCAAsB,EAC3B,IAAI,CAAC,yBAAyB,EAC9B,IAAI,EACJ,mBAAmB,CACpB,CAAC;IACJ,CAAC;CACF;AA7DD,gDA6DC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts new file mode 100644 index 00000000..8777020a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts @@ -0,0 +1,15 @@ +import { DataPackage } from "redstone-protocol"; +import { MockSignerAddress } from "../helpers/test-utils"; +import { BaseWrapper } from "./BaseWrapper"; +export interface MockDataPackageConfig { + signer: MockSignerAddress; + dataPackage: DataPackage; +} +export declare class MockWrapper extends BaseWrapper { + private mockDataPackages; + constructor(mockDataPackages: MockDataPackageConfig[]); + getUnsignedMetadata(): string; + dryRunToVerifyPayload(payloads: string[]): Promise; + getBytesDataForAppending(): Promise; +} +//# sourceMappingURL=MockWrapper.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts.map new file mode 100644 index 00000000..a732a124 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MockWrapper.d.ts","sourceRoot":"","sources":["../../../src/wrappers/MockWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAGZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,qBAAa,WAAY,SAAQ,WAAW;IAC9B,OAAO,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,qBAAqB,EAAE;IAI7D,mBAAmB,IAAI,MAAM;IAIvB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAI1D,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC;CAalD"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js new file mode 100644 index 00000000..270f63a9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MockWrapper = void 0; +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../helpers/test-utils"); +const BaseWrapper_1 = require("./BaseWrapper"); +const package_json_1 = require("../../package.json"); +class MockWrapper extends BaseWrapper_1.BaseWrapper { + constructor(mockDataPackages) { + super(); + this.mockDataPackages = mockDataPackages; + } + getUnsignedMetadata() { + return `${package_json_1.version}#mock`; + } + async dryRunToVerifyPayload(payloads) { + return payloads[0]; + } + async getBytesDataForAppending() { + const signedDataPackages = []; + for (const mockDataPackage of this.mockDataPackages) { + const privateKey = (0, test_utils_1.getMockSignerPrivateKey)(mockDataPackage.signer); + const signedDataPackage = mockDataPackage.dataPackage.sign(privateKey); + signedDataPackages.push(signedDataPackage); + } + const unsignedMetadata = this.getUnsignedMetadata(); + return redstone_protocol_1.RedstonePayload.prepare(signedDataPackages, unsignedMetadata); + } +} +exports.MockWrapper = MockWrapper; +//# sourceMappingURL=MockWrapper.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js.map new file mode 100644 index 00000000..9b42d865 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/MockWrapper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MockWrapper.js","sourceRoot":"","sources":["../../../src/wrappers/MockWrapper.ts"],"names":[],"mappings":";;;AAAA,yDAI2B;AAC3B,sDAG+B;AAC/B,+CAA4C;AAC5C,qDAA6C;AAO7C,MAAa,WAAY,SAAQ,yBAAW;IAC1C,YAAoB,gBAAyC;QAC3D,KAAK,EAAE,CAAC;QADU,qBAAgB,GAAhB,gBAAgB,CAAyB;IAE7D,CAAC;IAED,mBAAmB;QACjB,OAAO,GAAG,sBAAO,OAAO,CAAC;IAC3B,CAAC;IAED,KAAK,CAAC,qBAAqB,CAAC,QAAkB;QAC5C,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,wBAAwB;QAC5B,MAAM,kBAAkB,GAAwB,EAAE,CAAC;QAEnD,KAAK,MAAM,eAAe,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACnD,MAAM,UAAU,GAAG,IAAA,oCAAuB,EAAC,eAAe,CAAC,MAAM,CAAC,CAAC;YACnE,MAAM,iBAAiB,GAAG,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACvE,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SAC5C;QAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAEpD,OAAO,mCAAe,CAAC,OAAO,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,CAAC;IACvE,CAAC;CACF;AA1BD,kCA0BC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts new file mode 100644 index 00000000..632e2f2d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts @@ -0,0 +1,16 @@ +import { Signer } from "ethers"; +import { ScoreType } from "redstone-protocol"; +import { BaseWrapper } from "./BaseWrapper"; +export interface OnDemandRequestParams { + signer: Signer; + scoreType: ScoreType; +} +export declare class OnDemandRequestWrapper extends BaseWrapper { + private readonly requestParams; + private readonly nodeUrls; + constructor(requestParams: OnDemandRequestParams, nodeUrls: string[]); + getUnsignedMetadata(): string; + dryRunToVerifyPayload(payloads: string[]): Promise; + getBytesDataForAppending(): Promise; +} +//# sourceMappingURL=OnDemandRequestWrapper.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts.map new file mode 100644 index 00000000..59dd7b1f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"OnDemandRequestWrapper.d.ts","sourceRoot":"","sources":["../../../src/wrappers/OnDemandRequestWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAIL,SAAS,EAGV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,qBAAa,sBAAuB,SAAQ,WAAW;IAEnD,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,aAAa,EAAE,qBAAqB,EACpC,QAAQ,EAAE,MAAM,EAAE;IAKrC,mBAAmB,IAAI,MAAM;IAIvB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAI1D,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC;CAoBlD"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js new file mode 100644 index 00000000..b3980764 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js @@ -0,0 +1,38 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OnDemandRequestWrapper = void 0; +const axios_1 = __importDefault(require("axios")); +const redstone_protocol_1 = require("redstone-protocol"); +const BaseWrapper_1 = require("./BaseWrapper"); +const package_json_1 = require("../../package.json"); +class OnDemandRequestWrapper extends BaseWrapper_1.BaseWrapper { + constructor(requestParams, nodeUrls) { + super(); + this.requestParams = requestParams; + this.nodeUrls = nodeUrls; + } + getUnsignedMetadata() { + return `${package_json_1.version}#on-demand-request`; + } + async dryRunToVerifyPayload(payloads) { + return payloads[0]; + } + async getBytesDataForAppending() { + const timestamp = Date.now(); + const message = (0, redstone_protocol_1.prepareMessageToSign)(timestamp); + const { signer, scoreType } = this.requestParams; + const signature = await redstone_protocol_1.UniversalSigner.signWithEthereumHashMessage(signer, message); + const promises = this.nodeUrls.map((url) => axios_1.default.get(url, { + params: { timestamp, signature, scoreType }, + })); + const responses = await Promise.all(promises); + const signedDataPackages = responses.map((response) => redstone_protocol_1.SignedDataPackage.fromObj(response.data)); + const unsignedMetadata = this.getUnsignedMetadata(); + return redstone_protocol_1.RedstonePayload.prepare(signedDataPackages, unsignedMetadata); + } +} +exports.OnDemandRequestWrapper = OnDemandRequestWrapper; +//# sourceMappingURL=OnDemandRequestWrapper.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js.map new file mode 100644 index 00000000..b4e776ee --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/OnDemandRequestWrapper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"OnDemandRequestWrapper.js","sourceRoot":"","sources":["../../../src/wrappers/OnDemandRequestWrapper.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,yDAO2B;AAC3B,+CAA4C;AAC5C,qDAA6C;AAO7C,MAAa,sBAAuB,SAAQ,yBAAW;IACrD,YACmB,aAAoC,EACpC,QAAkB;QAEnC,KAAK,EAAE,CAAC;QAHS,kBAAa,GAAb,aAAa,CAAuB;QACpC,aAAQ,GAAR,QAAQ,CAAU;IAGrC,CAAC;IAED,mBAAmB;QACjB,OAAO,GAAG,sBAAO,oBAAoB,CAAC;IACxC,CAAC;IAED,KAAK,CAAC,qBAAqB,CAAC,QAAkB;QAC5C,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,wBAAwB;QAC5B,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC7B,MAAM,OAAO,GAAG,IAAA,wCAAoB,EAAC,SAAS,CAAC,CAAC;QAChD,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC;QACjD,MAAM,SAAS,GAAG,MAAM,mCAAe,CAAC,2BAA2B,CACjE,MAAM,EACN,OAAO,CACR,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CACzC,eAAK,CAAC,GAAG,CAAC,GAAG,EAAE;YACb,MAAM,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE;SAC5C,CAAC,CACH,CAAC;QACF,MAAM,SAAS,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC9C,MAAM,kBAAkB,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CACpD,qCAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAiC,CAAC,CACtE,CAAC;QACF,MAAM,gBAAgB,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACpD,OAAO,mCAAe,CAAC,OAAO,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,CAAC;IACvE,CAAC;CACF;AApCD,wDAoCC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts new file mode 100644 index 00000000..4191a09c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts @@ -0,0 +1,12 @@ +import { INumericDataPoint } from "redstone-protocol"; +import { MockWrapper } from "./MockWrapper"; +export interface SimpleNumericMockConfig { + mockSignersCount: number; + timestampMilliseconds?: number; + dataPoints: INumericDataPoint[]; +} +export declare class SimpleNumericMockWrapper extends MockWrapper { + constructor(simpleNumericMockConfig: SimpleNumericMockConfig); + getUnsignedMetadata(): string; +} +//# sourceMappingURL=SimpleMockNumericWrapper.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts.map new file mode 100644 index 00000000..afe5d4d1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SimpleMockNumericWrapper.d.ts","sourceRoot":"","sources":["../../../src/wrappers/SimpleMockNumericWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAGlB,MAAM,mBAAmB,CAAC;AAQ3B,OAAO,EAAyB,WAAW,EAAE,MAAM,eAAe,CAAC;AAEnE,MAAM,WAAW,uBAAuB;IACtC,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,UAAU,EAAE,iBAAiB,EAAE,CAAC;CACjC;AAED,qBAAa,wBAAyB,SAAQ,WAAW;gBAC3C,uBAAuB,EAAE,uBAAuB;IA8B5D,mBAAmB,IAAI,MAAM;CAG9B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js new file mode 100644 index 00000000..c0c1596b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SimpleNumericMockWrapper = void 0; +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../helpers/test-utils"); +const package_json_1 = require("../../package.json"); +const MockWrapper_1 = require("./MockWrapper"); +class SimpleNumericMockWrapper extends MockWrapper_1.MockWrapper { + constructor(simpleNumericMockConfig) { + if (simpleNumericMockConfig.mockSignersCount > test_utils_1.MAX_MOCK_SIGNERS_COUNT) { + throw new Error(`mockSignersCount should be <= ${test_utils_1.MAX_MOCK_SIGNERS_COUNT}`); + } + // Prepare mock data packages configs + const mockDataPackages = []; + for (let signerIndex = 0; signerIndex < simpleNumericMockConfig.mockSignersCount; signerIndex++) { + for (const dataPointObj of simpleNumericMockConfig.dataPoints) { + const dataPoint = new redstone_protocol_1.NumericDataPoint(dataPointObj); + const timestampMilliseconds = simpleNumericMockConfig.timestampMilliseconds || + test_utils_1.DEFAULT_TIMESTAMP_FOR_TESTS; + const mockDataPackage = { + signer: (0, test_utils_1.getMockSignerAddress)(signerIndex), + dataPackage: new redstone_protocol_1.DataPackage([dataPoint], timestampMilliseconds), + }; + mockDataPackages.push(mockDataPackage); + } + } + super(mockDataPackages); + } + getUnsignedMetadata() { + return `${package_json_1.version}#simple-numeric-mock`; + } +} +exports.SimpleNumericMockWrapper = SimpleNumericMockWrapper; +//# sourceMappingURL=SimpleMockNumericWrapper.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js.map b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js.map new file mode 100644 index 00000000..da410bd7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/src/wrappers/SimpleMockNumericWrapper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SimpleMockNumericWrapper.js","sourceRoot":"","sources":["../../../src/wrappers/SimpleMockNumericWrapper.ts"],"names":[],"mappings":";;;AAAA,yDAI2B;AAC3B,sDAK+B;AAC/B,qDAA6C;AAC7C,+CAAmE;AAQnE,MAAa,wBAAyB,SAAQ,yBAAW;IACvD,YAAY,uBAAgD;QAC1D,IAAI,uBAAuB,CAAC,gBAAgB,GAAG,mCAAsB,EAAE;YACrE,MAAM,IAAI,KAAK,CACb,iCAAiC,mCAAsB,EAAE,CAC1D,CAAC;SACH;QAED,qCAAqC;QACrC,MAAM,gBAAgB,GAA4B,EAAE,CAAC;QACrD,KACE,IAAI,WAAW,GAAG,CAAC,EACnB,WAAW,GAAG,uBAAuB,CAAC,gBAAgB,EACtD,WAAW,EAAE,EACb;YACA,KAAK,MAAM,YAAY,IAAI,uBAAuB,CAAC,UAAU,EAAE;gBAC7D,MAAM,SAAS,GAAG,IAAI,oCAAgB,CAAC,YAAY,CAAC,CAAC;gBACrD,MAAM,qBAAqB,GACzB,uBAAuB,CAAC,qBAAqB;oBAC7C,wCAA2B,CAAC;gBAC9B,MAAM,eAAe,GAA0B;oBAC7C,MAAM,EAAE,IAAA,iCAAoB,EAAC,WAA8B,CAAC;oBAC5D,WAAW,EAAE,IAAI,+BAAW,CAAC,CAAC,SAAS,CAAC,EAAE,qBAAqB,CAAC;iBACjE,CAAC;gBACF,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC;SACF;QAED,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC1B,CAAC;IAED,mBAAmB;QACjB,OAAO,GAAG,sBAAO,sBAAsB,CAAC;IAC1C,CAAC;CACF;AAlCD,4DAkCC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts new file mode 100644 index 00000000..6fe1b0f8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=data-packages-wrapper.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts.map new file mode 100644 index 00000000..ce0080bc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"data-packages-wrapper.test.d.ts","sourceRoot":"","sources":["../../../test/data-packages-wrapper/data-packages-wrapper.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js new file mode 100644 index 00000000..f2d3483b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = __importStar(require("chai")); +const chai_as_promised_1 = __importDefault(require("chai-as-promised")); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +const helpers_1 = require("./helpers"); +chai_1.default.use(chai_as_promised_1.default); +describe("DataPackagesWrapper", () => { + let contract; + const runTest = async (dataPackagesResponse) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingDataPackages(dataPackagesResponse); + const tx = await wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32("ETH"), + redstone_protocol_1.utils.convertStringToBytes32("BTC"), + ]); + await tx.wait(); + const firstValueFromContract = await contract.firstValue(); + const secondValueFromContract = await contract.secondValue(); + (0, chai_1.expect)(firstValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues["ETH"]); + (0, chai_1.expect)(secondValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues["BTC"]); + }; + beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMockManyDataFeeds"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly execute", async () => { + const dataPackagesResponse = (0, helpers_1.getValidDataPackagesResponse)(); + await runTest(dataPackagesResponse); + }); +}); +//# sourceMappingURL=data-packages-wrapper.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js.map b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js.map new file mode 100644 index 00000000..22484e1e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/data-packages-wrapper.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"data-packages-wrapper.test.js","sourceRoot":"","sources":["../../../test/data-packages-wrapper/data-packages-wrapper.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAoC;AACpC,wEAA8C;AAC9C,qCAAiC;AACjC,yDAA0C;AAE1C,2CAAiD;AAEjD,kDAAwD;AACxD,uCAAyD;AAEzD,cAAI,CAAC,GAAG,CAAC,0BAAc,CAAC,CAAC;AAEzB,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACnC,IAAI,QAAwD,CAAC;IAE7D,MAAM,OAAO,GAAG,KAAK,EAAE,oBAA0C,EAAE,EAAE;QACnE,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;QAExE,MAAM,EAAE,GAAG,MAAM,eAAe,CAAC,oBAAoB,CAAC;YACpD,yBAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC;YACnC,yBAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC;SACpC,CAAC,CAAC;QACH,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;QAEhB,MAAM,sBAAsB,GAAG,MAAM,QAAQ,CAAC,UAAU,EAAE,CAAC;QAC3D,MAAM,uBAAuB,GAAG,MAAM,QAAQ,CAAC,WAAW,EAAE,CAAC;QAE7D,IAAA,aAAM,EAAC,sBAAsB,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CACnD,oCAAqB,CAAC,KAAK,CAAC,CAC7B,CAAC;QACF,IAAA,aAAM,EAAC,uBAAuB,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CACpD,oCAAqB,CAAC,KAAK,CAAC,CAC7B,CAAC;IACJ,CAAC,CAAC;IAEF,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,gDAAgD,CACjD,CAAC;QACF,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE;QACvC,MAAM,oBAAoB,GAAG,IAAA,sCAA4B,GAAE,CAAC;QAC5D,MAAM,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts new file mode 100644 index 00000000..b1cfe210 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts @@ -0,0 +1,6 @@ +import { SignedDataPackage } from "redstone-protocol"; +export declare const getValidDataPackagesResponse: () => { + ETH: SignedDataPackage[]; + BTC: SignedDataPackage[]; +}; +//# sourceMappingURL=helpers.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts.map new file mode 100644 index 00000000..540f047b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../test/data-packages-wrapper/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAatD,eAAO,MAAM,4BAA4B;;;CAGvC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js new file mode 100644 index 00000000..97329fb1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getValidDataPackagesResponse = void 0; +const tests_common_1 = require("../tests-common"); +const redstone_protocol_1 = require("redstone-protocol"); +const singedDataPackageObj = tests_common_1.mockSignedDataPackageObjects; +const getDataPackageResponse = (dataFeedId) => singedDataPackageObj + .filter((dataPackage) => dataPackage.dataPoints.filter((dp) => dp.dataFeedId === dataFeedId) + .length > 0) + .map((dataPackage) => redstone_protocol_1.SignedDataPackage.fromObj(dataPackage)); +const getValidDataPackagesResponse = () => ({ + ETH: getDataPackageResponse("ETH"), + BTC: getDataPackageResponse("BTC"), +}); +exports.getValidDataPackagesResponse = getValidDataPackagesResponse; +//# sourceMappingURL=helpers.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js.map b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js.map new file mode 100644 index 00000000..5bf9598e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-packages-wrapper/helpers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../test/data-packages-wrapper/helpers.ts"],"names":[],"mappings":";;;AAAA,kDAA+D;AAC/D,yDAAsD;AAEtD,MAAM,oBAAoB,GAAG,2CAA4B,CAAC;AAE1D,MAAM,sBAAsB,GAAG,CAAC,UAAkB,EAAE,EAAE,CACpD,oBAAoB;KACjB,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,KAAK,UAAU,CAAC;KAChE,MAAM,GAAG,CAAC,CAChB;KACA,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,qCAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAE3D,MAAM,4BAA4B,GAAG,GAAG,EAAE,CAAC,CAAC;IACjD,GAAG,EAAE,sBAAsB,CAAC,KAAK,CAAC;IAClC,GAAG,EAAE,sBAAsB,CAAC,KAAK,CAAC;CACnC,CAAC,CAAC;AAHU,QAAA,4BAA4B,gCAGtC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts new file mode 100644 index 00000000..088f5cf8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=data-service-wrapper.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts.map new file mode 100644 index 00000000..ff366443 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"data-service-wrapper.test.d.ts","sourceRoot":"","sources":["../../../test/data-service-wrapper/data-service-wrapper.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js new file mode 100644 index 00000000..a0e721f2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js @@ -0,0 +1,100 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = __importStar(require("chai")); +const chai_as_promised_1 = __importDefault(require("chai-as-promised")); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +const mock_server_1 = require("./mock-server"); +chai_1.default.use(chai_as_promised_1.default); +describe("DataServiceWrapper", () => { + let contract; + const runTest = async (urls) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingDataService({ + dataServiceId: "mock-data-service", + uniqueSignersCount: 10, + dataFeeds: ["ETH", "BTC"], + }, urls); + const tx = await wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32("ETH"), + redstone_protocol_1.utils.convertStringToBytes32("BTC"), + ]); + await tx.wait(); + const firstValueFromContract = await contract.firstValue(); + const secondValueFromContract = await contract.secondValue(); + (0, chai_1.expect)(firstValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues["ETH"]); + (0, chai_1.expect)(secondValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues["BTC"]); + }; + before(() => mock_server_1.server.listen()); + beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMockManyDataFeeds"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + afterEach(() => mock_server_1.server.resetHandlers()); + after(() => mock_server_1.server.close()); + it("Should properly execute with one valid cache", async () => { + await runTest(["http://valid-cache.com"]); + }); + it("Should properly execute with one valid and one invalid cache", async () => { + await runTest(["http://valid-cache.com", "http://invalid-cache.com"]); + }); + it("Should properly execute with one valid and one slower cache", async () => { + await runTest(["http://slower-cache.com", "http://valid-cache.com"]); + }); + it("Should properly execute with one invalid and one slower cache", async () => { + await runTest(["http://invalid-cache.com", "http://slower-cache.com"]); + }); + it("Should throw error when multiple invalid caches", async () => { + const expectedErrorMessage = `All redstone payloads do not pass dry run verification, aggregated errors: { + "reason": null, + "code": "CALL_EXCEPTION", + "method": "save2ValuesInStorage(bytes32[])", + "data": "0xec459bc000000000000000000000000041e13e6e0a8b13f8539b71f3c07d3f97f887f573", + "errorArgs": [ + "0x41e13E6e0A8B13F8539B71f3c07d3f97F887F573" + ], + "errorName": "SignerNotAuthorised", + "errorSignature": "SignerNotAuthorised(address)" +},{ + "reason": null, + "code": "CALL_EXCEPTION", + "method": "save2ValuesInStorage(bytes32[])", + "data": "0xec459bc000000000000000000000000041e13e6e0a8b13f8539b71f3c07d3f97f887f573", + "errorArgs": [ + "0x41e13E6e0A8B13F8539B71f3c07d3f97F887F573" + ], + "errorName": "SignerNotAuthorised", + "errorSignature": "SignerNotAuthorised(address)" +}`; + await (0, chai_1.expect)(runTest(["http://invalid-cache.com", "http://invalid-cache.com"])).to.be.rejectedWith(expectedErrorMessage); + }); +}); +//# sourceMappingURL=data-service-wrapper.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js.map b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js.map new file mode 100644 index 00000000..207ba763 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/data-service-wrapper.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"data-service-wrapper.test.js","sourceRoot":"","sources":["../../../test/data-service-wrapper/data-service-wrapper.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAoC;AACpC,wEAA8C;AAC9C,qCAAiC;AACjC,yDAA0C;AAC1C,2CAAiD;AAEjD,kDAAwD;AACxD,+CAAuC;AAEvC,cAAI,CAAC,GAAG,CAAC,0BAAc,CAAC,CAAC;AAEzB,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,IAAI,QAAwD,CAAC;IAE7D,MAAM,OAAO,GAAG,KAAK,EAAE,IAAc,EAAE,EAAE;QACvC,MAAM,eAAe,GAAG,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,gBAAgB,CACpE;YACE,aAAa,EAAE,mBAAmB;YAClC,kBAAkB,EAAE,EAAE;YACtB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;SAC1B,EACD,IAAI,CACL,CAAC;QAEF,MAAM,EAAE,GAAG,MAAM,eAAe,CAAC,oBAAoB,CAAC;YACpD,yBAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC;YACnC,yBAAK,CAAC,sBA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CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6DAA6D,EAAE,KAAK,IAAI,EAAE;QAC3E,MAAM,OAAO,CAAC,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC,CAAC;IACvE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+DAA+D,EAAE,KAAK,IAAI,EAAE;QAC7E,MAAM,OAAO,CAAC,CAAC,0BAA0B,EAAE,yBAAyB,CAAC,CAAC,CAAC;IACzE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iDAAiD,EAAE,KAAK,IAAI,EAAE;QAC/D,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;EAoB/B,CAAC;QACC,MAAM,IAAA,aAAM,EACV,OAAO,CAAC,CAAC,0BAA0B,EAAE,0BAA0B,CAAC,CAAC,CAClE,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts new file mode 100644 index 00000000..f32f1367 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts @@ -0,0 +1,2 @@ +export declare const server: import("msw/lib/glossary-dc3fd077").I; +//# sourceMappingURL=mock-server.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts.map new file mode 100644 index 00000000..89153765 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mock-server.d.ts","sourceRoot":"","sources":["../../../test/data-service-wrapper/mock-server.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,MAAM,uCAA2B,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js new file mode 100644 index 00000000..93f7b8f2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.server = void 0; +const node_1 = require("msw/node"); +const msw_1 = require("msw"); +const tests_common_1 = require("../tests-common"); +const singedDataPackageObj = tests_common_1.mockSignedDataPackageObjects; +const getDataPackageResponse = (dataFeedId) => singedDataPackageObj.filter((obj) => obj.dataPoints.filter((dp) => dp.dataFeedId === dataFeedId).length > 0); +const getValidDataPackagesResponse = () => ({ + ETH: getDataPackageResponse("ETH"), + BTC: getDataPackageResponse("BTC"), +}); +const handlers = [ + msw_1.rest.get("http://valid-cache.com/data-packages/latest/*", async (req, res, ctx) => { + return res(ctx.json(getValidDataPackagesResponse())); + }), + msw_1.rest.get("http://invalid-cache.com/data-packages/latest/*", async (req, res, ctx) => { + return res(ctx.json({ + ETH: getDataPackageResponse("ETH").map((obj) => ({ + ...obj, + timestampMilliseconds: 1654353411111, + })), + BTC: getDataPackageResponse("BTC").map((obj) => ({ + ...obj, + timestampMilliseconds: 1654353411111, + })), + })); + }), + msw_1.rest.get("http://slower-cache.com/data-packages/latest/*", async (req, res, ctx) => { + return res(ctx.delay(200), ctx.json(getValidDataPackagesResponse())); + }), +]; +exports.server = (0, node_1.setupServer)(...handlers); +//# sourceMappingURL=mock-server.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js.map b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js.map new file mode 100644 index 00000000..9961aeca --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/data-service-wrapper/mock-server.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mock-server.js","source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AAC,CAAC;SACJ,CAAC,CACH,CAAC;IACJ,CAAC,CACF;IACD,UAAI,CAAC,GAAG,CACN,gDAAgD,EAChD,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE;QACtB,OAAO,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;IACvE,CAAC,CACF;CACF,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,kBAAW,EAAC,GAAG,QAAQ,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts new file mode 100644 index 00000000..4caf5051 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=bitmap-lib.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts.map new file mode 100644 index 00000000..5a16b5a2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bitmap-lib.test.d.ts","sourceRoot":"","sources":["../../../test/libs/bitmap-lib.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js new file mode 100644 index 00000000..63e268ab --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js @@ -0,0 +1,35 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const ethers_1 = require("ethers"); +const hardhat_1 = require("hardhat"); +describe("SampleBitmapLib", function () { + let contract, expectedBitmap = {}, bitmapNumber = ethers_1.BigNumber.from(0); + const setBit = async (bitIndex) => { + expectedBitmap[bitIndex] = 1; + bitmapNumber = await contract.setBitInBitmap(bitmapNumber, bitIndex); + }; + const validateBitmap = async () => { + for (let bitIndex = 0; bitIndex < 256; bitIndex++) { + const expectedBit = !!expectedBitmap[bitIndex]; + const receivedBit = await contract.getBitFromBitmap(bitmapNumber, bitIndex); + const customErrMsg = "Bitmap invalid: " + JSON.stringify({ bitIndex }); + (0, chai_1.expect)(receivedBit).to.eq(expectedBit, customErrMsg); + } + }; + this.beforeAll(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleBitmapLib"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Bitmap should be empty in the beginning", async () => { + validateBitmap(); + }); + for (const bitIndexToSet of [0, 1, 42, 235, 255]) { + it("Should correctly set bit: " + bitIndexToSet, async () => { + await setBit(bitIndexToSet); + await validateBitmap(); + }); + } +}); +//# sourceMappingURL=bitmap-lib.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js.map b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js.map new file mode 100644 index 00000000..164ed564 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/bitmap-lib.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bitmap-lib.test.js","sourceRoot":"","sources":["../../../test/libs/bitmap-lib.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,mCAAmC;AACnC,qCAAiC;AAGjC,QAAQ,CAAC,iBAAiB,EAAE;IAC1B,IAAI,QAAyB,EAC3B,cAAc,GAAQ,EAAE,EACxB,YAAY,GAAG,kBAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAEnC,MAAM,MAAM,GAAG,KAAK,EAAE,QAAgB,EAAE,EAAE;QACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,CA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H,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts new file mode 100644 index 00000000..b18e89ae --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=numeric-array-lib.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts.map new file mode 100644 index 00000000..fd67b163 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"numeric-array-lib.test.d.ts","sourceRoot":"","sources":["../../../test/libs/numeric-array-lib.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js new file mode 100644 index 00000000..2998f43b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js @@ -0,0 +1,105 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const chai_1 = require("chai"); +const ethers_1 = require("ethers"); +const test_utils_1 = require("../../src/helpers/test-utils"); +describe("SampleNumericArrayLib", function () { + let contract; + const testArr = [3, 1, 4, 5, 2, 9, 8, 7, 4]; + const sortedTestArr = [...testArr].sort(); + const prepareRandomArray = (arrayLength) => { + return (0, test_utils_1.getRange)({ start: 0, length: arrayLength }).map(() => Math.round(Math.random() * 10000)); + }; + beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleNumericArrayLib"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should store array in storage", async () => { + const tx = await contract.testArrayUpdatingInStorage([ + 3, 1, 4, 5, 2, 9, 8, 7, 4, + ]); + await tx.wait(); + }); + it("Should correctly sort values", async () => { + const tx = await contract.testSortTx([3, 1, 4, 5, 2, 9, 8, 7, 4]); + await tx.wait(); + const cachedArray = await contract.getCachedArray(); + (0, chai_1.expect)(cachedArray.map((bn) => bn.toNumber())).to.eql(sortedTestArr); + }); + it("Should correctly pick the median value in an array with an odd length", async () => { + const tx = await contract.testMedianSelection([3, 2, 5, 4, 1]); + await tx.wait(); + const selectedMedian = await contract.cachedMedian(); + (0, chai_1.expect)(selectedMedian.toNumber()).to.eq(3); + }); + it("Should correctly pick the median value in an array with an even length", async () => { + const tx = await contract.testMedianSelection([300, 200, 500, 400]); + await tx.wait(); + const selectedMedian = await contract.cachedMedian(); + (0, chai_1.expect)(selectedMedian.toNumber()).to.eq(350); + }); + it("Should store array in storage", async () => { + const tx = await contract.testArrayUpdatingInStorage([ + 3, 1, 4, 5, 2, 9, 8, 7, 4, + ]); + await tx.wait(); + }); + it("Should store array in storage", async () => { + const tx = await contract.testArrayUpdatingInStorage([ + 3, 1, 4, 5, 2, 9, 8, 7, 4, + ]); + await tx.wait(); + }); + it("Should correctly sort an empty array", async () => { + const sortTx = await contract.testSortTx([]); + await sortTx.wait(); + const cachedArray = await contract.getCachedArray(); + (0, chai_1.expect)(cachedArray).to.eql([]); + }); + it("Should revert trying to pick a median value from an empty array", async () => { + await (0, chai_1.expect)(contract.testMedianSelection([])).to.be.revertedWith("CanNotPickMedianOfEmptyArray()"); + }); + it("Should properly sort 1-elem array", async () => { + const sortTx = await contract.testSortTx([42]); + await sortTx.wait(); + const cachedArray = await contract.getCachedArray(); + (0, chai_1.expect)(cachedArray).to.eql([ethers_1.BigNumber.from(42)]); + }); + it("Should correctly pick median from 1-elem array", async () => { + const tx = await contract.testMedianSelection([12]); + await tx.wait(); + const selectedMedian = await contract.cachedMedian(); + (0, chai_1.expect)(selectedMedian.toNumber()).to.eq(12); + }); + it("Should properly sort 2-elem array", async () => { + const sortTx = await contract.testSortTx([42, 12]); + await sortTx.wait(); + const cachedArray = await contract.getCachedArray(); + (0, chai_1.expect)(cachedArray).to.eql([ethers_1.BigNumber.from(12), ethers_1.BigNumber.from(42)]); + }); + it("Should correctly pick median from 2-elem array", async () => { + const tx = await contract.testMedianSelection([42, 12]); + await tx.wait(); + const selectedMedian = await contract.cachedMedian(); + (0, chai_1.expect)(selectedMedian.toNumber()).to.eq(27); + }); + it("Should properly sort 100-elem array", async () => { + const arr = prepareRandomArray(100); + const sortTx = await contract.testSortTx(arr); + await sortTx.wait(); + const cachedArray = await contract.getCachedArray(); + arr.sort((a, b) => a - b); + (0, chai_1.expect)(cachedArray.map((el) => el.toNumber())).to.eql(arr); + }); + it("Should correctly pick median from 100-elem array", async () => { + const arr = prepareRandomArray(101); + const tx = await contract.testMedianSelection(arr); + await tx.wait(); + const selectedMedian = await contract.cachedMedian(); + arr.sort((a, b) => a - b); + (0, chai_1.expect)(selectedMedian.toNumber()).to.eq(arr[50]); + }); +}); +//# sourceMappingURL=numeric-array-lib.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js.map b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js.map new file mode 100644 index 00000000..91cef740 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/numeric-array-lib.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"numeric-array-lib.test.js","sourceRoot":"","sources":["../../../test/libs/numeric-array-lib.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AAEjC,+BAA8B;AAC9B,mCAAmC;AACnC,6DAAwD;AAExD,QAAQ,CAAC,uBAAuB,EAAE;IAChC,IAAI,QAA+B,CAAC;IAEpC,MAAM,OAAO,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,C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a/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts new file mode 100644 index 00000000..bb3bc8f3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=redstone-defaults-lib.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts.map new file mode 100644 index 00000000..7d30eb3d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"redstone-defaults-lib.test.d.ts","sourceRoot":"","sources":["../../../test/libs/redstone-defaults-lib.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js new file mode 100644 index 00000000..658d2db5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js @@ -0,0 +1,60 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const chai_1 = require("chai"); +const ethers_1 = require("ethers"); +const tests_common_1 = require("../tests-common"); +const MILLISECONDS_IN_MINUTE = 60 * 1000; +describe("SampleRedstoneDefaultsLib", function () { + let contract; + beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneDefaultsLib"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly validate valid timestamps", async () => { + const timestamp = await (0, tests_common_1.getBlockTimestampMilliseconds)(); + await contract.validateTimestamp(timestamp); + await contract.validateTimestamp(timestamp + 0.5 * MILLISECONDS_IN_MINUTE); + await contract.validateTimestamp(timestamp - 2.5 * MILLISECONDS_IN_MINUTE); + }); + it("Should revert for too old timestamp", async () => { + const timestamp = await (0, tests_common_1.getBlockTimestampMilliseconds)(); + await (0, chai_1.expect)(contract.validateTimestamp(timestamp - 4 * MILLISECONDS_IN_MINUTE)).to.be.revertedWith("TimestampIsTooOld"); + }); + it("Should revert for timestamp from too long future", async () => { + const timestamp = await (0, tests_common_1.getBlockTimestampMilliseconds)(); + await (0, chai_1.expect)(contract.validateTimestamp(timestamp + 2 * MILLISECONDS_IN_MINUTE)).to.be.revertedWith("TimestampFromTooLongFuture"); + }); + it("Should properly aggregate an array with 1 value", async () => { + const aggregatedValue = await contract.aggregateValues([42]); + (0, chai_1.expect)(aggregatedValue.toNumber()).to.eql(42); + }); + it("Should properly aggregate an array with 3 values", async () => { + const aggregatedValue = await contract.aggregateValues([41, 43, 42]); + (0, chai_1.expect)(aggregatedValue.toNumber()).to.eql(42); + }); + it("Should properly aggregate an array with 4 values", async () => { + const aggregatedValue = await contract.aggregateValues([38, 44, 40, 100]); + (0, chai_1.expect)(aggregatedValue.toNumber()).to.eql(42); + }); + it("Should properly aggregate an array with values, which include a very big number", async () => { + const aggregatedValue = await contract.aggregateValues([ + 44, + ethers_1.BigNumber.from("1000000000000000000000000000000000000"), + 40, + 10, + ]); + (0, chai_1.expect)(aggregatedValue.toNumber()).to.eql(42); + }); + it("Should properly aggregate an array with values, which include zeros", async () => { + const aggregatedValue = await contract.aggregateValues([ + 44, 0, 68, 0, 100, 0, 42, + ]); + (0, chai_1.expect)(aggregatedValue.toNumber()).to.eql(42); + }); + it("Should revert trying to aggregate an empty array", async () => { + await (0, chai_1.expect)(contract.aggregateValues([])).to.be.revertedWith("CanNotPickMedianOfEmptyArray"); + }); +}); +//# sourceMappingURL=redstone-defaults-lib.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js.map b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js.map new file mode 100644 index 00000000..f60c4f35 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/libs/redstone-defaults-lib.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"redstone-defaults-lib.test.js","sourceRoot":"","sources":["../../../test/libs/redstone-defaults-lib.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AAEjC,+BAA8B;AAC9B,mCAAmC;AACnC,kDAAgE;AAEhE,MAAM,sBAAsB,GAAG,EAAE,GAAG,IAAI,CAAC;AAEzC,QAAQ,CAAC,2BAA2B,EAAE;IACpC,IAAI,QAAmC,CAAC;IAExC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,2BAA2B,CAC5B,CAAC;QACF,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2CAA2C,EAAE,KAAK,IAAI,EAAE;QACzD,MAAM,SAAS,GAAG,MAAM,IAAA,4CAA6B,GAAE,CAAC;QACxD,MAAM,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAC5C,MAAM,QAAQ,CAAC,iBAAiB,CAAC,SAAS,GAAG,GAAG,GAAG,sBAAsB,CAAC,CAAC;QAC3E,MAAM,QAAQ,CAAC,iBAAiB,CAAC,SAAS,GAAG,GAAG,GAAG,sBAAsB,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,KAAK,IAAI,EAAE;QACnD,MAAM,SAAS,GAAG,MAAM,IAAA,4CAA6B,GAAE,CAAC;QACxD,MAAM,IAAA,aAAM,EACV,QAAQ,CAAC,iBAAiB,CAAC,SAAS,GAAG,CAAC,GAAG,sBAAsB,CAAC,CACnE,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,mBAA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I,EAAE;QAC/F,MAAM,eAAe,GAAG,MAAM,QAAQ,CAAC,eAAe,CAAC;YACrD,EAAE;YACF,kBAAS,CAAC,IAAI,CAAC,uCAAuC,CAAC;YACvD,EAAE;YACF,EAAE;SACH,CAAC,CAAC;QACH,IAAA,aAAM,EAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qEAAqE,EAAE,KAAK,IAAI,EAAE;QACnF,MAAM,eAAe,GAAG,MAAM,QAAQ,CAAC,eAAe,CAAC;YACrD,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE;SACzB,CAAC,CAAC;QACH,IAAA,aAAM,EAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kDAAkD,EAAE,KAAK,IAAI,EAAE;QAChE,MAAM,IAAA,aAAM,EAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CAC3D,8BAA8B,CAC/B,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts new file mode 100644 index 00000000..60e4ba06 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=bytes-many-data-feeds.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts.map new file mode 100644 index 00000000..b5f2c18b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes-many-data-feeds.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/bytes-many-data-feeds.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js new file mode 100644 index 00000000..e93e60e5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js @@ -0,0 +1,78 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +const NUMBER_OF_MOCK_SIGNERS = 3; +describe("SampleRedstoneConsumerBytesMockManyDataFeeds", function () { + let contract; + const testShouldPass = async (mockBytesPackages, dataFeedIds) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockBytesPackages); + const tx = await wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32(dataFeedIds[0]), + redstone_protocol_1.utils.convertStringToBytes32(dataFeedIds[1]), + ]); + await tx.wait(); + const firstValueFromContract = await contract.firstValue(); + const secondValueFromContract = await contract.secondValue(); + (0, chai_1.expect)(firstValueFromContract).to.be.equal(tests_common_1.expectedBytesValues[dataFeedIds[0]]); + (0, chai_1.expect)(secondValueFromContract).to.be.equal(tests_common_1.expectedBytesValues[dataFeedIds[1]]); + }; + const testShouldRevertWith = async (mockBytesPackages, dataFeedIds, revertMsg) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockBytesPackages); + await (0, chai_1.expect)(wrappedContract.save2ValuesInStorage(dataFeedIds.map(redstone_protocol_1.utils.convertStringToBytes32))).to.be.revertedWith(revertMsg); + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerBytesMockManyDataFeeds"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract (order: ETH, BTC)", async () => { + await testShouldPass(tests_common_1.mockBytesPackages, ["ETH", "BTC"]); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract (order: BTC, ETH)", async () => { + await testShouldPass(tests_common_1.mockBytesPackages, ["BTC", "ETH"]); + }); + it("Should work properly with the greater number of unique signers than required", async () => { + const newMockPackages = [ + ...tests_common_1.mockBytesPackages, + (0, test_utils_1.getMockStringPackage)({ + ...tests_common_1.mockBytesPackageConfigs[0], + mockSignerIndex: 5, + }), + ]; + await testShouldPass(newMockPackages, ["BTC", "ETH"]); + }); + it("Should revert if data feed id not found", async () => { + await testShouldRevertWith(tests_common_1.mockBytesPackages, ["BTC", "NOT_BTC_AND_NOT_ETH"], "InsufficientNumberOfUniqueSigners(0, 3)"); + }); + it("Should revert for too old timestamp", async () => { + const newMockPackages = [...tests_common_1.mockBytesPackages]; + newMockPackages[1] = (0, test_utils_1.getMockStringPackage)({ + ...tests_common_1.mockBytesPackageConfigs[1], + timestampMilliseconds: test_utils_1.DEFAULT_TIMESTAMP_FOR_TESTS - 1, + }); + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], "TimestampIsNotValid()"); + }); + it("Should revert for an unauthorised signer", async () => { + const newMockPackages = [...tests_common_1.mockBytesPackages]; + newMockPackages[1] = (0, test_utils_1.getMockStringPackage)({ + ...tests_common_1.mockBytesPackageConfigs[1], + mockSignerIndex: tests_common_1.UNAUTHORISED_SIGNER_INDEX, + }); + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], `SignerNotAuthorised("0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199")`); + }); + it("Should revert for insufficient number of signers", async () => { + const newMockPackages = tests_common_1.mockBytesPackages.slice(0, NUMBER_OF_MOCK_SIGNERS - 1); + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], "InsufficientNumberOfUniqueSigners(2, 3)"); + }); + it("Should revert for duplicated packages (not enough unique signers)", async () => { + const newMockPackages = [...tests_common_1.mockBytesPackages]; + newMockPackages[1] = tests_common_1.mockBytesPackages[0]; + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], "InsufficientNumberOfUniqueSigners(2, 3)"); + }); +}); +//# sourceMappingURL=bytes-many-data-feeds.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js.map new file mode 100644 index 00000000..2f0f4ba6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-many-data-feeds.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes-many-data-feeds.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/bytes-many-data-feeds.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,yDAA0C;AAC1C,6DAGsC;AAEtC,2CAAiD;AAGjD,kDAKyB;AAEzB,MAAM,sBAAsB,GAAG,CAAC,CAAC;AAEjC,QAAQ,CAAC,8CAA8C,EAAE;IACvD,IAAI,QAAsD,CAAC;IAE3D,MAAM,cAAc,GAAG,KAAK,EAC1B,iBAA0C,EAC1C,WAA8B,EAC9B,EAAE;QACF,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;QAEzE,MAAM,EAAE,GAAG,MAAM,eAAe,CAAC,oBAAoB,CAAC;YACpD,yBAA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I,EAAE;QACxD,MAAM,eAAe,GAAG,CAAC,GAAG,gCAAiB,CAAC,CAAC;QAC/C,eAAe,CAAC,CAAC,CAAC,GAAG,IAAA,iCAAoB,EAAC;YACxC,GAAG,sCAAuB,CAAC,CAAC,CAAC;YAC7B,eAAe,EAAE,wCAAyB;SAC3C,CAAC,CAAC;QACH,MAAM,oBAAoB,CACxB,eAAe,EACf,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,mEAAmE,CACpE,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kDAAkD,EAAE,KAAK,IAAI,EAAE;QAChE,MAAM,eAAe,GAAG,gCAAiB,CAAC,KAAK,CAC7C,CAAC,EACD,sBAAsB,GAAG,CAAC,CAC3B,CAAC;QACF,MAAM,oBAAoB,CACxB,eAAe,EACf,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,yCAAyC,CAC1C,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mEAAmE,EAAE,KAAK,IAAI,EAAE;QACjF,MAAM,eAAe,GAAG,CAAC,GAAG,gCAAiB,CAAC,CAAC;QAC/C,eAAe,CAAC,CAAC,CAAC,GAAG,gCAAiB,CAAC,CAAC,CAAC,CAAC;QAC1C,MAAM,oBAAoB,CACxB,eAAe,EACf,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,yCAAyC,CAC1C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts new file mode 100644 index 00000000..0191d910 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=bytes-string.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts.map new file mode 100644 index 00000000..058ee40f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes-string.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/bytes-string.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js new file mode 100644 index 00000000..d3e4ba8e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js @@ -0,0 +1,67 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +describe("SampleRedstoneConsumerBytesMockStrings", function () { + let contract; + const someLongHexValue = "0x" + "f".repeat(1984) + "ee42"; // some long value + const mockBytesPackages = (0, test_utils_1.getRange)({ + start: 0, + length: 3, + }).map((mockSignerIndex) => (0, test_utils_1.getMockPackageWithOneBytesDataPoint)({ + mockSignerIndex, + hexValue: someLongHexValue, + })); + const testShouldPass = async (mockPackages) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockPackages); + const tx = await wrappedContract.saveLatestValueInStorage(test_utils_1.DEFAULT_DATA_FEED_ID_BYTES_32); + await tx.wait(); + const latestString = await contract.latestString(); + (0, chai_1.expect)(latestString).to.be.equal(someLongHexValue); + }; + const testShouldRevertWith = async (mockPackages, revertMsg) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockPackages); + await (0, chai_1.expect)(wrappedContract.saveLatestValueInStorage(test_utils_1.DEFAULT_DATA_FEED_ID_BYTES_32)).to.be.revertedWith(revertMsg); + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerBytesMockStrings"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract", async () => { + await testShouldPass(mockBytesPackages); + }); + it("Should pass even if there are redundant packages", async () => { + await testShouldPass([...mockBytesPackages, mockBytesPackages[0]]); + }); + it("Should revert if values from different signers are different", async () => { + const newPackages = [ + mockBytesPackages[0], + mockBytesPackages[1], + (0, test_utils_1.getMockPackageWithOneBytesDataPoint)({ + mockSignerIndex: 2, + hexValue: someLongHexValue.replace("ee42", "ff42"), + }), + ]; + await testShouldRevertWith(newPackages, "EachSignerMustProvideTheSameValue()"); + }); + it("Should revert if there are too few signers", async () => { + await testShouldRevertWith([mockBytesPackages[0], mockBytesPackages[1]], "InsufficientNumberOfUniqueSigners(2, 3)"); + }); + it("Should revert if there are too few unique signers", async () => { + await testShouldRevertWith([mockBytesPackages[0], mockBytesPackages[1], mockBytesPackages[1]], "InsufficientNumberOfUniqueSigners(2, 3)"); + }); + it("Should revert if there is an unauthorised signer", async () => { + await testShouldRevertWith([ + ...mockBytesPackages, + (0, test_utils_1.getMockPackageWithOneBytesDataPoint)({ + hexValue: someLongHexValue, + mockSignerIndex: tests_common_1.UNAUTHORISED_SIGNER_INDEX, + }), + ], `SignerNotAuthorised("0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199")`); + }); +}); +//# sourceMappingURL=bytes-string.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js.map new file mode 100644 index 00000000..cbff0fa7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes-string.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes-string.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/bytes-string.test.ts"],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xB,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAClE,yCAAyC,CAC1C,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kDAAkD,EAAE,KAAK,IAAI,EAAE;QAChE,MAAM,oBAAoB,CACxB;YACE,GAAG,iBAAiB;YACpB,IAAA,gDAAmC,EAAC;gBAClC,QAAQ,EAAE,gBAAgB;gBAC1B,eAAe,EAAE,wCAAyB;aAC3C,CAAC;SACH,EACD,mEAAmE,CACpE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts new file mode 100644 index 00000000..2dcf7f61 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=bytes.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts.map new file mode 100644 index 00000000..1d6c65ed --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bytes.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/bytes.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.js new file mode 100644 index 00000000..8cbf0a79 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.js @@ -0,0 +1,91 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const utils_1 = require("redstone-protocol/src/common/utils"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +describe("SampleRedstoneConsumerBytesMock", function () { + let contract; + const mockBytesPackageConfigs = [ + { + mockSignerIndex: 0, + hexValue: "0xf4610900", // hex(41 * 10 ** 8) + }, + { + mockSignerIndex: 1, + hexValue: "0x01004ccb00", // hex(43 * 10 ** 8) + }, + { + mockSignerIndex: 2, + hexValue: "0xfa56ea00", // hex(42 * 10 ** 8) + }, + ]; + const mockBytesPackages = mockBytesPackageConfigs.map(test_utils_1.getMockPackageWithOneBytesDataPoint); + const expectedBytesValueConvertedToNumber = 42 * 10 ** 8; + const testShouldPass = async (mockPackages) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockPackages); + const tx = await wrappedContract.saveOracleValueInContractStorage(test_utils_1.DEFAULT_DATA_FEED_ID_BYTES_32); + await tx.wait(); + const latestEthPriceFromContract = await contract.latestSavedValue(); + (0, chai_1.expect)(latestEthPriceFromContract.toNumber()).to.be.equal(expectedBytesValueConvertedToNumber); + }; + const testShouldRevertWith = async (mockPackages, revertMsg) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockPackages); + await (0, chai_1.expect)(wrappedContract.saveOracleValueInContractStorage(test_utils_1.DEFAULT_DATA_FEED_ID_BYTES_32)).to.be.revertedWith(revertMsg); + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerBytesMock"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract", async () => { + await testShouldPass(mockBytesPackages); + }); + it("Should properly execute if there are redundant packages", async () => { + await testShouldPass([...mockBytesPackages, mockBytesPackages[0]]); + }); + it("Should properly execute if there are more unique signers than needed", async () => { + await testShouldPass([ + ...mockBytesPackages, + (0, test_utils_1.getMockPackageWithOneBytesDataPoint)({ + ...mockBytesPackageConfigs[0], + mockSignerIndex: 11, // another authorised signer + }), + ]); + }); + it("Should revert if there are too few signers", async () => { + await testShouldRevertWith([mockBytesPackages[0], mockBytesPackages[1]], "InsufficientNumberOfUniqueSigners(2, 3)"); + }); + it("Should revert if there are too few unique signers", async () => { + await testShouldRevertWith([mockBytesPackages[0], mockBytesPackages[1], mockBytesPackages[1]], "InsufficientNumberOfUniqueSigners(2, 3)"); + }); + it("Should revert for unauthorised signer", async () => { + const newMockPackages = [ + mockBytesPackages[0], + mockBytesPackages[1], + (0, test_utils_1.getMockPackageWithOneBytesDataPoint)({ + ...mockBytesPackageConfigs[1], + mockSignerIndex: tests_common_1.UNAUTHORISED_SIGNER_INDEX, + }), + ]; + await testShouldRevertWith(newMockPackages, `SignerNotAuthorised("0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199")`); + }); + it("Should revert for too old timestamp", async () => { + const newMockPackages = [ + mockBytesPackages[0], + mockBytesPackages[1], + (0, test_utils_1.getMockPackageWithOneBytesDataPoint)({ + ...mockBytesPackageConfigs[2], + timestampMilliseconds: test_utils_1.DEFAULT_TIMESTAMP_FOR_TESTS - 1, + }), + ]; + await testShouldRevertWith(newMockPackages, "TimestampIsNotValid()"); + }); + it("Should revert is data feed id not found", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockBytesPackages); + await (0, chai_1.expect)(wrappedContract.saveOracleValueInContractStorage((0, utils_1.convertStringToBytes32)("ANOTHER_DATA_FEED_ID"))).to.be.revertedWith("InsufficientNumberOfUniqueSigners(0, 3)"); + }); +}); +//# sourceMappingURL=bytes.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/bytes.test.js.map new file mode 100644 index 00000000..9aeeea89 --- /dev/null +++ b/lib/redstone-finance/evm-connector/d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YAAY,CAAC,yCAAyC,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts new file mode 100644 index 00000000..77d2bdcf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=corrupted-payload.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts.map new file mode 100644 index 00000000..313cf0e4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"corrupted-payload.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/corrupted-payload.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js new file mode 100644 index 00000000..fd99988c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js @@ -0,0 +1,67 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const index_1 = require("../../src/index"); +const BaseWrapper_1 = require("../../src/wrappers/BaseWrapper"); +const tests_common_1 = require("../tests-common"); +class CustomPayloadWrapper extends BaseWrapper_1.BaseWrapper { + constructor(customRedstonePayload) { + super(); + this.customRedstonePayload = customRedstonePayload; + } + async getBytesDataForAppending() { + return this.customRedstonePayload; + } +} +describe("Corrupted payload", function () { + let contract; + const correctRedstonePayload = "42544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000997b61c00455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4610900534f4d45204f544845522049442030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b00534f4d45204f544845522049442031000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c000000020000004e1ee42985786d4c585ba89b3caa8f18639043b46d21fb2bac88440654ea7b90031762da25f8d0aee90b74b2b26aca045c19befd1bbbaf1da92366ab8b3191ae01b4254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000091494c600455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049442031000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c00000002000000331313b99cf46817930f71c823a02d39201f5feac8c47b568df032a808fc481a16f3ef616c323fa17dbbcc5dc2caa637636d4a465da23c55fe35456cce1a4d3f11b425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001004ccb00534f4d45204f544845522049442032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c0000000200000036ac6e540f1821b25000769ce82010af7306f2106aea4ef8dd6d90d622e74ba0e1f06380d25bd046e39125e1c48a352bd9b1d0c55ba8fc99a0b9390585d9816841b425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c0000000200000038ab783cb9db1d1372e6948b6573d0f0055b5f1536d601afcc52273b9bb7eb4be626805ac312c3d45df9e20d595330c4e820211c36c6c9d643b2079a1b314d6631b425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c0000000200000036f64ba0f838a2032b6f00e9d082fc39356907b3ecdee259b1773c1e578935de52c55ba76cfffa33357725cabbe6a2ab57b3c12a591f55752f308974529c2c0011b425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c000000020000003306c82e2ebd52cf15bcfdb4c8dcac44f50bd5c08b3f26b3a8405cd6bd4d5fce41f9c2dc22db32cf90362796faa70cdf8820c345bb9ae320253f422d031625a371c425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c00000002000000364b0c019bf063e28f572face07150450dbdbd88c8aa273d6a677b069d0ded093111a4621627a112c43de6f7fa332e417b150b437052201e78f28850b2a0ced311b425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c00000002000000356fff3f95091c7521462fa900631f0eb14dbf8cb34f1759a4dd70e74b8e373ac67e0829a13377137880b1af587fb9ea5fb621ce7bc8da8a3fcd8518a8b8024ba1b425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c000000020000003664b1f3b9291bf5e253a1d741be17559bb1a8e558892efb3a79329ded7d591780fdbb02cc414aee21c6f7d1fae6349a1105344448ba41141780d4f9e5fb7637a1b425443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009502f9000455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa56ea00534f4d45204f544845522049440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002dd231b0001812f2590c00000002000000368d68e0657a6a7eaa81e886800a67ae9d27713e998d83a45ebef5f364012d0ef7263dad02b16e6bc8eaaf0c3432d201a1e437065840ff5be40b2cf338b6c80a01b000a332e302e30236d6f636b00000a000002ed57011e0000"; + const testShouldRevert = async (payload) => { + const wrappedContract = new CustomPayloadWrapper(payload).overwriteEthersContract(contract); + await (0, chai_1.expect)(wrappedContract.save2ValuesInStorage(["BTC", "ETH"].map(redstone_protocol_1.utils.convertStringToBytes32))).to.be.reverted; + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMockManyDataFeeds"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should work properly with the correct redstone payload", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + const tx = await wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32("BTC"), + redstone_protocol_1.utils.convertStringToBytes32("ETH"), + ]); + await tx.wait(); + const firstValueFromContract = await contract.firstValue(); + const secondValueFromContract = await contract.secondValue(); + (0, chai_1.expect)(firstValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues.BTC); + (0, chai_1.expect)(secondValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues.ETH); + }); + it("Should revert for corrupted payload (wrong 1 byte in the beginning)", async () => { + const modifiedPayload = "fe" + correctRedstonePayload.substring(2); + await testShouldRevert(modifiedPayload); + }); + it("Should revert for corrupted payload - incorrect (bigger) data points count in the last data package", async () => { + const modifiedPayload = correctRedstonePayload.replace("01812f2590c000000020000004", "01812f2590c000000020000005" // changed data points count from 4 to 5 + ); + await testShouldRevert(modifiedPayload); + }); + it("Should revert for corrupted payload - incorrect (smaller) data points count in the last data package", async () => { + const modifiedPayload = correctRedstonePayload.replace("01812f2590c000000020000004", "01812f2590c000000020000003" // changed data points count from 4 to 3 + ); + await testShouldRevert(modifiedPayload); + }); + it("Should revert for corrupted payload - incorrect (bigger) data points count in the first data package", async () => { + const modifiedPayload = correctRedstonePayload.replace("01812f2590c00000002000000368", "01812f2590c00000002000000468" // changed data points count from 3 to 4 + ); + await testShouldRevert(modifiedPayload); + }); + it("Should revert for corrupted payload - incorrect (smaller) data points count in the first data package", async () => { + const modifiedPayload = correctRedstonePayload.replace("01812f2590c00000002000000368", "01812f2590c00000002000000268" // changed data points count from 3 to 2 + ); + await testShouldRevert(modifiedPayload); + }); +}); +//# sourceMappingURL=corrupted-payload.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js.map new file mode 100644 index 00000000..778ea463 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/corrupted-payload.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"corrupted-payload.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/corrupted-payload.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,yDAA0C;AAC1C,2CAAiD;AACjD,gEAA6D;AAE7D,kDAA6E;AAE7E,MAAM,oBAAqB,SAAQ,yBAAW;IAC5C,YAAoB,qBAA6B;QAC/C,KAAK,EAAE,CAAC;QADU,0BAAqB,GAArB,qBAAqB,CAAQ;IAEjD,CAAC;IAED,KAAK,CAAC,wBAAwB;QAC5B,OAAO,IAAI,CAAC,qBAA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B,CAAC,OAAO,CACpD,8BAA8B,EAC9B,8BAA8B,CAAC,wCAAwC;SACxE,CAAC;QACF,MAAM,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts new file mode 100644 index 00000000..7ffc302d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=duplicated-feeds.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts.map new file mode 100644 index 00000000..60151583 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"duplicated-feeds.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/duplicated-feeds.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js new file mode 100644 index 00000000..f8fd240c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js @@ -0,0 +1,69 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +describe("DuplicatedDataFeeds", function () { + let contract; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleDuplicatedDataFeeds"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + const runTestForArrayOfDataFeeds = async (dataFeedIds) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + const tx = await wrappedContract.saveOracleValuesInStorage(dataFeedIds.map(redstone_protocol_1.utils.convertStringToBytes32)); + await tx.wait(); + const values = await contract.getValuesFromStorage(); + for (let symbolIndex = 0; symbolIndex < dataFeedIds.length; symbolIndex++) { + const symbol = dataFeedIds[symbolIndex]; + (0, chai_1.expect)(values[symbolIndex].toNumber()).to.eql(tests_common_1.expectedNumericValues[symbol]); + } + }; + it("Should get oracle values for empty array", async () => { + await runTestForArrayOfDataFeeds([]); + }); + it("Should get oracle values for an array with one symbol", async () => { + await runTestForArrayOfDataFeeds(["ETH"]); + }); + it("Should get oracle values for feeds with duplicates", async () => { + await runTestForArrayOfDataFeeds([ + "ETH", + "BTC", + "ETH", + "ETH", + "BTC", + "ETH", + "BTC", + ]); + }); + it("Should get oracle values for feeds with duplicates (100 times BTC)", async () => { + const dataFeedIds = (0, test_utils_1.getRange)({ start: 0, length: 100 }).map(() => "BTC"); + await runTestForArrayOfDataFeeds(dataFeedIds); + }); + it("Should get oracle values for feeds with duplicates (1000 times ETH)", async () => { + const dataFeedIds = (0, test_utils_1.getRange)({ start: 0, length: 1000 }).map(() => "ETH"); + await runTestForArrayOfDataFeeds(dataFeedIds); + }); + it("Should get oracle values for feeds with duplicates (1 x ETH, 100 x BTC)", async () => { + const dataFeedIds = (0, test_utils_1.getRange)({ start: 0, length: 100 }).map(() => "BTC"); + await runTestForArrayOfDataFeeds(["ETH", ...dataFeedIds]); + }); + it("Should get oracle values for feeds with duplicates (100 x BTC, 1 x ETH)", async () => { + const dataFeedIds = (0, test_utils_1.getRange)({ start: 0, length: 100 }).map(() => "BTC"); + await runTestForArrayOfDataFeeds([...dataFeedIds, "ETH"]); + }); + it("Should get oracle values for feeds with duplicates (100 x ETH, 1 x BTC)", async () => { + const dataFeedIds = (0, test_utils_1.getRange)({ start: 0, length: 100 }).map(() => "ETH"); + await runTestForArrayOfDataFeeds([...dataFeedIds, "BTC"]); + }); + it("Should get oracle values for feeds with duplicates (100 x ETH, 100 x BTC)", async () => { + const dataFeedIdsETH = (0, test_utils_1.getRange)({ start: 0, length: 100 }).map(() => "ETH"); + const dataFeedIdsBTC = (0, test_utils_1.getRange)({ start: 0, length: 100 }).map(() => "BTC"); + await runTestForArrayOfDataFeeds([...dataFeedIdsETH, ...dataFeedIdsBTC]); + }); +}); +//# sourceMappingURL=duplicated-feeds.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js.map new file mode 100644 index 00000000..9886d28c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/duplicated-feeds.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"duplicated-feeds.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/duplicated-feeds.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,yDAA0C;AAC1C,6DAAwD;AACxD,2CAAiD;AAEjD,kDAA6E;AAE7E,QAAQ,CAAC,qBAAqB,EAAE;IAC9B,IAAI,QAAmC,CAAC;IAExC,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE;QACzB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,2BAA2B,CAC5B,CAAC;QACF,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;IAEH,MAAM,0BAA0B,GAAG,KAAK,EAAE,WAAqB,EAAE,EAAE;QACjE,MAAM,eAAe,GACnB,sBAAc,CAAC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CAAC,CAAC,GAAG,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2EAA2E,EAAE,KAAK,IAAI,EAAE;QACzF,MAAM,cAAc,GAAG,IAAA,qBAAQ,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;QAC5E,MAAM,cAAc,GAAG,IAAA,qBAAQ,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;QAC5E,MAAM,0BAA0B,CAAC,CAAC,GAAG,cAAc,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts new file mode 100644 index 00000000..559c9b9e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=events.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts.map new file mode 100644 index 00000000..0e09a5c8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"events.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/events.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js new file mode 100644 index 00000000..5b5deccc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js @@ -0,0 +1,26 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const index_1 = require("../../src/index"); +const chai_1 = require("chai"); +const tests_common_1 = require("../tests-common"); +describe("SampleWithEvents", function () { + let sampleContract; + beforeEach(async () => { + const SampleWithEvents = await hardhat_1.ethers.getContractFactory("SampleWithEvents"); + sampleContract = await SampleWithEvents.deploy(); + }); + it("Test events with contract wrapping", async function () { + // Wrapping the contract instnace + const wrappedContract = index_1.WrapperBuilder.wrap(sampleContract).usingMockDataPackages(tests_common_1.mockNumericPackages); + // Sending tx + const tx = await wrappedContract.emitEventWithLatestOracleValue(); + const receipt = await tx.wait(); + const event = receipt.events[0]; + // Receipt should have parsed events + (0, chai_1.expect)(receipt.events.length).to.be.equal(1); + (0, chai_1.expect)(event.args._updatedValue.toNumber()).to.be.gt(0); + (0, chai_1.expect)(event.event).to.be.equal("ValueUpdated"); + }); +}); +//# sourceMappingURL=events.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js.map new file mode 100644 index 00000000..b474ef6a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/events.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"events.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/events.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,2CAAiD;AAEjD,+BAA8B;AAE9B,kDAAsD;AAEtD,QAAQ,CAAC,kBAAkB,EAAE;IAC3B,IAAI,cAAgC,CAAC;IAErC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,gBAAgB,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACtD,kBAAkB,CACnB,CAAC;QACF,cAAc,GAAG,MAAM,gBAAgB,CAAC,MAAM,EAAE,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE,KAAK;QAC5C,iCAAiC;QACjC,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,qBAAqB,CACvD,kCAAmB,CACpB,CAAC;QAEJ,aAAa;QACb,MAAM,EAAE,GAAG,MAAM,eAAe,CAAC,8BAA8B,EAAE,CAAC;QAClE,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;QAChC,MAAM,KAAK,GAAU,OAAO,CAAC,MAAO,CAAC,CAAC,CAAC,CAAC;QAExC,oCAAoC;QACpC,IAAA,aAAM,EAAC,OAAO,CAAC,MAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC9C,IAAA,aAAM,EAAC,KAAK,CAAC,IAAK,CAAC,aAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAC1D,IAAA,aAAM,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts new file mode 100644 index 00000000..e7fa80c4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=long-inputs.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts.map new file mode 100644 index 00000000..f366d031 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"long-inputs.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/long-inputs.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js new file mode 100644 index 00000000..7a56854b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const chai_1 = require("chai"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const src_1 = require("../../src"); +describe("Long Inputs", function () { + let contract; + const prepareMockBytesPackages = (hexValue) => { + return (0, test_utils_1.getRange)({ + start: 0, + length: 3, + }).map((mockSignerIndex) => (0, test_utils_1.getMockPackageWithOneBytesDataPoint)({ + mockSignerIndex, + hexValue, + })); + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerBytesMockStrings"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should pass long bytes oracle value", async () => { + const hexValue = "0x" + "f".repeat(30000); + const mockPackages = prepareMockBytesPackages(hexValue); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockPackages); + await wrappedContract.saveLatestValueInStorage(test_utils_1.DEFAULT_DATA_FEED_ID_BYTES_32); + (0, chai_1.expect)(await contract.latestString()).to.be.equal(hexValue); + }); +}); +//# sourceMappingURL=long-inputs.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js.map new file mode 100644 index 00000000..26ffa7f0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/long-inputs.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"long-inputs.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/long-inputs.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,+BAA8B;AAE9B,6DAIsC;AACtC,mCAA2C;AAE3C,QAAQ,CAAC,aAAa,EAAE;IACtB,IAAI,QAAgD,CAAC;IAErD,MAAM,wBAAwB,GAAG,CAAC,QAAgB,EAAE,EAAE;QACpD,OAAO,IAAA,qBAAQ,EAAC;YACd,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV,CAAC,CAAC,GAAG,CAAC,CAAC,eAAoB,EAAE,EAAE,CAC9B,IAAA,gDAAmC,EAAC;YAClC,eAAe;YACf,QAAQ;SACT,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;IAEF,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE;QACzB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,wCAAwC,CACzC,CAAC;QACF,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,KAAK,IAAI,EAAE;QACnD,MAAM,QAAQ,GAAG,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,KAAM,CAAC,CAAC;QAC3C,MAAM,YAAY,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;QACxD,MAAM,eAAe,GACnB,oBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAC;QACpE,MAAM,eAAe,CAAC,wBAAwB,CAC5C,0CAA6B,CAC9B,CAAC;QACF,IAAA,aAAM,EAAC,MAAM,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts new file mode 100644 index 00000000..6e0ec560 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=numbers-many-data-feeds.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts.map new file mode 100644 index 00000000..f13a01aa --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"numbers-many-data-feeds.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/numbers-many-data-feeds.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js new file mode 100644 index 00000000..4d8c3c91 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js @@ -0,0 +1,105 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +describe("SampleRedstoneConsumerNumericMockManyDataFeeds", function () { + let contract; + const testShouldPass = async (mockNumericPackages, dataFeedIds) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const tx = await wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32(dataFeedIds[0]), + redstone_protocol_1.utils.convertStringToBytes32(dataFeedIds[1]), + ]); + await tx.wait(); + const firstValueFromContract = await contract.firstValue(); + const secondValueFromContract = await contract.secondValue(); + (0, chai_1.expect)(firstValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues[dataFeedIds[0]]); + (0, chai_1.expect)(secondValueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues[dataFeedIds[1]]); + }; + const testShouldRevertWith = async (mockNumericPackages, dataFeedIds, revertMsg) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + await (0, chai_1.expect)(wrappedContract.save2ValuesInStorage(dataFeedIds.map(redstone_protocol_1.utils.convertStringToBytes32))).to.be.revertedWith(revertMsg); + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMockManyDataFeeds"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract (order: ETH, BTC)", async () => { + await testShouldPass(tests_common_1.mockNumericPackages, ["ETH", "BTC"]); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract (order: BTC, ETH)", async () => { + await testShouldPass(tests_common_1.mockNumericPackages, ["BTC", "ETH"]); + }); + it("Should properly execute transaction with 20 single pacakages (10 for ETH and 10 for BTC)", async () => { + const mockSinglePackageConfigs = [ + ...(0, test_utils_1.getRange)({ start: 0, length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS }).map((mockSignerIndex) => ({ + mockSignerIndex, + dataPoints: [ + { dataFeedId: "BTC", value: 400 }, + { dataFeedId: "SOME OTHER ID", value: 123 }, + ], + })), + ...(0, test_utils_1.getRange)({ start: 0, length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS }).map((mockSignerIndex) => ({ + mockSignerIndex, + dataPoints: [ + { dataFeedId: "ETH", value: 42 }, + { dataFeedId: "SOME OTHER ID", value: 345 }, + ], + })), + ]; + const mockSinglePackages = mockSinglePackageConfigs.map(test_utils_1.getMockNumericPackage); + await testShouldPass(mockSinglePackages, ["BTC", "ETH"]); + }); + it("Should work properly with the greater number of unique signers than required", async () => { + const newMockPackages = [ + ...tests_common_1.mockNumericPackages, + (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[0], + mockSignerIndex: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }), + ]; + await testShouldPass(newMockPackages, ["BTC", "ETH"]); + }); + it("Should revert if data feed id not found", async () => { + await testShouldRevertWith(tests_common_1.mockNumericPackages, ["BTC", "NOT_BTC_AND_NOT_ETH"], "InsufficientNumberOfUniqueSigners(0, 10)"); + }); + it("Should revert for enough data packages but insufficient number of one data feed id", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[1], + dataPoints: [tests_common_1.mockNumericPackageConfigs[1].dataPoints[0]], + }); + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], "InsufficientNumberOfUniqueSigners(9, 10)"); + }); + it("Should revert for too old timestamp", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[1], + timestampMilliseconds: test_utils_1.DEFAULT_TIMESTAMP_FOR_TESTS - 1, + }); + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], "TimestampIsNotValid()"); + }); + it("Should revert for an unauthorised signer", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[1], + mockSignerIndex: tests_common_1.UNAUTHORISED_SIGNER_INDEX, + }); + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], `SignerNotAuthorised("0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199")`); + }); + it("Should revert for insufficient number of signers", async () => { + const newMockPackages = tests_common_1.mockNumericPackages.slice(0, tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS - 1); + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], "InsufficientNumberOfUniqueSigners(9, 10)"); + }); + it("Should revert for duplicated packages (not enough unique signers)", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = tests_common_1.mockNumericPackages[0]; + await testShouldRevertWith(newMockPackages, ["BTC", "ETH"], "InsufficientNumberOfUniqueSigners(9, 10)"); + }); +}); +//# sourceMappingURL=numbers-many-data-feeds.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js.map new file mode 100644 index 00000000..fd1556dd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers-many-data-feeds.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"numbers-many-data-feeds.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/numbers-many-data-feeds.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,yDAA0C;AAC1C,6DAKsC;AAEtC,2CAAiD;AAGjD,kDAMyB;AAEzB,QAAQ,CAAC,gDAAgD,EAAE;IACzD,IAAI,QAAwD,CAAC;IAE7D,MAAM,cAAc,GAAG,KAAK,EAC1B,mBAA4C,EAC5C,WAA8B,EAC9B,EAAE;QACF,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;QAE3E,MAAM,EAAE,GAAG,MAAM,eAAe,CAAC,o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ACvD,CAAC,CAAC;QACH,MAAM,oBAAoB,CACxB,eAAe,EACf,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,uBAAuB,CACxB,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0CAA0C,EAAE,KAAK,IAAI,EAAE;QACxD,MAAM,eAAe,GAAG,CAAC,GAAG,kCAAmB,CAAC,CAAC;QACjD,eAAe,CAAC,CAAC,CAAC,GAAG,IAAA,kCAAqB,EAAC;YACzC,GAAG,wCAAyB,CAAC,CAAC,CAAC;YAC/B,eAAe,EAAE,wCAAyB;SAC3C,CAAC,CAAC;QACH,MAAM,oBAAoB,CACxB,eAAe,EACf,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,mEAAmE,CACpE,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kDAAkD,EAAE,KAAK,IAAI,EAAE;QAChE,MAAM,eAAe,GAAG,kCAAmB,CAAC,KAAK,CAC/C,CAAC,EACD,6CAA8B,GAAG,CAAC,CACnC,CAAC;QACF,MAAM,oBAAoB,CACxB,eAAe,EACf,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,0CAA0C,CAC3C,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mEAAmE,EAAE,KAAK,IAAI,EAAE;QACjF,MAAM,eAAe,GAAG,CAAC,GAAG,kCAAmB,CAAC,CAAC;QACjD,eAAe,CAAC,CAAC,CAAC,GAAG,kCAAmB,CAAC,CAAC,CAAC,CAAC;QAC5C,MAAM,oBAAoB,CACxB,eAAe,EACf,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,0CAA0C,CAC3C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts new file mode 100644 index 00000000..30638bb3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=numbers.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts.map new file mode 100644 index 00000000..8bca0805 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"numbers.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/numbers.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js new file mode 100644 index 00000000..e7b173b0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js @@ -0,0 +1,72 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const index_1 = require("../../src/index"); +const tests_common_1 = require("../tests-common"); +describe("SampleRedstoneConsumerNumericMock", function () { + let contract; + const testShouldPass = async (mockNumericPackages, dataFeedId) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const tx = await wrappedContract.saveOracleValueInContractStorage(redstone_protocol_1.utils.convertStringToBytes32(dataFeedId)); + await tx.wait(); + const valueFromContract = await contract.latestSavedValue(); + (0, chai_1.expect)(valueFromContract.toNumber()).to.be.equal(tests_common_1.expectedNumericValues[dataFeedId]); + }; + const testShouldRevertWith = async (mockNumericPackages, dataFeedId, revertMsg) => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + await (0, chai_1.expect)(wrappedContract.saveOracleValueInContractStorage(redstone_protocol_1.utils.convertStringToBytes32(dataFeedId))).to.be.revertedWith(revertMsg); + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMock"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract (ETH)", async () => { + await testShouldPass(tests_common_1.mockNumericPackages, "ETH"); + }); + it("Should properly execute transaction on RedstoneConsumerBase contract (BTC)", async () => { + await testShouldPass(tests_common_1.mockNumericPackages, "BTC"); + }); + it("Should work properly with the greater number of unique signers than required", async () => { + const newMockPackages = [ + ...tests_common_1.mockNumericPackages, + (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[0], + mockSignerIndex: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }), + ]; + await testShouldPass(newMockPackages, "BTC"); + }); + it("Should revert if data feed id not found", async () => { + await testShouldRevertWith(tests_common_1.mockNumericPackages, "NOT_BTC_AND_NOT_ETH", "InsufficientNumberOfUniqueSigners(0, 10)"); + }); + it("Should revert for too old timestamp", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[1], + timestampMilliseconds: test_utils_1.DEFAULT_TIMESTAMP_FOR_TESTS - 1, + }); + await testShouldRevertWith(newMockPackages, "BTC", "TimestampIsNotValid()"); + }); + it("Should revert for an unauthorised signer", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[1], + mockSignerIndex: tests_common_1.UNAUTHORISED_SIGNER_INDEX, + }); + await testShouldRevertWith(newMockPackages, "BTC", `SignerNotAuthorised("0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199")`); + }); + it("Should revert for insufficient number of signers", async () => { + const newMockPackages = tests_common_1.mockNumericPackages.slice(0, tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS - 1); + await testShouldRevertWith(newMockPackages, "BTC", "InsufficientNumberOfUniqueSigners(9, 10)"); + }); + it("Should revert for duplicated packages (not enough unique signers)", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = tests_common_1.mockNumericPackages[0]; + await testShouldRevertWith(newMockPackages, "BTC", "InsufficientNumberOfUniqueSigners(9, 10)"); + }); +}); +//# sourceMappingURL=numbers.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js.map new file mode 100644 index 00000000..03fa3db8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/numbers.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"numbers.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/numbers.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,yDAA0C;AAC1C,6DAGsC;AACtC,2CAAiD;AAGjD,kDAMyB;AAEzB,QAAQ,CAAC,mCAAmC,EAAE;IAC5C,IAAI,QAA2C,CAAC;IAEhD,MAAM,cAAc,GAAG,KAAK,EAC1B,mBAA4C,EAC5C,UAAyB,EACzB,EAAE;QACF,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;QAE3E,MAAM,EAAE,GAAG,MAAM,eAAe,CAAC,gCAAgC,CAC/D,yBAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CACzC,CAAC;QACF,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;QAEhB,MAAM,iBAAiB,GAAG,MAAM,QAAQ,CAAC,gBAAgB,EAAE,CAAC;QAE5D,IAAA,aAAM,EAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC,CAAC,EA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CAAC;QACjD,eAAe,CAAC,CAAC,CAAC,GAAG,kCAAmB,CAAC,CAAC,CAAC,CAAC;QAC5C,MAAM,oBAAoB,CACxB,eAAe,EACf,KAAK,EACL,0CAA0C,CAC3C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts new file mode 100644 index 00000000..26d2154f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=populate-transaction.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts.map new file mode 100644 index 00000000..8f4eaea8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"populate-transaction.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/populate-transaction.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js new file mode 100644 index 00000000..d05f99ff --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js @@ -0,0 +1,31 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const index_1 = require("../../src/index"); +const redstone_protocol_1 = require("redstone-protocol"); +const tests_common_1 = require("../tests-common"); +const redstone_constants_1 = require("redstone-protocol/src/common/redstone-constants"); +describe("PopulateTransactionTest", function () { + it("Should overwrite populateTransaction", async () => { + // Deploying the contract + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMock"); + const contract = await ContractFactory.deploy(); + await contract.deployed(); + // Wrapping the contract + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + // Prepare calldata for original and wrapped contracts + const dataFeedId = redstone_protocol_1.utils.convertStringToBytes32("ETH"); + const originalTxPopulated = await contract.populateTransaction["getValueForDataFeedId"](dataFeedId); + const wrappedTxPopulated = await wrappedContract.populateTransaction["getValueForDataFeedId"](dataFeedId); + // Checking the calldata + const redstoneMarker = redstone_constants_1.REDSTONE_MARKER_HEX.replace("0x", ""); + (0, chai_1.expect)(originalTxPopulated.data) + .to.be.a("string") + .and.satisfy((str) => !str.endsWith(redstoneMarker)); + (0, chai_1.expect)(wrappedTxPopulated.data) + .to.be.a("string") + .and.satisfy((str) => str.endsWith(redstoneMarker)); + }); +}); +//# sourceMappingURL=populate-transaction.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js.map new file mode 100644 index 00000000..f9c6b269 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/populate-transaction.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"populate-transaction.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/populate-transaction.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,2CAAiD;AACjD,yDAA0C;AAC1C,kDAAsD;AACtD,wFAAsF;AAEtF,QAAQ,CAAC,yBAAyB,EAAE;IAClC,EAAE,CAAC,sCAAsC,EAAE,KAAK,IAAI,EAAE;QACpD,yBAAyB;QACzB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,mCAAmC,CACpC,CAAC;QACF,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAChD,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;QAE1B,wBAAwB;QACxB,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,kCAAmB,CAAC,CAAC;QAE3E,sDAAsD;QACtD,MAAM,UAAU,GAAG,yBAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;QACvD,MAAM,mBAAmB,GAAG,MAAM,QAAQ,CAAC,mBAAmB,CAC5D,uBAAuB,CACxB,CAAC,UAAU,CAAC,CAAC;QACd,MAAM,kBAAkB,GAAG,MAAM,eAAe,CAAC,mBAAmB,CAClE,uBAAuB,CACxB,CAAC,UAAU,CAAC,CAAC;QAEd,wBAAwB;QACxB,MAAM,cAAc,GAAG,wCAAmB,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC7D,IAAA,aAAM,EAAC,mBAAmB,CAAC,IAAI,CAAC;aAC7B,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;aACjB,GAAG,CAAC,OAAO,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;QAC/D,IAAA,aAAM,EAAC,kBAAkB,CAAC,IAAI,CAAC;aAC5B,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;aACjB,GAAG,CAAC,OAAO,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;IAChE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts new file mode 100644 index 00000000..cb385c8a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=proxy-connector-chainable.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts.map new file mode 100644 index 00000000..18e2bc4f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy-connector-chainable.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/proxy-connector-chainable.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js new file mode 100644 index 00000000..5bb0a113 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js @@ -0,0 +1,76 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const chai_1 = require("chai"); +const src_1 = require("../../src"); +const utils_1 = require("redstone-protocol/src/common/utils"); +const tests_common_1 = require("../tests-common"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const dataPoints = [ + { dataFeedId: "ETH", value: 4000 }, + { dataFeedId: "AVAX", value: 5 }, + { dataFeedId: "BTC", value: 100000 }, + { dataFeedId: "LINK", value: 2 }, + { dataFeedId: "UNI", value: 200 }, + { dataFeedId: "FRAX", value: 1 }, + { dataFeedId: "OMG", value: 0.00003 }, + { dataFeedId: "DOGE", value: 2 }, + { dataFeedId: "SOL", value: 11 }, + { dataFeedId: "BNB", value: 31 }, +]; +describe("SampleChainableProxyConnector", function () { + let contract; + let consumerContract; + const ethDataFeedId = (0, utils_1.convertStringToBytes32)("ETH"); + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleChainableProxyConnector"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + const contractB = await ContractFactory.deploy(); + await contractB.deployed(); + await contract.registerNextConnector(contractB.address); + const ConsumerContractFactory = await hardhat_1.ethers.getContractFactory("SampleProxyConnectorConsumer"); + consumerContract = await ConsumerContractFactory.deploy(); + await consumerContract.deployed(); + await contractB.registerConsumer(consumerContract.address); + }); + it("Should process oracle value for one asset", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await wrappedContract.processOracleValue(ethDataFeedId); + const fetchedValue = await consumerContract.getComputationResult(); + (0, chai_1.expect)(fetchedValue).to.eq(tests_common_1.expectedNumericValues.ETH * 42); + }); + it("Should process oracle values for 10 assets", async () => { + const mockNumericPackages = (0, test_utils_1.getRange)({ + start: 0, + length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }).map((i) => (0, test_utils_1.getMockNumericPackage)({ + dataPoints, + mockSignerIndex: i, + })); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const dataValues = dataPoints.map((dataPoint) => Math.round(dataPoint.value * 10 ** 8)); + for (const dataPoint of dataPoints) { + await wrappedContract.processOracleValue((0, utils_1.convertStringToBytes32)(dataPoint.dataFeedId)); + } + const computationResult = await consumerContract.getComputationResult(); + (0, chai_1.expect)(computationResult).to.eq(dataValues.reduce((a, b) => a + b, 0) * 42); + }); + it("Should process oracle values for 10 assets simultaneously", async () => { + const mockNumericPackages = (0, test_utils_1.getRange)({ + start: 0, + length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }).map((i) => (0, test_utils_1.getMockNumericPackage)({ + dataPoints, + mockSignerIndex: i, + })); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const dataFeedIds = dataPoints.map((dataPoint) => dataPoint.dataFeedId); + const dataFeedIdsBytes = dataFeedIds.map(utils_1.convertStringToBytes32); + const dataValues = dataPoints.map((dataPoint) => Math.round(dataPoint.value * 10 ** 8)); + await wrappedContract.processOracleValues(dataFeedIdsBytes); + const computationResult = await consumerContract.getComputationResult(); + (0, chai_1.expect)(computationResult).to.eq(dataValues.reduce((a, b) => a + b, 0) * 42); + }); +}); +//# sourceMappingURL=proxy-connector-chainable.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js.map new file mode 100644 index 00000000..c3f49fac --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector-chainable.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy-connector-chainable.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/proxy-connector-chainable.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,+BAA8B;AAK9B,mCAA2C;AAC3C,8DAA4E;AAC5E,kDAIyB;AACzB,6DAIsC;AAEtC,MAAM,UAAU,GAAG;IACjB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;IAClC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE;IACpC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE;IACjC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE;IACrC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,K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E,6CAA8B;SACvC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACX,IAAA,kCAAqB,EAAC;YACpB,UAAU;YACV,eAAe,EAAE,CAAoB;SACtC,CAAC,CACH,CAAC;QAEF,MAAM,eAAe,GACnB,oBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;QAE3E,MAAM,WAAW,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACxE,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,8BAAsB,CAAC,CAAC;QACjE,MAAM,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAC9C,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,EAAE,IAAI,CAAC,CAAC,CACtC,CAAC;QAEF,MAAM,eAAe,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;QAC5D,MAAM,iBAAiB,GAAG,MAAM,gBAAgB,CAAC,oBAAoB,EAAE,CAAC;QAExE,IAAA,aAAM,EAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts new file mode 100644 index 00000000..d9f8d39c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=proxy-connector.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts.map new file mode 100644 index 00000000..a31e74de --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy-connector.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/proxy-connector.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js new file mode 100644 index 00000000..4155d6ba --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js @@ -0,0 +1,91 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const chai_1 = require("chai"); +const src_1 = require("../../src"); +const utils_1 = require("redstone-protocol/src/common/utils"); +const tests_common_1 = require("../tests-common"); +const test_utils_1 = require("../../src/helpers/test-utils"); +describe("SampleProxyConnector", function () { + let contract; + const ethDataFeedId = (0, utils_1.convertStringToBytes32)("ETH"); + const testShouldRevertWith = async (mockPackages, revertMsg) => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockPackages); + await (0, chai_1.expect)(wrappedContract.getOracleValueUsingProxy(ethDataFeedId)).to.be.revertedWith(revertMsg); + }; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleProxyConnector"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should return correct oracle value for one asset", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + const fetchedValue = await wrappedContract.getOracleValueUsingProxy(ethDataFeedId); + (0, chai_1.expect)(fetchedValue).to.eq(tests_common_1.expectedNumericValues.ETH); + }); + it("Should return correct oracle values for 10 assets", async () => { + const dataPoints = [ + { dataFeedId: "ETH", value: 4000 }, + { dataFeedId: "AVAX", value: 5 }, + { dataFeedId: "BTC", value: 100000 }, + { dataFeedId: "LINK", value: 2 }, + { dataFeedId: "UNI", value: 200 }, + { dataFeedId: "FRAX", value: 1 }, + { dataFeedId: "OMG", value: 0.00003 }, + { dataFeedId: "DOGE", value: 2 }, + { dataFeedId: "SOL", value: 11 }, + { dataFeedId: "BNB", value: 31 }, + ]; + const mockNumericPackages = (0, test_utils_1.getRange)({ + start: 0, + length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }).map((i) => (0, test_utils_1.getMockNumericPackage)({ + dataPoints, + mockSignerIndex: i, + })); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + for (const dataPoint of dataPoints) { + await (0, chai_1.expect)(wrappedContract.checkOracleValue((0, utils_1.convertStringToBytes32)(dataPoint.dataFeedId), Math.round(dataPoint.value * 10 ** 8))).not.to.be.reverted; + } + }); + it("Should forward msg.value", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await (0, chai_1.expect)(wrappedContract.requireValueForward({ + value: hardhat_1.ethers.utils.parseUnits("2137"), + })).not.to.be.reverted; + }); + it("Should work properly with long encoded functions", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await (0, chai_1.expect)(wrappedContract.checkOracleValueLongEncodedFunction(ethDataFeedId, tests_common_1.expectedNumericValues.ETH)).not.to.be.reverted; + await (0, chai_1.expect)(wrappedContract.checkOracleValueLongEncodedFunction(ethDataFeedId, 9999)).to.be.revertedWith("WrongValue()"); + }); + it("Should fail with correct message (timestamp invalid)", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[1], + timestampMilliseconds: test_utils_1.DEFAULT_TIMESTAMP_FOR_TESTS - 1, + }); + await testShouldRevertWith(newMockPackages, `errorArgs=["0x355b8743"], errorName="ProxyCalldataFailedWithCustomError"`); + }); + it("Should fail with correct message (insufficient number of unique signers)", async () => { + const newMockPackages = tests_common_1.mockNumericPackages.slice(0, tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS - 1); + await testShouldRevertWith(newMockPackages, `errorArgs=["0x2b13aef50000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000a"], errorName="ProxyCalldataFailedWithCustomError"`); + }); + it("Should fail with correct message (signer is not authorised)", async () => { + const newMockPackages = [...tests_common_1.mockNumericPackages]; + newMockPackages[1] = (0, test_utils_1.getMockNumericPackage)({ + ...tests_common_1.mockNumericPackageConfigs[1], + mockSignerIndex: tests_common_1.UNAUTHORISED_SIGNER_INDEX, + }); + await testShouldRevertWith(newMockPackages, `errorArgs=["0xec459bc00000000000000000000000008626f6940e2eb28930efb4cef49b2d1f2c9c1199"], errorName="ProxyCalldataFailedWithCustomError"`); + }); + it("Should fail with correct message (no error message)", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await (0, chai_1.expect)(wrappedContract.proxyEmptyError()).to.be.revertedWith(`errorName="ProxyCalldataFailedWithoutErrMsg"`); + }); + it("Should fail with correct message (string test message)", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await (0, chai_1.expect)(wrappedContract.proxyTestStringError()).to.be.revertedWith(`errorArgs=["Test message"], errorName="ProxyCalldataFailedWithStringMessage"`); + }); +}); +//# sourceMappingURL=proxy-connector.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js.map new file mode 100644 index 00000000..62bac958 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-connector.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy-connector.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/proxy-connector.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,+BAA8B;AAE9B,mCAA2C;AAC3C,8DAA4E;AAC5E,kDAMyB;AAEzB,6DAKsC;AAEtC,QAAQ,CAAC,sBAAsB,EAAE;IAC/B,IAAI,QAA8B,CAAC;IACnC,MAAM,aAAa,GAAG,IAAA,8BAAsB,EAAC,KAAK,CAAC,CAAC;IAEpD,MAAM,oBAAoB,GAAG,KAAK,EAChC,YAAqC,EACrC,SAAiB,EACjB,EAAE;QACF,MAAM,eAAe,GACnB,oBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAC;QACpE,MAAM,IAAA,aAAM,EACV,eAAe,CAAC,wBAAwB,CAAC,aAAa,CAAC,CACxD,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IAClC,CAAC,CAAC;IAEF,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE;QACzB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,sBAAsB,CACvB,CAAC;QACF,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kDAAkD,EAAE,KAAK,IAAI,EAAE;QAChE,MAAM,eAAe,GACnB,oBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,kCAAmB,CAAC,CAAC;QAE3E,MAAM,YAAY,GAAG,MAAM,eAAe,CAAC,wBAAwB,CACjE,aAAa,CACd,CAAC;QACF,IAAA,aAAM,EAAC,YAAY,CAAC,C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EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CACrE,8EAA8E,CAC/E,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts new file mode 100644 index 00000000..cfffcec1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=proxy-storage.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts.map new file mode 100644 index 00000000..fd98e5c5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy-storage.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/proxy-storage.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js new file mode 100644 index 00000000..c01b63a1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js @@ -0,0 +1,109 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const chai_1 = require("chai"); +const src_1 = require("../../src"); +const utils_1 = require("redstone-protocol/src/common/utils"); +const tests_common_1 = require("../tests-common"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const dataPoints = [ + { dataFeedId: "ETH", value: 4000 }, + { dataFeedId: "AVAX", value: 5 }, + { dataFeedId: "BTC", value: 100000 }, + { dataFeedId: "LINK", value: 2 }, + { dataFeedId: "UNI", value: 200 }, + { dataFeedId: "FRAX", value: 1 }, + { dataFeedId: "OMG", value: 0.00003 }, + { dataFeedId: "DOGE", value: 2 }, + { dataFeedId: "SOL", value: 11 }, + { dataFeedId: "BNB", value: 31 }, +]; +const dataFeedIdsBytes = dataPoints.map((dataPoint) => { + return (0, utils_1.convertStringToBytes32)(dataPoint.dataFeedId); +}); +const prepareMockPackagesForManyAssets = () => { + const mockNumericPackages = (0, test_utils_1.getRange)({ + start: 0, + length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }).map((i) => (0, test_utils_1.getMockNumericPackage)({ + dataPoints, + mockSignerIndex: i, + })); + return mockNumericPackages; +}; +describe("SampleStorageProxy", function () { + let contract; + let consumerContract; + const ethDataFeedId = (0, utils_1.convertStringToBytes32)("ETH"); + this.beforeEach(async () => { + const SampleStorageFactory = await hardhat_1.ethers.getContractFactory("SampleStorageProxy"); + contract = await SampleStorageFactory.deploy(); + await contract.deployed(); + const SampleStorageProxyConsumer = await hardhat_1.ethers.getContractFactory("SampleStorageProxyConsumer"); + consumerContract = await SampleStorageProxyConsumer.deploy(contract.address); + await consumerContract.deployed(); + await contract.register(consumerContract.address); + }); + it("Should return correct oracle value for one asset using dry run", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + const fetchedValue = await wrappedContract.fetchValueUsingProxyDryRun(ethDataFeedId); + (0, chai_1.expect)(fetchedValue).to.eq(tests_common_1.expectedNumericValues.ETH); + }); + it("Should return correct structure containing oracle value using dry run", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + const fetchedValue = await wrappedContract.fetchStructUsingProxyDryRun(ethDataFeedId); + const expectedValue = [ + "sample", + hardhat_1.ethers.BigNumber.from(tests_common_1.expectedNumericValues.ETH), + ]; + (0, chai_1.expect)(fetchedValue).to.deep.equal(expectedValue); + }); + it("Should return correct oracle values for array of values using dry run", async () => { + const mockNumericPackages = prepareMockPackagesForManyAssets(); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const dataValues = dataPoints.map((dataPoint) => hardhat_1.ethers.BigNumber.from(dataPoint.value * 10 ** 8)); + const fetchedValues = await wrappedContract.fetchValuesUsingProxyDryRun(dataFeedIdsBytes); + (0, chai_1.expect)(dataValues).to.deep.eq(fetchedValues); + }); + it("Should return correct array of structures containing oracle values using dry run", async () => { + const mockNumericPackages = prepareMockPackagesForManyAssets(); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const fetchedValues = await wrappedContract.fetchArrayOfStructsUsingProxyDryRun(dataFeedIdsBytes); + const dataValues = dataPoints.map((dataPoint) => [ + "sample", + hardhat_1.ethers.BigNumber.from(dataPoint.value * 10 ** 8), + ]); + (0, chai_1.expect)(dataValues).to.deep.eq(fetchedValues); + }); + it("Should return correct structure of arrays containing oracle values using dry run", async () => { + const mockNumericPackages = prepareMockPackagesForManyAssets(); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const fetchedValues = await wrappedContract.fetchStructOfArraysUsingProxyDryRun(dataFeedIdsBytes); + const names = dataPoints.map((dataPoint) => "sample"); + const values = dataPoints.map((dataPoint) => hardhat_1.ethers.BigNumber.from(dataPoint.value * 10 ** 8)); + const dataValuesArray = [names, values]; + (0, chai_1.expect)(dataValuesArray).to.deep.eq(fetchedValues); + }); + it("Should return correct oracle value for one asset", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await wrappedContract.saveOracleValueInContractStorage(ethDataFeedId); + const fetchedValue = await consumerContract.getOracleValue(ethDataFeedId); + (0, chai_1.expect)(fetchedValue).to.eq(tests_common_1.expectedNumericValues.ETH); + }); + it("Should return correct oracle values for 10 assets", async () => { + const mockNumericPackages = prepareMockPackagesForManyAssets(); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + for (const dataPoint of dataPoints) { + await wrappedContract.saveOracleValueInContractStorage((0, utils_1.convertStringToBytes32)(dataPoint.dataFeedId)); + await (0, chai_1.expect)(consumerContract.checkOracleValue((0, utils_1.convertStringToBytes32)(dataPoint.dataFeedId), Math.round(dataPoint.value * 10 ** 8))).not.to.be.reverted; + } + }); + it("Should return correct oracle values for 10 assets simultaneously", async () => { + const mockNumericPackages = prepareMockPackagesForManyAssets(); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const dataValues = dataPoints.map((dataPoint) => Math.round(dataPoint.value * 10 ** 8)); + await wrappedContract.saveOracleValuesInContractStorage(dataFeedIdsBytes); + await (0, chai_1.expect)(consumerContract.checkOracleValues(dataFeedIdsBytes, dataValues)).not.to.be.reverted; + }); +}); +//# sourceMappingURL=proxy-storage.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js.map new file mode 100644 index 00000000..6c8f5dff --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/proxy-storage.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy-storage.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/proxy-storage.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,+BAA8B;AAK9B,mCAA2C;AAC3C,8DAA4E;AAC5E,kDAIyB;AACzB,6DAIsC;AAEtC,MAAM,UAAU,GAAG;IACjB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;IAClC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE;IACpC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAA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,SAAS,IAAI,UAAU,EAAE;YAClC,MAAM,eAAe,CAAC,gCAAgC,CACpD,IAAA,8BAAsB,EAAC,SAAS,CAAC,UAAU,CAAC,CAC7C,CAAC;YACF,MAAM,IAAA,aAAM,EACV,gBAAgB,CAAC,gBAAgB,CAC/B,IAAA,8BAAsB,EAAC,SAAS,CAAC,UAAU,CAAC,EAC5C,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,EAAE,IAAI,CAAC,CAAC,CACtC,CACF,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;SACtB;IACH,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kEAAkE,EAAE,KAAK,IAAI,EAAE;QAChF,MAAM,mBAAmB,GAAG,gCAAgC,EAAE,CAAC;QAE/D,MAAM,eAAe,GACnB,oBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;QAE3E,MAAM,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAC9C,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,EAAE,IAAI,CAAC,CAAC,CACtC,CAAC;QAEF,MAAM,eAAe,CAAC,iCAAiC,CAAC,gBAAgB,CAAC,CAAC;QAC1E,MAAM,IAAA,aAAM,EACV,gBAAgB,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CACjE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;IACvB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts new file mode 100644 index 00000000..b407e0fd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=signer-or-provider.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts.map new file mode 100644 index 00000000..88cbb755 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"signer-or-provider.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/signer-or-provider.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js new file mode 100644 index 00000000..cff5566e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = __importStar(require("chai")); +const hardhat_1 = require("hardhat"); +const index_1 = require("../../src/index"); +const redstone_protocol_1 = require("redstone-protocol"); +const tests_common_1 = require("../tests-common"); +const chai_as_promised_1 = __importDefault(require("chai-as-promised")); +chai_1.default.use(chai_as_promised_1.default); +const DATA_FEED_ID = redstone_protocol_1.utils.convertStringToBytes32("ETH"); +const EXPECTED_DATA_FEED_VALUE = 4200000000; +describe("SignerOrProviderTest", function () { + let deployedContract; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMock"); + deployedContract = await ContractFactory.deploy(); + await deployedContract.deployed(); + }); + it("Should call static function without signer", async () => { + const contract = deployedContract.connect(hardhat_1.ethers.provider); + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + const response = await wrappedContract.getValueForDataFeedId(DATA_FEED_ID); + (0, chai_1.expect)(response.toNumber()).to.equal(EXPECTED_DATA_FEED_VALUE); + }); + it("Should revert with non-static function without signer", async () => { + const contract = deployedContract.connect(hardhat_1.ethers.provider); + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await (0, chai_1.expect)(wrappedContract.saveOracleValueInContractStorage(DATA_FEED_ID)).to.be.rejectedWith("Cannot read properties of null (reading 'sendTransaction')"); + }); + it("Should call non-static function with signer", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(deployedContract).usingMockDataPackages(tests_common_1.mockNumericPackages); + const tx = await wrappedContract.saveOracleValueInContractStorage(DATA_FEED_ID); + await tx.wait(); + }); +}); +//# sourceMappingURL=signer-or-provider.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js.map new file mode 100644 index 00000000..90613c7d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/signer-or-provider.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"signer-or-provider.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/signer-or-provider.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAoC;AACpC,qCAAiC;AAEjC,2CAAiD;AACjD,yDAA0C;AAC1C,kDAAsD;AACtD,wEAA8C;AAE9C,cAAI,CAAC,GAAG,CAAC,0BAAc,CAAC,CAAC;AAEzB,MAAM,YAAY,GAAG,yBAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;AACzD,MAAM,wBAAwB,GAAG,UAAU,CAAC;AAE5C,QAAQ,CAAC,sBAAsB,EAAE;IAC/B,IAAI,gBAAmD,CAAC;IAExD,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE;QACzB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,mCAAmC,CACpC,CAAC;QACF,gBAAgB,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAClD,MAAM,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4CAA4C,EAAE,KAAK,IAAI,EAAE;QAC1D,MAAM,QAAQ,GAAG,gBAAgB,CAAC,OAAO,CAAC,gBAAM,CAAC,QAAQ,CAAC,CAAC;QAE3D,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,kCAAmB,CAAC,CAAC;QAE3E,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAC;QAC3E,IAAA,aAAM,EAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uDAAuD,EAAE,KAAK,IAAI,EAAE;QACrE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,OAAO,CAAC,gBAAM,CAAC,QAAQ,CAAC,CAAC;QAE3D,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,kCAAmB,CAAC,CAAC;QAE3E,MAAM,IAAA,aAAM,EACV,eAAe,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAC/D,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CAClB,4DAA4D,CAC7D,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6CAA6C,EAAE,KAAK,IAAI,EAAE;QAC3D,MAAM,eAAe,GACnB,sBAAc,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,qBAAqB,CACzD,kCAAmB,CACpB,CAAC;QAEJ,MAAM,EAAE,GAAG,MAAM,eAAe,CAAC,gCAAgC,CAC/D,YAAY,CACb,CAAC;QACF,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts new file mode 100644 index 00000000..237bf8f4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=storage-proxy-chainable.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts.map new file mode 100644 index 00000000..8460d31d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"storage-proxy-chainable.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/storage-proxy-chainable.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js new file mode 100644 index 00000000..30d04303 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js @@ -0,0 +1,76 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const chai_1 = require("chai"); +const src_1 = require("../../src"); +const utils_1 = require("redstone-protocol/src/common/utils"); +const tests_common_1 = require("../tests-common"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const dataPoints = [ + { dataFeedId: "ETH", value: 4000 }, + { dataFeedId: "AVAX", value: 5 }, + { dataFeedId: "BTC", value: 100000 }, + { dataFeedId: "LINK", value: 2 }, + { dataFeedId: "UNI", value: 200 }, + { dataFeedId: "FRAX", value: 1 }, + { dataFeedId: "OMG", value: 0.00003 }, + { dataFeedId: "DOGE", value: 2 }, + { dataFeedId: "SOL", value: 11 }, + { dataFeedId: "BNB", value: 31 }, +]; +describe("SampleChainableStorageProxy", function () { + let contract; + let consumerContract; + const ethDataFeedId = (0, utils_1.convertStringToBytes32)("ETH"); + this.beforeEach(async () => { + const SampleChainableStorageFactory = await hardhat_1.ethers.getContractFactory("SampleChainableStorageProxy"); + contract = await SampleChainableStorageFactory.deploy(); + await contract.deployed(); + const SampleChainableStorageProxyConsumer = await hardhat_1.ethers.getContractFactory("SampleChainableStorageProxyConsumer"); + const contractB = await SampleChainableStorageProxyConsumer.deploy(contract.address); + await contractB.deployed(); + consumerContract = await SampleChainableStorageProxyConsumer.deploy(contract.address); + await consumerContract.deployed(); + await contract.register(contractB.address); + await contractB.register(consumerContract.address); + }); + it("Should process oracle value for one asset", async () => { + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(tests_common_1.mockNumericPackages); + await wrappedContract.processOracleValue(ethDataFeedId); + const fetchedValue = await consumerContract.getComputationResult(); + (0, chai_1.expect)(fetchedValue).to.eq(tests_common_1.expectedNumericValues.ETH * 42); + }); + it("Should process oracle values for 10 assets", async () => { + const mockNumericPackages = (0, test_utils_1.getRange)({ + start: 0, + length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }).map((i) => (0, test_utils_1.getMockNumericPackage)({ + dataPoints, + mockSignerIndex: i, + })); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const dataValues = dataPoints.map((dataPoint) => Math.round(dataPoint.value * 10 ** 8)); + for (const dataPoint of dataPoints) { + await wrappedContract.processOracleValue((0, utils_1.convertStringToBytes32)(dataPoint.dataFeedId)); + } + const computationResult = await consumerContract.getComputationResult(); + (0, chai_1.expect)(computationResult).to.eq(dataValues.reduce((a, b) => a + b, 0) * 42); + }); + it("Should process oracle values for 10 assets simultaneously", async () => { + const mockNumericPackages = (0, test_utils_1.getRange)({ + start: 0, + length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }).map((i) => (0, test_utils_1.getMockNumericPackage)({ + dataPoints, + mockSignerIndex: i, + })); + const wrappedContract = src_1.WrapperBuilder.wrap(contract).usingMockDataPackages(mockNumericPackages); + const dataFeedIds = dataPoints.map((dataPoint) => dataPoint.dataFeedId); + const dataFeedIdsBytes = dataFeedIds.map(utils_1.convertStringToBytes32); + const dataValues = dataPoints.map((dataPoint) => Math.round(dataPoint.value * 10 ** 8)); + await wrappedContract.processOracleValues(dataFeedIdsBytes); + const computationResult = await consumerContract.getComputationResult(); + (0, chai_1.expect)(computationResult).to.eq(dataValues.reduce((a, b) => a + b, 0) * 42); + }); +}); +//# sourceMappingURL=storage-proxy-chainable.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js.map new file mode 100644 index 00000000..0bfc8713 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/storage-proxy-chainable.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storage-proxy-chainable.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/storage-proxy-chainable.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,+BAA8B;AAK9B,mCAA2C;AAC3C,8DAA4E;AAC5E,kDAIyB;AACzB,6DAIsC;AAEtC,MAAM,UAAU,GAAG;IACjB,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;IAClC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE;IACpC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE;IACjC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE;IACrC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAChC,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;CACjC,CAAC;AAEF,QAAQ,CAAC,6BAA6B,EAAE;IACtC,IAAI,QAAqC,CAAC;IAC1C,IAAI,gBAAqD,CAAC;IAC1D,MAAM,aAAa,GAAG,IAAA,8BAAsB,EAAC,KAAK,CAAC,CAAC;IAEpD,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE;QACzB,MAAM,6BAA6B,GAAG,MAAM,gBAAM,CAAC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C,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACxE,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,CAAC,8BAAsB,CAAC,CAAC;QACjE,MAAM,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAC9C,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,EAAE,IAAI,CAAC,CAAC,CACtC,CAAC;QAEF,MAAM,eAAe,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;QAC5D,MAAM,iBAAiB,GAAG,MAAM,gBAAgB,CAAC,oBAAoB,EAAE,CAAC;QAExE,IAAA,aAAM,EAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts new file mode 100644 index 00000000..dee52a3d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=synthetic-token.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts.map new file mode 100644 index 00000000..f63e1745 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"synthetic-token.test.d.ts","sourceRoot":"","sources":["../../../test/mock-wrapper/synthetic-token.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js new file mode 100644 index 00000000..35b16b69 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js @@ -0,0 +1,60 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const hardhat_1 = require("hardhat"); +const index_1 = require("../../src/index"); +const chai_1 = require("chai"); +const tests_common_1 = require("../tests-common"); +const utils_1 = require("redstone-protocol/src/common/utils"); +const test_utils_1 = require("../../src/helpers/test-utils"); +// TODO audit: measure how many bytes do we add to the consumer contracts +describe("SampleSyntheticToken", function () { + let sampleContract, wrappedContract, signer, address; + const toEth = function (val) { + return hardhat_1.ethers.utils.parseEther(val.toString()); + }; + const toVal = function (val) { + return hardhat_1.ethers.utils.parseUnits(val.toString(), 26); + }; + beforeEach(async () => { + const SampleSyntheticToken = await hardhat_1.ethers.getContractFactory("SampleSyntheticToken"); + sampleContract = await SampleSyntheticToken.deploy(); + await sampleContract.initialize((0, utils_1.convertStringToBytes32)("REDSTONE"), "SYNTH-REDSTONE", "SREDSTONE"); + await sampleContract.deployed(); + [signer] = await hardhat_1.ethers.getSigners(); + address = await signer.getAddress(); + const mockDataPackages = (0, test_utils_1.getRange)({ + start: 0, + length: tests_common_1.NUMBER_OF_MOCK_NUMERIC_SIGNERS, + }).map((i) => (0, test_utils_1.getMockNumericPackage)({ + dataPoints: [ + { + dataFeedId: "ETH", + value: 2000, + }, + { + dataFeedId: "REDSTONE", + value: 200, + }, + ], + mockSignerIndex: i, + })); + wrappedContract = + index_1.WrapperBuilder.wrap(sampleContract).usingMockDataPackages(mockDataPackages); + }); + it("Maker balance should be 0", async () => { + (0, chai_1.expect)(await wrappedContract.balanceOf(address)).to.equal(0); + }); + it("Should mint", async () => { + const tx = await wrappedContract.mint(toEth(100), { value: toEth(20) }); + await tx.wait(); + (0, chai_1.expect)(await wrappedContract.balanceOf(address)).to.equal(toEth(100)); + (0, chai_1.expect)(await wrappedContract.balanceValueOf(address)).to.equal(toVal(20000)); + (0, chai_1.expect)(await wrappedContract.totalValue()).to.equal(toVal(20000)); + (0, chai_1.expect)(await wrappedContract.collateralOf(address)).to.equal(toEth(20)); + (0, chai_1.expect)(await wrappedContract.collateralValueOf(address)).to.equal(toVal(40000)); + (0, chai_1.expect)(await wrappedContract.debtOf(address)).to.equal(toEth(100)); + (0, chai_1.expect)(await wrappedContract.debtValueOf(address)).to.equal(toVal(20000)); + (0, chai_1.expect)(await wrappedContract.solvencyOf(address)).to.equal(2000); + }); +}); +//# sourceMappingURL=synthetic-token.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js.map b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js.map new file mode 100644 index 00000000..ba4183fb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/mock-wrapper/synthetic-token.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"synthetic-token.test.js","sourceRoot":"","sources":["../../../test/mock-wrapper/synthetic-token.test.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AACjC,2CAAiD;AAEjD,+BAA8B;AAE9B,kDAAiE;AACjE,8DAA4E;AAC5E,6DAIsC;AAEtC,yEAAyE;AAEzE,QAAQ,CAAC,sBAAsB,EAAE;IAC/B,IAAI,cAAoC,EACtC,eAAoB,EACpB,MAAc,EACd,OAAe,CAAC;IAElB,MAAM,KAAK,GAAG,UAAU,GAAW;QACjC,OAAO,gBAAM,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IACjD,CAAC,CAAC;IACF,MAAM,KAAK,GAAG,UAAU,GAAW;QACjC,OAAO,gBAAM,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,QA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AC,KAAK,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts new file mode 100644 index 00000000..cd90f112 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=not-wrapped.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts.map new file mode 100644 index 00000000..33177874 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"not-wrapped.test.d.ts","sourceRoot":"","sources":["../../../test/not-wrapped/not-wrapped.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js new file mode 100644 index 00000000..a96ca0b7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js @@ -0,0 +1,17 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +describe("Not Wrapped Contract", function () { + let contract; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMock"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should revert if contract was not wrapped", async () => { + await (0, chai_1.expect)(contract.saveOracleValueInContractStorage(redstone_protocol_1.utils.convertStringToBytes32("BTC"))).to.be.revertedWith("CalldataMustHaveValidPayload()"); + }); +}); +//# sourceMappingURL=not-wrapped.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js.map b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js.map new file mode 100644 index 00000000..4390b7f2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/not-wrapped/not-wrapped.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"not-wrapped.test.js","sourceRoot":"","sources":["../../../test/not-wrapped/not-wrapped.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,yDAA0C;AAG1C,QAAQ,CAAC,sBAAsB,EAAE;IAC/B,IAAI,QAA2C,CAAC;IAEhD,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE;QACzB,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,mCAAmC,CACpC,CAAC;QACF,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2CAA2C,EAAE,KAAK,IAAI,EAAE;QACzD,MAAM,IAAA,aAAM,EACV,QAAQ,CAAC,gCAAgC,CACvC,yBAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,CACpC,CACF,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,gCAAgC,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts new file mode 100644 index 00000000..5de385ee --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=kyd-service.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts.map new file mode 100644 index 00000000..57b685cc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"kyd-service.test.d.ts","sourceRoot":"","sources":["../../../test/on-demand-wrapper/kyd-service.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js new file mode 100644 index 00000000..6021590e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js @@ -0,0 +1,66 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const index_1 = require("../../src/index"); +const mock_server_1 = require("./mock-server"); +describe("SampleKydServiceConsumer", () => { + let contract; + before(async () => { + mock_server_1.server.listen(); + await hardhat_1.network.provider.send("hardhat_reset"); + }); + beforeEach(async () => { + contract = await getContract(); + }); + afterEach(() => mock_server_1.server.resetHandlers()); + after(() => mock_server_1.server.close()); + it("Address should pass KYD", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingOnDemandRequest([ + "http://first-node.com/score-by-address", + "http://second-node.com/score-by-address", + ], redstone_protocol_1.ScoreType.coinbaseKYD); + const transaction = await wrappedContract.executeActionPassingKYD(); + await transaction.wait(); + const passedKydValue = await contract.getPassedKYDValue(); + (0, chai_1.expect)(passedKydValue).to.be.equal(true); + }); + it("Address shouldn't pass KYD", async () => { + contract = await getContract(false); + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingOnDemandRequest([ + "http://first-node.com/score-by-address", + "http://second-node.com/score-by-address", + ], redstone_protocol_1.ScoreType.coinbaseKYD); + await (0, chai_1.expect)(wrappedContract.executeActionPassingKYD()).to.be.revertedWith(`UserDidNotPassKYD("0x70997970C51812dc3A010C7d01b50e0d17dc79C8")`); + }); + it("Should revert if invalid response from one node", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingOnDemandRequest([ + "http://first-node.com/score-by-address", + "http://invalid-address-node.com/score-by-address", + ], redstone_protocol_1.ScoreType.coinbaseKYD); + await (0, chai_1.expect)(wrappedContract.executeActionPassingKYD()).to.be.revertedWith("InsufficientNumberOfUniqueSigners(1, 2)"); + }); + it("Should revert if one value from node is not equal", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingOnDemandRequest([ + "http://first-node.com/score-by-address", + "http://invalid-value-node.com/score-by-address", + ], redstone_protocol_1.ScoreType.coinbaseKYD); + await (0, chai_1.expect)(wrappedContract.executeActionPassingKYD()).to.be.revertedWith("AllValuesMustBeEqual()"); + }); + it("Should revert if two calls to the same node", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingOnDemandRequest([ + "http://first-node.com/score-by-address", + "http://first-node.com/score-by-address", + ], redstone_protocol_1.ScoreType.coinbaseKYD); + await (0, chai_1.expect)(wrappedContract.executeActionPassingKYD()).to.be.revertedWith("InsufficientNumberOfUniqueSigners(1, 2)"); + }); +}); +const getContract = async (isValidSigner = true) => { + const signers = await hardhat_1.ethers.getSigners(); + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleKydServiceConsumer", isValidSigner ? signers[0] : signers[1]); + const contract = await ContractFactory.deploy(); + await contract.deployed(); + return contract; +}; +//# sourceMappingURL=kyd-service.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js.map b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js.map new file mode 100644 index 00000000..37166422 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/kyd-service.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"kyd-service.test.js","sourceRoot":"","sources":["../../../test/on-demand-wrapper/kyd-service.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAA0C;AAC1C,yDAA8C;AAC9C,2CAAiD;AAEjD,+CAAuC;AAEvC,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,IAAI,QAAkC,CAAC;IAEvC,MAAM,CAAC,KAAK,IAAI,EAAE;QAChB,oBAAM,CAAC,MAAM,EAAE,CAAC;QAChB,MAAM,iBAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;IACH,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,QAAQ,GAAG,MAAM,WAAW,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE,CAAC,oBAAM,CAAC,aAAa,EAAE,CAAC,CAAC;IACxC,KAAK,CAAC,GAAG,EAAE,CAAC,oBAAM,CAAC,KAAK,EAAE,CAAC,CAAC;IAE5B,EAAE,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE;QACvC,MAAM,eAAe,GAAG,sBAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,oBAAoB,CACxE;YACE,wCAAwC;YACxC,yCAAyC;SAC1C,EACD,6BAAS,CAAC,WAAW,CACtB,CAAC;QACF,MAAM,WAAW,GAAG,MAAM,eAAe,CAAC,uBAAuB,EAAE,CAAC;QACpE,MAAM,WAAW,CAAC,IAAI,EAAE,CAAC;QACzB,MAAM,cAAc,GAAG,MAAM,QAAQ,CAAC,iBAAiB,EAAE,CAAC;QAC1D,IAAA,aAAM,EAAC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEH,EAAE,CAA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;YACE,wCAAwC;YACxC,wCAAwC;SACzC,EACD,6BAAS,CAAC,WAAW,CACtB,CAAC;QACF,MAAM,IAAA,aAAM,EAAC,eAAe,CAAC,uBAAuB,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CACxE,yCAAyC,CAC1C,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,KAAK,EACvB,gBAAyB,IAAI,EACM,EAAE;IACrC,MAAM,OAAO,GAAG,MAAM,gBAAM,CAAC,UAAU,EAAE,CAAC;IAC1C,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,kBAAkB,CACrD,0BAA0B,EAC1B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CACxC,CAAC;IACF,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,EAAE,CAAC;IAChD,MAAM,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC1B,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts new file mode 100644 index 00000000..f32f1367 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts @@ -0,0 +1,2 @@ +export declare const server: import("msw/lib/glossary-dc3fd077").I; +//# sourceMappingURL=mock-server.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts.map new file mode 100644 index 00000000..c575eb3f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mock-server.d.ts","sourceRoot":"","sources":["../../../test/on-demand-wrapper/mock-server.ts"],"names":[],"mappings":"AA6GA,eAAO,MAAM,MAAM,uCAA2B,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js new file mode 100644 index 00000000..c40b04d7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js @@ -0,0 +1,57 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.server = void 0; +const node_1 = require("msw/node"); +const msw_1 = require("msw"); +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const VERIFIED_ADDRESS = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"; +const handlers = [ + msw_1.rest.get("http://first-node.com/score-by-address", async (req, res, ctx) => { + const signedDataPackage = getSignedDataPackage({ + request: req, + privateKey: test_utils_1.MOCK_PRIVATE_KEYS[1], + valueBasedOnAddress: true, + }); + return res(ctx.json(signedDataPackage.toObj())); + }), + msw_1.rest.get("http://second-node.com/score-by-address", async (req, res, ctx) => { + const signedDataPackage = getSignedDataPackage({ + request: req, + privateKey: test_utils_1.MOCK_PRIVATE_KEYS[2], + valueBasedOnAddress: true, + }); + return res(ctx.json(signedDataPackage.toObj())); + }), + msw_1.rest.get("http://invalid-address-node.com/score-by-address", async (req, res, ctx) => { + const signedDataPackage = getSignedDataPackage({ + request: req, + value: 1234, + privateKey: test_utils_1.MOCK_PRIVATE_KEYS[2], + dataFeedId: "invalid data feed id", + }); + return res(ctx.json(signedDataPackage.toObj())); + }), + msw_1.rest.get("http://invalid-value-node.com/score-by-address", async (req, res, ctx) => { + const signedDataPackage = getSignedDataPackage({ + request: req, + value: 1234, + privateKey: test_utils_1.MOCK_PRIVATE_KEYS[2], + }); + return res(ctx.json(signedDataPackage.toObj())); + }), +]; +const getSignedDataPackage = ({ request, privateKey, value = 0, dataFeedId, valueBasedOnAddress = false, }) => { + var _a, _b; + const timestamp = (_a = request.url.searchParams.get("timestamp")) !== null && _a !== void 0 ? _a : ""; + const signature = (_b = request.url.searchParams.get("signature")) !== null && _b !== void 0 ? _b : ""; + const message = (0, redstone_protocol_1.prepareMessageToSign)(Number(timestamp)); + const address = redstone_protocol_1.UniversalSigner.recoverAddressFromEthereumHashMessage(message, signature); + let valueToResponse = value; + if (valueBasedOnAddress) { + valueToResponse = address === VERIFIED_ADDRESS ? 1 : 0; + } + return (0, redstone_protocol_1.signOnDemandDataPackage)(!!dataFeedId ? dataFeedId : address, valueToResponse, Number(timestamp), privateKey); +}; +exports.server = (0, node_1.setupServer)(...handlers); +//# sourceMappingURL=mock-server.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js.map b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js.map new file mode 100644 index 00000000..7fd5528b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/on-demand-wrapper/mock-server.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mock-server.js","sourceRoot":"","sources":["../../../test/on-demand-wrapper/mock-server.ts"],"names":[],"mappings":";;;AAAA,mCAAuC;AACvC,6BAAwC;AACxC,yDAI2B;AAC3B,6DAAiE;AAajE,MAAM,gBAAgB,GAAG,4CAA4C,CAAC;AAEtE,MAAM,QAAQ,GAAG;IACf,UAAI,CAAC,GAAG,CACN,wCAAwC,EACxC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE;QACtB,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;YAC7C,OAAO,EAAE,GAAG;YACZ,UAAU,EAAE,8BAAiB,CAAC,CAAC,CAAC;YAChC,mBAAmB,EAAE,IAAI;SAC1B,CAAC,CAAC;QAEH,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC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B,GAAG,KAAK,GAO5B,EAAE,EAAE;;IACH,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,EAAE,CAAC;IAClE,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,EAAE,CAAC;IAClE,MAAM,OAAO,GAAG,IAAA,wCAAoB,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;IACxD,MAAM,OAAO,GAAG,mCAAe,CAAC,qCAAqC,CACnE,OAAO,EACP,SAAS,CACV,CAAC;IACF,IAAI,eAAe,GAAG,KAAK,CAAC;IAC5B,IAAI,mBAAmB,EAAE;QACvB,eAAe,GAAG,OAAO,KAAK,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACxD;IAED,OAAO,IAAA,2CAAuB,EAC5B,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,EACnC,eAAe,EACf,MAAM,CAAC,SAAS,CAAC,EACjB,UAAU,CACX,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,kBAAW,EAAC,GAAG,QAAQ,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts new file mode 100644 index 00000000..4c894e6b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=simple-mock-numeric.test.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts.map new file mode 100644 index 00000000..4d9b5863 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"simple-mock-numeric.test.d.ts","sourceRoot":"","sources":["../../../test/simple-mock-numeric-wrapper/simple-mock-numeric.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js new file mode 100644 index 00000000..5029fdbd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const chai_1 = require("chai"); +const hardhat_1 = require("hardhat"); +const redstone_protocol_1 = require("redstone-protocol"); +const test_utils_1 = require("../../src/helpers/test-utils"); +const index_1 = require("../../src/index"); +const dataPoints = [ + { dataFeedId: "ETH", value: 42 }, + { dataFeedId: "BTC", value: 400 }, +]; +describe("Simple Mock Numeric Wrapper", function () { + let contract; + this.beforeEach(async () => { + const ContractFactory = await hardhat_1.ethers.getContractFactory("SampleRedstoneConsumerNumericMockManyDataFeeds"); + contract = await ContractFactory.deploy(); + await contract.deployed(); + }); + it("Should properly execute on contract wrapped using simple numeric mock", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingSimpleNumericMock({ + mockSignersCount: 10, + dataPoints, + }); + const tx = await wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32(dataPoints[0].dataFeedId), + redstone_protocol_1.utils.convertStringToBytes32(dataPoints[1].dataFeedId), + ]); + await tx.wait(); + const firstValueFromContract = await contract.firstValue(); + const secondValueFromContract = await contract.secondValue(); + (0, chai_1.expect)(firstValueFromContract.toNumber()).to.be.equal(dataPoints[0].value * 10 ** 8); + (0, chai_1.expect)(secondValueFromContract.toNumber()).to.be.equal(dataPoints[1].value * 10 ** 8); + }); + it("Should revert for too few signers", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingSimpleNumericMock({ + mockSignersCount: 9, + dataPoints, + }); + await (0, chai_1.expect)(wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32(dataPoints[0].dataFeedId), + redstone_protocol_1.utils.convertStringToBytes32(dataPoints[1].dataFeedId), + ])).to.be.revertedWith("InsufficientNumberOfUniqueSigners(9, 10)"); + }); + it("Should revert for too old timestamp", async () => { + const wrappedContract = index_1.WrapperBuilder.wrap(contract).usingSimpleNumericMock({ + mockSignersCount: 10, + dataPoints, + timestampMilliseconds: test_utils_1.DEFAULT_TIMESTAMP_FOR_TESTS - 1, + }); + await (0, chai_1.expect)(wrappedContract.save2ValuesInStorage([ + redstone_protocol_1.utils.convertStringToBytes32(dataPoints[0].dataFeedId), + redstone_protocol_1.utils.convertStringToBytes32(dataPoints[1].dataFeedId), + ])).to.be.revertedWith("TimestampIsNotValid()"); + }); +}); +//# sourceMappingURL=simple-mock-numeric.test.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js.map b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js.map new file mode 100644 index 00000000..66c9caf8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/simple-mock-numeric-wrapper/simple-mock-numeric.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"simple-mock-numeric.test.js","sourceRoot":"","sources":["../../../test/simple-mock-numeric-wrapper/simple-mock-numeric.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,qCAAiC;AACjC,yDAA0C;AAC1C,6DAA2E;AAC3E,2CAAiD;AAGjD,MAAM,UAAU,GAAG;IACjB,EAAE,UA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lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts b/lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts new file mode 100644 index 00000000..534b7d31 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts @@ -0,0 +1,19 @@ +import { MockNumericPackageArgs, MockStringPackageArgs } from "../src/helpers/test-utils"; +export declare const NUMBER_OF_MOCK_NUMERIC_SIGNERS = 10; +export declare const mockNumericPackageConfigs: MockNumericPackageArgs[]; +export declare const mockNumericPackages: import("../src/wrappers/MockWrapper").MockDataPackageConfig[]; +export declare const mockSignedDataPackageObjects: import("redstone-protocol").SignedDataPackagePlainObj[]; +export declare const expectedNumericValues: any; +export declare const bytesDataPoints: { + dataFeedId: string; + value: string; +}[]; +export declare const mockBytesPackageConfigs: MockStringPackageArgs[]; +export declare const mockBytesPackages: import("../src/wrappers/MockWrapper").MockDataPackageConfig[]; +export declare const expectedBytesValues: { + ETH: string; + BTC: string; +}; +export declare const UNAUTHORISED_SIGNER_INDEX = 19; +export declare const getBlockTimestampMilliseconds: () => Promise; +//# sourceMappingURL=tests-common.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts.map b/lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts.map new file mode 100644 index 00000000..ae6af6e9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/tests-common.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"tests-common.d.ts","sourceRoot":"","sources":["../../test/tests-common.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,sBAAsB,EAEtB,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD,eAAO,MAAM,yBAAyB,EAAE,sBAAsB,EAoC7D,CAAC;AAEF,eAAO,MAAM,mBAAmB,+DAE/B,CAAC;AAEF,eAAO,MAAM,4BAA4B,yDAExC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,GAGnC,CAAC;AAEF,eAAO,MAAM,eAAe;;;GAa3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAMxD,CAAC;AAEJ,eAAO,MAAM,iBAAiB,+DACqB,CAAC;AAEpD,eAAO,MAAM,mBAAmB;;;CAG/B,CAAC;AAEF,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,eAAO,MAAM,6BAA6B,uBAIzC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/tests-common.js b/lib/redstone-finance/evm-connector/dist/test/tests-common.js new file mode 100644 index 00000000..234dced6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/tests-common.js @@ -0,0 +1,81 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getBlockTimestampMilliseconds = exports.UNAUTHORISED_SIGNER_INDEX = exports.expectedBytesValues = exports.mockBytesPackages = exports.mockBytesPackageConfigs = exports.bytesDataPoints = exports.expectedNumericValues = exports.mockSignedDataPackageObjects = exports.mockNumericPackages = exports.mockNumericPackageConfigs = exports.NUMBER_OF_MOCK_NUMERIC_SIGNERS = void 0; +const hardhat_1 = require("hardhat"); +const test_utils_1 = require("../src/helpers/test-utils"); +exports.NUMBER_OF_MOCK_NUMERIC_SIGNERS = 10; +exports.mockNumericPackageConfigs = [ + { + mockSignerIndex: 0, + dataPoints: [ + { dataFeedId: "BTC", value: 412 }, + { dataFeedId: "ETH", value: 41 }, + { dataFeedId: "SOME OTHER ID 0", value: 123 }, + { dataFeedId: "SOME OTHER ID 1", value: 123 }, + ], + }, + { + mockSignerIndex: 1, + dataPoints: [ + { dataFeedId: "BTC", value: 390 }, + { dataFeedId: "ETH", value: 42 }, + { dataFeedId: "SOME OTHER ID 1", value: 123 }, + ], + }, + { + mockSignerIndex: 2, + dataPoints: [ + { dataFeedId: "BTC", value: 400 }, + { dataFeedId: "ETH", value: 43 }, + { dataFeedId: "SOME OTHER ID 2", value: 123 }, + ], + }, + ...(0, test_utils_1.getRange)({ start: 3, length: exports.NUMBER_OF_MOCK_NUMERIC_SIGNERS - 3 }).map((mockSignerIndex) => ({ + mockSignerIndex, + dataPoints: [ + { dataFeedId: "ETH", value: 42 }, + { dataFeedId: "BTC", value: 400 }, + { dataFeedId: "SOME OTHER ID", value: 123 }, + ], + })), +]; +exports.mockNumericPackages = exports.mockNumericPackageConfigs.map(test_utils_1.getMockNumericPackage); +exports.mockSignedDataPackageObjects = exports.mockNumericPackageConfigs.map(test_utils_1.getMockSignedDataPackageObj); +exports.expectedNumericValues = { + ETH: 42 * 10 ** 8, + BTC: 400 * 10 ** 8, +}; +exports.bytesDataPoints = [ + { + dataFeedId: "ETH", + value: "Ethereum", + }, + { + dataFeedId: "BTC", + value: "Bitcoin_", + }, + { + dataFeedId: "SOME OTHER ID", + value: "Hahahaha", + }, +]; +exports.mockBytesPackageConfigs = (0, test_utils_1.getRange)({ + start: 0, + length: 3, +}).map((i) => ({ + dataPoints: exports.bytesDataPoints, + mockSignerIndex: i, +})); +exports.mockBytesPackages = exports.mockBytesPackageConfigs.map(test_utils_1.getMockStringPackage); +exports.expectedBytesValues = { + ETH: "0x457468657265756d", + BTC: "0x426974636f696e5f", +}; +exports.UNAUTHORISED_SIGNER_INDEX = 19; +const getBlockTimestampMilliseconds = async () => { + const blockNum = await hardhat_1.ethers.provider.getBlockNumber(); + const block = await hardhat_1.ethers.provider.getBlock(blockNum); + return block.timestamp * 1000; +}; +exports.getBlockTimestampMilliseconds = getBlockTimestampMilliseconds; +//# sourceMappingURL=tests-common.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/test/tests-common.js.map b/lib/redstone-finance/evm-connector/dist/test/tests-common.js.map new file mode 100644 index 00000000..bed8a4f6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/test/tests-common.js.map @@ -0,0 +1 @@ +{"version":3,"file":"tests-common.js","sourceRoot":"","sources":["../../test/tests-common.ts"],"names":[],"mappings":";;;AAAA,qCAAiC;AAC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ChC,CAAC,CAAC;AAJW,QAAA,6BAA6B,iCAIxC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/tsconfig.tsbuildinfo b/lib/redstone-finance/evm-connector/dist/tsconfig.tsbuildinfo new file mode 100644 index 00000000..8933297b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/@nestjs/cli/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@types/mocha/index.d.ts","../../../node_modules/hardhat/types/config.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-common/dist/enums.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-common/dist/types.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/constants.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/address.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/bytes.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/types.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/account.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/signature.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/internal.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-util/dist/index.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-common/dist/common.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-common/dist/index.d.ts","../../../node_modules/@types/async-eventemitter/index.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/exceptions.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/memory.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/stack.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/opcodes/functions.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/opcodes/gas.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/opcodes/codes.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/opcodes/util.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/opcodes/index.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/interpreter.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/types.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/precompiles/types.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/precompiles/index.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/message.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/transientstorage.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/evm.d.ts","../../../node_modules/@nomicfoundation/ethereumjs-evm/dist/index.d.ts","../../../node_modules/hardhat/internal/hardhat-network/stack-traces/opcodes.d.ts","../../../node_modules/hardhat/internal/hardhat-network/stack-traces/model.d.ts","../../../node_modules/hardhat/internal/hardhat-network/stack-traces/message-trace.d.ts","../../../node_modules/hardhat/types/artifacts.d.ts","../../../node_modules/hardhat/types/provider.d.ts","../../../node_modules/hardhat/types/runtime.d.ts","../../../node_modules/hardhat/types/experimental.d.ts","../../../node_modules/hardhat/types/builtin-tasks/compile.d.ts","../../../node_modules/hardhat/types/builtin-tasks/node.d.ts","../../../node_modules/hardhat/types/builtin-tasks/index.d.ts","../../../node_modules/hardhat/types/index.d.ts","../../../node_modules/hardhat/internal/core/params/argumenttypes.d.ts","../../../node_modules/hardhat/internal/core/config/config-env.d.ts","../../../node_modules/hardhat/config.d.ts","../../../node_modules/@ethersproject/bytes/lib/index.d.ts","../../../node_modules/@ethersproject/bignumber/lib/bignumber.d.ts","../../../node_modules/@ethersproject/bignumber/lib/fixednumber.d.ts","../../../node_modules/@ethersproject/bignumber/lib/index.d.ts","../../../node_modules/@ethersproject/abi/lib/fragments.d.ts","../../../node_modules/@ethersproject/abi/lib/coders/abstract-coder.d.ts","../../../node_modules/@ethersproject/abi/lib/abi-coder.d.ts","../../../node_modules/@ethersproject/properties/lib/index.d.ts","../../../node_modules/@ethersproject/abi/lib/interface.d.ts","../../../node_modules/@ethersproject/abi/lib/index.d.ts","../../../node_modules/@ethersproject/networks/lib/types.d.ts","../../../node_modules/@ethersproject/networks/lib/index.d.ts","../../../node_modules/@ethersproject/transactions/lib/index.d.ts","../../../node_modules/@ethersproject/web/lib/index.d.ts","../../../node_modules/@ethersproject/abstract-provider/lib/index.d.ts","../../../node_modules/@ethersproject/abstract-signer/lib/index.d.ts","../../../node_modules/@ethersproject/contracts/lib/index.d.ts","../../../node_modules/@ethersproject/logger/lib/index.d.ts","../../../node_modules/@ethersproject/wordlists/lib/wordlist.d.ts","../../../node_modules/@ethersproject/wordlists/lib/wordlists.d.ts","../../../node_modules/@ethersproject/wordlists/lib/index.d.ts","../../../node_modules/@ethersproject/hdnode/lib/index.d.ts","../../../node_modules/@ethersproject/signing-key/lib/index.d.ts","../../../node_modules/@ethersproject/json-wallets/lib/crowdsale.d.ts","../../../node_modules/@ethersproject/json-wallets/lib/inspect.d.ts","../../../node_modules/@ethersproject/json-wallets/lib/keystore.d.ts","../../../node_modules/@ethersproject/json-wallets/lib/index.d.ts","../../../node_modules/@ethersproject/wallet/lib/index.d.ts","../../../node_modules/@ethersproject/constants/lib/addresses.d.ts","../../../node_modules/@ethersproject/constants/lib/bignumbers.d.ts","../../../node_modules/@ethersproject/constants/lib/hashes.d.ts","../../../node_modules/@ethersproject/constants/lib/strings.d.ts","../../../node_modules/@ethersproject/constants/lib/index.d.ts","../../../node_modules/@ethersproject/providers/lib/formatter.d.ts","../../../node_modules/@ethersproject/providers/lib/base-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/json-rpc-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/websocket-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/url-json-rpc-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/alchemy-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/ankr-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/cloudflare-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/etherscan-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/fallback-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/ipc-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/infura-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/json-rpc-batch-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/nodesmith-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/pocket-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/web3-provider.d.ts","../../../node_modules/@ethersproject/providers/lib/index.d.ts","../../../node_modules/@ethersproject/address/lib/index.d.ts","../../../node_modules/@ethersproject/base64/lib/base64.d.ts","../../../node_modules/@ethersproject/base64/lib/index.d.ts","../../../node_modules/@ethersproject/basex/lib/index.d.ts","../../../node_modules/@ethersproject/hash/lib/id.d.ts","../../../node_modules/@ethersproject/hash/lib/namehash.d.ts","../../../node_modules/@ethersproject/hash/lib/message.d.ts","../../../node_modules/@ethersproject/hash/lib/typed-data.d.ts","../../../node_modules/@ethersproject/hash/lib/index.d.ts","../../../node_modules/@ethersproject/keccak256/lib/index.d.ts","../../../node_modules/@ethersproject/sha2/lib/types.d.ts","../../../node_modules/@ethersproject/sha2/lib/sha2.d.ts","../../../node_modules/@ethersproject/sha2/lib/index.d.ts","../../../node_modules/@ethersproject/solidity/lib/index.d.ts","../../../node_modules/@ethersproject/random/lib/random.d.ts","../../../node_modules/@ethersproject/random/lib/shuffle.d.ts","../../../node_modules/@ethersproject/random/lib/index.d.ts","../../../node_modules/@ethersproject/rlp/lib/index.d.ts","../../../node_modules/@ethersproject/strings/lib/bytes32.d.ts","../../../node_modules/@ethersproject/strings/lib/idna.d.ts","../../../node_modules/@ethersproject/strings/lib/utf8.d.ts","../../../node_modules/@ethersproject/strings/lib/index.d.ts","../../../node_modules/@ethersproject/units/lib/index.d.ts","../../../node_modules/ethers/lib/utils.d.ts","../../../node_modules/ethers/lib/_version.d.ts","../../../node_modules/ethers/lib/ethers.d.ts","../../../node_modules/ethers/lib/index.d.ts","../../../node_modules/@nomiclabs/hardhat-ethers/signers.d.ts","../../../node_modules/@nomiclabs/hardhat-ethers/types/index.d.ts","../../../node_modules/@nomiclabs/hardhat-ethers/internal/type-extensions.d.ts","../../../node_modules/@nomiclabs/hardhat-ethers/internal/index.d.ts","../../../node_modules/@ethereum-waffle/provider/dist/esm/callhistory.d.ts","../../../node_modules/ganache-core/typings/index.d.ts","../../../node_modules/@ethereum-waffle/ens/dist/esm/ens.d.ts","../../../node_modules/@ethereum-waffle/ens/dist/esm/index.d.ts","../../../node_modules/@ethereum-waffle/provider/dist/esm/mockprovider.d.ts","../../../node_modules/@ethereum-waffle/provider/dist/esm/fixtures.d.ts","../../../node_modules/@ethereum-waffle/provider/dist/esm/defaultaccounts.d.ts","../../../node_modules/@ethereum-waffle/provider/dist/esm/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../node_modules/@types/sinon/index.d.ts","../../../node_modules/@types/sinon-chai/index.d.ts","../../../node_modules/@ethereum-waffle/chai/dist/esm/types.d.ts","../../../node_modules/@ethereum-waffle/chai/dist/esm/index.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/config/config.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/config/defaultconfig.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/config/inputtoconfig.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/config/loadconfig.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/config/index.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/compiler.d.ts","../../../node_modules/@types/mkdirp/index.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/flattener.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/link.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/generatetypes.d.ts","../../../node_modules/@ethereum-waffle/compiler/dist/esm/index.d.ts","../../../node_modules/@ethereum-waffle/mock-contract/dist/esm/index.d.ts","../../../node_modules/ethereum-waffle/dist/esm/contractjson.d.ts","../../../node_modules/ethereum-waffle/dist/esm/deploycontract.d.ts","../../../node_modules/ethereum-waffle/dist/esm/index.d.ts","../../../node_modules/@nomiclabs/hardhat-waffle/dist/src/type-extensions.d.ts","../../../node_modules/@nomiclabs/hardhat-waffle/dist/src/index.d.ts","../../../node_modules/@typechain/hardhat/dist/types.d.ts","../../../node_modules/@typechain/hardhat/dist/type-extensions.d.ts","../../../node_modules/@typechain/hardhat/dist/index.d.ts","../../../node_modules/hardhat-gas-reporter/dist/src/types.d.ts","../../../node_modules/hardhat-gas-reporter/dist/src/type-extensions.d.ts","../../../node_modules/hardhat-gas-reporter/dist/src/index.d.ts","../hardhat.config.ts","../../oracles-smartweave-contracts/dist/src/contracts/redstone-oracle-registry/types.d.ts","../../protocol/dist/src/common/serializable.d.ts","../../protocol/dist/src/common/utils.d.ts","../../protocol/dist/src/data-point/numericdatapoint.d.ts","../../protocol/dist/src/data-point/stringdatapoint.d.ts","../../protocol/dist/src/data-point/datapoint.d.ts","../../protocol/dist/src/data-package/signed-package-deserializing.d.ts","../../protocol/dist/src/data-package/signeddatapackage.d.ts","../../protocol/dist/src/data-package/datapackage.d.ts","../../protocol/dist/src/redstone-payload/redstonepayloadparser.d.ts","../../protocol/dist/src/redstone-payload/redstonepayload.d.ts","../../protocol/dist/src/universalsigner.d.ts","../../protocol/dist/src/common/redstone-constants.d.ts","../../protocol/dist/src/common/types.d.ts","../../protocol/dist/src/on-demand/on-demand-signer.d.ts","../../protocol/dist/src/on-demand/index.d.ts","../../protocol/dist/src/index.d.ts","../../sdk/dist/src/index.d.ts","../src/helpers/test-utils.ts","../src/helpers/add-contract-wait.ts","../src/wrappers/basewrapper.ts","../package.json","../src/wrappers/mockwrapper.ts","../src/helpers/parse-aggregated-errors.ts","../src/helpers/run-dry-run.ts","../src/wrappers/dataservicewrapper.ts","../src/wrappers/simplemocknumericwrapper.ts","../node_modules/axios/index.d.ts","../src/wrappers/ondemandrequestwrapper.ts","../src/wrappers/datapackageswrapper.ts","../src/wrapperbuilder.ts","../src/index.ts","../../../node_modules/hardhat/internal/lib/hardhat-lib.d.ts","../test/tests-common.ts","../../../node_modules/@types/chai-as-promised/index.d.ts","../typechain-types/common.ts","../typechain-types/@chainlink/contracts/src/v0.8/interfaces/aggregatorv3interface.ts","../typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.ts","../typechain-types/@chainlink/contracts/src/v0.8/index.ts","../typechain-types/@chainlink/contracts/src/index.ts","../typechain-types/@chainlink/contracts/index.ts","../typechain-types/@chainlink/index.ts","../typechain-types/@openzeppelin/contracts/access/ownable.ts","../typechain-types/@openzeppelin/contracts/access/index.ts","../typechain-types/@openzeppelin/contracts/token/erc20/extensions/ierc20metadata.ts","../typechain-types/@openzeppelin/contracts/token/erc20/extensions/index.ts","../typechain-types/@openzeppelin/contracts/token/erc20/ierc20.ts","../typechain-types/@openzeppelin/contracts/token/erc20/index.ts","../typechain-types/@openzeppelin/contracts/token/index.ts","../typechain-types/@openzeppelin/contracts/index.ts","../typechain-types/@openzeppelin/index.ts","../typechain-types/contracts/core/calldataextractor.ts","../typechain-types/contracts/core/proxyconnector.ts","../typechain-types/contracts/core/redstoneconstants.ts","../typechain-types/contracts/core/redstoneconsumerbase.ts","../typechain-types/contracts/core/redstoneconsumerbytesbase.ts","../typechain-types/contracts/core/redstoneconsumernumericbase.ts","../typechain-types/contracts/core/redstonedefaultslib.ts","../typechain-types/contracts/core/index.ts","../typechain-types/contracts/data-services/avalanchedataserviceconsumerbase.ts","../typechain-types/contracts/data-services/customurlsconsumerbase.ts","../typechain-types/contracts/data-services/kydserviceconsumerbase.ts","../typechain-types/contracts/data-services/maindemoconsumerbase.ts","../typechain-types/contracts/data-services/rapiddemoconsumerbase.ts","../typechain-types/contracts/data-services/stocksdemoconsumerbase.ts","../typechain-types/contracts/data-services/twapsdemoconsumerbase.ts","../typechain-types/contracts/data-services/index.ts","../typechain-types/contracts/libs/numericarraylib.ts","../typechain-types/contracts/libs/index.ts","../typechain-types/contracts/mocks/authorisedmocksignersbase.ts","../typechain-types/contracts/mocks/pricefeedsmanagermock.ts","../typechain-types/contracts/mocks/redstoneconsumerbytesmock.ts","../typechain-types/contracts/mocks/redstoneconsumernumericmock.ts","../typechain-types/contracts/mocks/index.ts","../typechain-types/contracts/price-feeds/customerrors.ts","../typechain-types/contracts/price-feeds/pricefeed.ts","../typechain-types/contracts/price-feeds/pricefeedsmanager.ts","../typechain-types/contracts/price-feeds/index.ts","../typechain-types/contracts/samples/samplesynthetictoken.sol/erc20initializable.ts","../typechain-types/contracts/samples/samplesynthetictoken.sol/samplesynthetictoken.ts","../typechain-types/contracts/samples/samplesynthetictoken.sol/index.ts","../typechain-types/contracts/samples/benchmarks/benchmark.ts","../typechain-types/contracts/samples/benchmarks/hashcalldatamodel.ts","../typechain-types/contracts/samples/benchmarks/samplechainableproxyconnector.ts","../typechain-types/contracts/samples/benchmarks/samplechainablestorageproxy.ts","../typechain-types/contracts/samples/benchmarks/samplechainablestorageproxyconsumer.ts","../typechain-types/contracts/samples/benchmarks/sampleproxyconnectorconsumer.ts","../typechain-types/contracts/samples/benchmarks/storagestructuremodel.ts","../typechain-types/contracts/samples/benchmarks/index.ts","../typechain-types/contracts/samples/samplebitmaplib.ts","../typechain-types/contracts/samples/sampleduplicateddatafeeds.ts","../typechain-types/contracts/samples/samplekydserviceconsumer.ts","../typechain-types/contracts/samples/samplenumericarraylib.ts","../typechain-types/contracts/samples/sampleproxyconnector.ts","../typechain-types/contracts/samples/sampleredstoneconsumerbytesmock.ts","../typechain-types/contracts/samples/sampleredstoneconsumerbytesmockmanydatafeeds.ts","../typechain-types/contracts/samples/sampleredstoneconsumerbytesmockstrings.ts","../typechain-types/contracts/samples/sampleredstoneconsumernumericmock.ts","../typechain-types/contracts/samples/sampleredstoneconsumernumericmockmanydatafeeds.ts","../typechain-types/contracts/samples/sampleredstonedefaultslib.ts","../typechain-types/contracts/samples/samplestorageproxy.ts","../typechain-types/contracts/samples/samplestorageproxyconsumer.ts","../typechain-types/contracts/samples/samplewithevents.ts","../typechain-types/contracts/samples/index.ts","../typechain-types/contracts/index.ts","../typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/aggregatorv3interface__factory.ts","../typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.ts","../typechain-types/factories/@chainlink/contracts/src/v0.8/index.ts","../typechain-types/factories/@chainlink/contracts/src/index.ts","../typechain-types/factories/@chainlink/contracts/index.ts","../typechain-types/factories/@chainlink/index.ts","../typechain-types/factories/@openzeppelin/contracts/access/ownable__factory.ts","../typechain-types/factories/@openzeppelin/contracts/access/index.ts","../typechain-types/factories/@openzeppelin/contracts/token/erc20/extensions/ierc20metadata__factory.ts","../typechain-types/factories/@openzeppelin/contracts/token/erc20/extensions/index.ts","../typechain-types/factories/@openzeppelin/contracts/token/erc20/ierc20__factory.ts","../typechain-types/factories/@openzeppelin/contracts/token/erc20/index.ts","../typechain-types/factories/@openzeppelin/contracts/token/index.ts","../typechain-types/factories/@openzeppelin/contracts/index.ts","../typechain-types/factories/@openzeppelin/index.ts","../typechain-types/factories/contracts/core/calldataextractor__factory.ts","../typechain-types/factories/contracts/core/proxyconnector__factory.ts","../typechain-types/factories/contracts/core/redstoneconstants__factory.ts","../typechain-types/factories/contracts/core/redstoneconsumerbase__factory.ts","../typechain-types/factories/contracts/core/redstoneconsumerbytesbase__factory.ts","../typechain-types/factories/contracts/core/redstoneconsumernumericbase__factory.ts","../typechain-types/factories/contracts/core/redstonedefaultslib__factory.ts","../typechain-types/factories/contracts/core/index.ts","../typechain-types/factories/contracts/data-services/avalanchedataserviceconsumerbase__factory.ts","../typechain-types/factories/contracts/data-services/customurlsconsumerbase__factory.ts","../typechain-types/factories/contracts/data-services/kydserviceconsumerbase__factory.ts","../typechain-types/factories/contracts/data-services/maindemoconsumerbase__factory.ts","../typechain-types/factories/contracts/data-services/rapiddemoconsumerbase__factory.ts","../typechain-types/factories/contracts/data-services/stocksdemoconsumerbase__factory.ts","../typechain-types/factories/contracts/data-services/twapsdemoconsumerbase__factory.ts","../typechain-types/factories/contracts/data-services/index.ts","../typechain-types/factories/contracts/libs/numericarraylib__factory.ts","../typechain-types/factories/contracts/libs/index.ts","../typechain-types/factories/contracts/mocks/authorisedmocksignersbase__factory.ts","../typechain-types/factories/contracts/mocks/pricefeedsmanagermock__factory.ts","../typechain-types/factories/contracts/mocks/redstoneconsumerbytesmock__factory.ts","../typechain-types/factories/contracts/mocks/redstoneconsumernumericmock__factory.ts","../typechain-types/factories/contracts/mocks/index.ts","../typechain-types/factories/contracts/price-feeds/customerrors__factory.ts","../typechain-types/factories/contracts/price-feeds/pricefeed__factory.ts","../typechain-types/factories/contracts/price-feeds/pricefeedsmanager__factory.ts","../typechain-types/factories/contracts/price-feeds/index.ts","../typechain-types/factories/contracts/samples/samplesynthetictoken.sol/erc20initializable__factory.ts","../typechain-types/factories/contracts/samples/samplesynthetictoken.sol/samplesynthetictoken__factory.ts","../typechain-types/factories/contracts/samples/samplesynthetictoken.sol/index.ts","../typechain-types/factories/contracts/samples/benchmarks/benchmark__factory.ts","../typechain-types/factories/contracts/samples/benchmarks/hashcalldatamodel__factory.ts","../typechain-types/factories/contracts/samples/benchmarks/samplechainableproxyconnector__factory.ts","../typechain-types/factories/contracts/samples/benchmarks/samplechainablestorageproxy__factory.ts","../typechain-types/factories/contracts/samples/benchmarks/samplechainablestorageproxyconsumer__factory.ts","../typechain-types/factories/contracts/samples/benchmarks/sampleproxyconnectorconsumer__factory.ts","../typechain-types/factories/contracts/samples/benchmarks/storagestructuremodel__factory.ts","../typechain-types/factories/contracts/samples/benchmarks/index.ts","../typechain-types/factories/contracts/samples/samplebitmaplib__factory.ts","../typechain-types/factories/contracts/samples/sampleduplicateddatafeeds__factory.ts","../typechain-types/factories/contracts/samples/samplekydserviceconsumer__factory.ts","../typechain-types/factories/contracts/samples/samplenumericarraylib__factory.ts","../typechain-types/factories/contracts/samples/sampleproxyconnector__factory.ts","../typechain-types/factories/contracts/samples/sampleredstoneconsumerbytesmock__factory.ts","../typechain-types/factories/contracts/samples/sampleredstoneconsumerbytesmockmanydatafeeds__factory.ts","../typechain-types/factories/contracts/samples/sampleredstoneconsumerbytesmockstrings__factory.ts","../typechain-types/factories/contracts/samples/sampleredstoneconsumernumericmock__factory.ts","../typechain-types/factories/contracts/samples/sampleredstoneconsumernumericmockmanydatafeeds__factory.ts","../typechain-types/factories/contracts/samples/sampleredstonedefaultslib__factory.ts","../typechain-types/factories/contracts/samples/samplestorageproxy__factory.ts","../typechain-types/factories/contracts/samples/samplestorageproxyconsumer__factory.ts","../typechain-types/factories/contracts/samples/samplewithevents__factory.ts","../typechain-types/factories/contracts/samples/index.ts","../typechain-types/factories/contracts/index.ts","../typechain-types/factories/index.ts","../typechain-types/index.ts","../test/data-packages-wrapper/helpers.ts","../test/data-packages-wrapper/data-packages-wrapper.test.ts","../../../node_modules/msw/node_modules/type-fest/source/primitive.d.ts","../../../node_modules/msw/node_modules/type-fest/source/typed-array.d.ts","../../../node_modules/msw/node_modules/type-fest/source/basic.d.ts","../../../node_modules/msw/node_modules/type-fest/source/observable-like.d.ts","../../../node_modules/msw/node_modules/type-fest/source/internal.d.ts","../../../node_modules/msw/node_modules/type-fest/source/except.d.ts","../../../node_modules/msw/node_modules/type-fest/source/simplify.d.ts","../../../node_modules/msw/node_modules/type-fest/source/writable.d.ts","../../../node_modules/msw/node_modules/type-fest/source/mutable.d.ts","../../../node_modules/msw/node_modules/type-fest/source/merge.d.ts","../../../node_modules/msw/node_modules/type-fest/source/merge-exclusive.d.ts","../../../node_modules/msw/node_modules/type-fest/source/require-at-least-one.d.ts","../../../node_modules/msw/node_modules/type-fest/source/require-exactly-one.d.ts","../../../node_modules/msw/node_modules/type-fest/source/require-all-or-none.d.ts","../../../node_modules/msw/node_modules/type-fest/source/remove-index-signature.d.ts","../../../node_modules/msw/node_modules/type-fest/source/partial-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/partial-on-undefined-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/readonly-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/literal-union.d.ts","../../../node_modules/msw/node_modules/type-fest/source/promisable.d.ts","../../../node_modules/msw/node_modules/type-fest/source/opaque.d.ts","../../../node_modules/msw/node_modules/type-fest/source/invariant-of.d.ts","../../../node_modules/msw/node_modules/type-fest/source/set-optional.d.ts","../../../node_modules/msw/node_modules/type-fest/source/set-required.d.ts","../../../node_modules/msw/node_modules/type-fest/source/set-non-nullable.d.ts","../../../node_modules/msw/node_modules/type-fest/source/value-of.d.ts","../../../node_modules/msw/node_modules/type-fest/source/promise-value.d.ts","../../../node_modules/msw/node_modules/type-fest/source/async-return-type.d.ts","../../../node_modules/msw/node_modules/type-fest/source/conditional-keys.d.ts","../../../node_modules/msw/node_modules/type-fest/source/conditional-except.d.ts","../../../node_modules/msw/node_modules/type-fest/source/conditional-pick.d.ts","../../../node_modules/msw/node_modules/type-fest/source/union-to-intersection.d.ts","../../../node_modules/msw/node_modules/type-fest/source/stringified.d.ts","../../../node_modules/msw/node_modules/type-fest/source/fixed-length-array.d.ts","../../../node_modules/msw/node_modules/type-fest/source/multidimensional-array.d.ts","../../../node_modules/msw/node_modules/type-fest/source/multidimensional-readonly-array.d.ts","../../../node_modules/msw/node_modules/type-fest/source/iterable-element.d.ts","../../../node_modules/msw/node_modules/type-fest/source/entry.d.ts","../../../node_modules/msw/node_modules/type-fest/source/entries.d.ts","../../../node_modules/msw/node_modules/type-fest/source/set-return-type.d.ts","../../../node_modules/msw/node_modules/type-fest/source/asyncify.d.ts","../../../node_modules/msw/node_modules/type-fest/source/numeric.d.ts","../../../node_modules/msw/node_modules/type-fest/source/jsonify.d.ts","../../../node_modules/msw/node_modules/type-fest/source/schema.d.ts","../../../node_modules/msw/node_modules/type-fest/source/literal-to-primitive.d.ts","../../../node_modules/msw/node_modules/type-fest/source/string-key-of.d.ts","../../../node_modules/msw/node_modules/type-fest/source/exact.d.ts","../../../node_modules/msw/node_modules/type-fest/source/readonly-tuple.d.ts","../../../node_modules/msw/node_modules/type-fest/source/optional-keys-of.d.ts","../../../node_modules/msw/node_modules/type-fest/source/has-optional-keys.d.ts","../../../node_modules/msw/node_modules/type-fest/source/required-keys-of.d.ts","../../../node_modules/msw/node_modules/type-fest/source/has-required-keys.d.ts","../../../node_modules/msw/node_modules/type-fest/source/spread.d.ts","../../../node_modules/msw/node_modules/type-fest/source/split.d.ts","../../../node_modules/msw/node_modules/type-fest/source/camel-case.d.ts","../../../node_modules/msw/node_modules/type-fest/source/camel-cased-properties.d.ts","../../../node_modules/msw/node_modules/type-fest/source/camel-cased-properties-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/delimiter-case.d.ts","../../../node_modules/msw/node_modules/type-fest/source/kebab-case.d.ts","../../../node_modules/msw/node_modules/type-fest/source/delimiter-cased-properties.d.ts","../../../node_modules/msw/node_modules/type-fest/source/kebab-cased-properties.d.ts","../../../node_modules/msw/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/pascal-case.d.ts","../../../node_modules/msw/node_modules/type-fest/source/pascal-cased-properties.d.ts","../../../node_modules/msw/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/snake-case.d.ts","../../../node_modules/msw/node_modules/type-fest/source/snake-cased-properties.d.ts","../../../node_modules/msw/node_modules/type-fest/source/snake-cased-properties-deep.d.ts","../../../node_modules/msw/node_modules/type-fest/source/includes.d.ts","../../../node_modules/msw/node_modules/type-fest/source/screaming-snake-case.d.ts","../../../node_modules/msw/node_modules/type-fest/source/join.d.ts","../../../node_modules/msw/node_modules/type-fest/source/trim.d.ts","../../../node_modules/msw/node_modules/type-fest/source/replace.d.ts","../../../node_modules/msw/node_modules/type-fest/source/get.d.ts","../../../node_modules/msw/node_modules/type-fest/source/last-array-element.d.ts","../../../node_modules/msw/node_modules/type-fest/source/package-json.d.ts","../../../node_modules/msw/node_modules/type-fest/source/tsconfig-json.d.ts","../../../node_modules/msw/node_modules/type-fest/index.d.ts","../../../node_modules/headers-polyfill/lib/index.d.ts","../../../node_modules/@mswjs/interceptors/lib/isomorphicrequest.d.ts","../../../node_modules/@mswjs/interceptors/lib/utils/createlazycallback.d.ts","../../../node_modules/@mswjs/interceptors/lib/interactiveisomorphicrequest.d.ts","../../../node_modules/@mswjs/interceptors/lib/glossary.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/strict-event-emitter/lib/stricteventemitter.d.ts","../../../node_modules/strict-event-emitter/lib/index.d.ts","../../../node_modules/@mswjs/interceptors/lib/utils/asynceventemitter.d.ts","../../../node_modules/@mswjs/interceptors/lib/interceptor.d.ts","../../../node_modules/@mswjs/interceptors/lib/batchinterceptor.d.ts","../../../node_modules/@mswjs/interceptors/lib/utils/getcleanurl.d.ts","../../../node_modules/@mswjs/interceptors/lib/utils/bufferutils.d.ts","../../../node_modules/@mswjs/interceptors/lib/index.d.ts","../../../node_modules/msw/lib/glossary-dc3fd077.d.ts","../../../node_modules/msw/lib/node/index.d.ts","../../../node_modules/@types/cookie/index.d.ts","../../../node_modules/graphql/version.d.ts","../../../node_modules/graphql/jsutils/maybe.d.ts","../../../node_modules/graphql/language/source.d.ts","../../../node_modules/graphql/jsutils/objmap.d.ts","../../../node_modules/graphql/jsutils/path.d.ts","../../../node_modules/graphql/jsutils/promiseorvalue.d.ts","../../../node_modules/graphql/language/kinds.d.ts","../../../node_modules/graphql/language/tokenkind.d.ts","../../../node_modules/graphql/language/ast.d.ts","../../../node_modules/graphql/language/location.d.ts","../../../node_modules/graphql/error/graphqlerror.d.ts","../../../node_modules/graphql/language/directivelocation.d.ts","../../../node_modules/graphql/type/directives.d.ts","../../../node_modules/graphql/type/schema.d.ts","../../../node_modules/graphql/type/definition.d.ts","../../../node_modules/graphql/execution/execute.d.ts","../../../node_modules/graphql/graphql.d.ts","../../../node_modules/graphql/type/scalars.d.ts","../../../node_modules/graphql/type/introspection.d.ts","../../../node_modules/graphql/type/validate.d.ts","../../../node_modules/graphql/type/assertname.d.ts","../../../node_modules/graphql/type/index.d.ts","../../../node_modules/graphql/language/printlocation.d.ts","../../../node_modules/graphql/language/lexer.d.ts","../../../node_modules/graphql/language/parser.d.ts","../../../node_modules/graphql/language/printer.d.ts","../../../node_modules/graphql/language/visitor.d.ts","../../../node_modules/graphql/language/predicates.d.ts","../../../node_modules/graphql/language/index.d.ts","../../../node_modules/graphql/execution/subscribe.d.ts","../../../node_modules/graphql/execution/values.d.ts","../../../node_modules/graphql/execution/index.d.ts","../../../node_modules/graphql/subscription/index.d.ts","../../../node_modules/graphql/utilities/typeinfo.d.ts","../../../node_modules/graphql/validation/validationcontext.d.ts","../../../node_modules/graphql/validation/validate.d.ts","../../../node_modules/graphql/validation/specifiedrules.d.ts","../../../node_modules/graphql/validation/rules/executabledefinitionsrule.d.ts","../../../node_modules/graphql/validation/rules/fieldsoncorrecttyperule.d.ts","../../../node_modules/graphql/validation/rules/fragmentsoncompositetypesrule.d.ts","../../../node_modules/graphql/validation/rules/knownargumentnamesrule.d.ts","../../../node_modules/graphql/validation/rules/knowndirectivesrule.d.ts","../../../node_modules/graphql/validation/rules/knownfragmentnamesrule.d.ts","../../../node_modules/graphql/validation/rules/knowntypenamesrule.d.ts","../../../node_modules/graphql/validation/rules/loneanonymousoperationrule.d.ts","../../../node_modules/graphql/validation/rules/nofragmentcyclesrule.d.ts","../../../node_modules/graphql/validation/rules/noundefinedvariablesrule.d.ts","../../../node_modules/graphql/validation/rules/nounusedfragmentsrule.d.ts","../../../node_modules/graphql/validation/rules/nounusedvariablesrule.d.ts","../../../node_modules/graphql/validation/rules/overlappingfieldscanbemergedrule.d.ts","../../../node_modules/graphql/validation/rules/possiblefragmentspreadsrule.d.ts","../../../node_modules/graphql/validation/rules/providedrequiredargumentsrule.d.ts","../../../node_modules/graphql/validation/rules/scalarleafsrule.d.ts","../../../node_modules/graphql/validation/rules/singlefieldsubscriptionsrule.d.ts","../../../node_modules/graphql/validation/rules/uniqueargumentnamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniquedirectivesperlocationrule.d.ts","../../../node_modules/graphql/validation/rules/uniquefragmentnamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniqueinputfieldnamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniqueoperationnamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniquevariablenamesrule.d.ts","../../../node_modules/graphql/validation/rules/valuesofcorrecttyperule.d.ts","../../../node_modules/graphql/validation/rules/variablesareinputtypesrule.d.ts","../../../node_modules/graphql/validation/rules/variablesinallowedpositionrule.d.ts","../../../node_modules/graphql/validation/rules/loneschemadefinitionrule.d.ts","../../../node_modules/graphql/validation/rules/uniqueoperationtypesrule.d.ts","../../../node_modules/graphql/validation/rules/uniquetypenamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniqueenumvaluenamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniquefielddefinitionnamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniqueargumentdefinitionnamesrule.d.ts","../../../node_modules/graphql/validation/rules/uniquedirectivenamesrule.d.ts","../../../node_modules/graphql/validation/rules/possibletypeextensionsrule.d.ts","../../../node_modules/graphql/validation/rules/custom/nodeprecatedcustomrule.d.ts","../../../node_modules/graphql/validation/rules/custom/noschemaintrospectioncustomrule.d.ts","../../../node_modules/graphql/validation/index.d.ts","../../../node_modules/graphql/error/syntaxerror.d.ts","../../../node_modules/graphql/error/locatederror.d.ts","../../../node_modules/graphql/error/index.d.ts","../../../node_modules/graphql/utilities/getintrospectionquery.d.ts","../../../node_modules/graphql/utilities/getoperationast.d.ts","../../../node_modules/graphql/utilities/getoperationroottype.d.ts","../../../node_modules/graphql/utilities/introspectionfromschema.d.ts","../../../node_modules/graphql/utilities/buildclientschema.d.ts","../../../node_modules/graphql/utilities/buildastschema.d.ts","../../../node_modules/graphql/utilities/extendschema.d.ts","../../../node_modules/graphql/utilities/lexicographicsortschema.d.ts","../../../node_modules/graphql/utilities/printschema.d.ts","../../../node_modules/graphql/utilities/typefromast.d.ts","../../../node_modules/graphql/utilities/valuefromast.d.ts","../../../node_modules/graphql/utilities/valuefromastuntyped.d.ts","../../../node_modules/graphql/utilities/astfromvalue.d.ts","../../../node_modules/graphql/utilities/coerceinputvalue.d.ts","../../../node_modules/graphql/utilities/concatast.d.ts","../../../node_modules/graphql/utilities/separateoperations.d.ts","../../../node_modules/graphql/utilities/stripignoredcharacters.d.ts","../../../node_modules/graphql/utilities/typecomparators.d.ts","../../../node_modules/graphql/utilities/assertvalidname.d.ts","../../../node_modules/graphql/utilities/findbreakingchanges.d.ts","../../../node_modules/graphql/utilities/typedquerydocumentnode.d.ts","../../../node_modules/graphql/utilities/index.d.ts","../../../node_modules/graphql/index.d.ts","../../../node_modules/msw/lib/index.d.ts","../test/data-service-wrapper/mock-server.ts","../test/data-service-wrapper/data-service-wrapper.test.ts","../test/libs/bitmap-lib.test.ts","../test/libs/numeric-array-lib.test.ts","../test/libs/redstone-defaults-lib.test.ts","../test/mock-wrapper/bytes-many-data-feeds.test.ts","../test/mock-wrapper/bytes-string.test.ts","../test/mock-wrapper/bytes.test.ts","../test/mock-wrapper/corrupted-payload.test.ts","../test/mock-wrapper/duplicated-feeds.test.ts","../test/mock-wrapper/events.test.ts","../test/mock-wrapper/long-inputs.test.ts","../test/mock-wrapper/numbers-many-data-feeds.test.ts","../test/mock-wrapper/numbers.test.ts","../test/mock-wrapper/populate-transaction.test.ts","../test/mock-wrapper/proxy-connector-chainable.test.ts","../test/mock-wrapper/proxy-connector.test.ts","../test/mock-wrapper/proxy-storage.test.ts","../test/mock-wrapper/signer-or-provider.test.ts","../test/mock-wrapper/storage-proxy-chainable.test.ts","../test/mock-wrapper/synthetic-token.test.ts","../test/not-wrapped/not-wrapped.test.ts","../test/on-demand-wrapper/mock-server.ts","../test/on-demand-wrapper/kyd-service.test.ts","../test/simple-mock-numeric-wrapper/simple-mock-numeric.test.ts","../typechain-types/hardhat.d.ts","../../../node_modules/@types/accepts/index.d.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/bn.js/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/keyv/src/index.d.ts","../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../node_modules/@types/responselike/index.d.ts","../../../node_modules/@types/cacheable-request/index.d.ts","../../../node_modules/@types/caseless/index.d.ts","../../../node_modules/@types/cli-color/art.d.ts","../../../node_modules/@types/cli-color/bare.d.ts","../../../node_modules/@types/cli-color/beep.d.ts","../../../node_modules/@types/cli-color/columns.d.ts","../../../node_modules/@types/cli-color/erase.d.ts","../../../node_modules/@types/cli-color/move.d.ts","../../../node_modules/@types/cli-color/get-stripped-length.d.ts","../../../node_modules/@types/cli-color/slice.d.ts","../../../node_modules/@types/cli-color/strip.d.ts","../../../node_modules/@types/cli-color/throbber.d.ts","../../../node_modules/@types/cli-color/reset.d.ts","../../../node_modules/@types/cli-color/window-size.d.ts","../../../node_modules/@types/cli-color/index.d.ts","../../../node_modules/@types/cli-progress/index.d.ts","../../../node_modules/@types/clui/index.d.ts","../../../node_modules/@types/coingecko-api/index.d.ts","../../../node_modules/@types/concat-stream/index.d.ts","../../../node_modules/@types/content-disposition/index.d.ts","../../../node_modules/@types/cookiejar/index.d.ts","../../../node_modules/@types/keygrip/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/mime/mime.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/cookies/index.d.ts","../../../node_modules/@types/cors/index.d.ts","../../../node_modules/@types/luxon/src/zone.d.ts","../../../node_modules/@types/luxon/src/misc.d.ts","../../../node_modules/@types/luxon/src/duration.d.ts","../../../node_modules/@types/luxon/src/interval.d.ts","../../../node_modules/@types/luxon/src/datetime.d.ts","../../../node_modules/@types/luxon/src/info.d.ts","../../../node_modules/@types/luxon/src/settings.d.ts","../../../node_modules/@types/luxon/src/luxon.d.ts","../../../node_modules/@types/luxon/index.d.ts","../../../node_modules/@types/cron/index.d.ts","../../../node_modules/@types/d3-color/index.d.ts","../../../node_modules/@types/d3-interpolate/index.d.ts","../../../node_modules/@types/d3-path/index.d.ts","../../../node_modules/@types/d3-time/index.d.ts","../../../node_modules/@types/d3-scale/index.d.ts","../../../node_modules/@types/d3-shape/index.d.ts","../../../node_modules/@types/eslint/helpers.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/eslint-scope/index.d.ts","../../../node_modules/@types/exchange-rates-api/index.d.ts","../../../node_modules/@types/form-data/index.d.ts","../../../node_modules/@types/formidable/formidable.d.ts","../../../node_modules/@types/formidable/parsers/index.d.ts","../../../node_modules/@types/formidable/persistentfile.d.ts","../../../node_modules/@types/formidable/volatilefile.d.ts","../../../node_modules/@types/formidable/formidableerror.d.ts","../../../node_modules/@types/formidable/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/http-assert/index.d.ts","../../../node_modules/@types/http-errors/index.d.ts","../../../node_modules/rxjs/dist/types/internal/subscription.d.ts","../../../node_modules/rxjs/dist/types/internal/subscriber.d.ts","../../../node_modules/rxjs/dist/types/internal/operator.d.ts","../../../node_modules/rxjs/dist/types/internal/observable.d.ts","../../../node_modules/rxjs/dist/types/internal/types.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/audit.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/audittime.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/buffer.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/buffercount.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/buffertime.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/buffertoggle.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/bufferwhen.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/catcherror.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/combinelatestall.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/combineall.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/combinelatest.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/combinelatestwith.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/concat.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/concatall.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/concatmap.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/concatmapto.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/concatwith.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/connect.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/count.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/debounce.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/debouncetime.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/defaultifempty.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/delay.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/delaywhen.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/dematerialize.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/distinct.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/distinctuntilchanged.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/distinctuntilkeychanged.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/elementat.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/endwith.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/every.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/exhaustall.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/exhaust.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/exhaustmap.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/expand.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/filter.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/finalize.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/find.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/findindex.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/first.d.ts","../../../node_modules/rxjs/dist/types/internal/subject.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/groupby.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/ignoreelements.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/isempty.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/last.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/map.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/mapto.d.ts","../../../node_modules/rxjs/dist/types/internal/notification.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/materialize.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/max.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/merge.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/mergeall.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/mergemap.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/flatmap.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/mergemapto.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/mergescan.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/mergewith.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/min.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/connectableobservable.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/multicast.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/observeon.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/onerrorresumenext.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/pairwise.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/partition.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/pluck.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/publish.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/publishbehavior.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/publishlast.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/publishreplay.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/race.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/racewith.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/reduce.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/repeat.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/repeatwhen.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/retry.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/retrywhen.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/refcount.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/sample.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/sampletime.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/scan.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/sequenceequal.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/share.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/sharereplay.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/single.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/skip.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/skiplast.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/skipuntil.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/skipwhile.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/startwith.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/subscribeon.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/switchall.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/switchmap.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/switchmapto.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/switchscan.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/take.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/takelast.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/takeuntil.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/takewhile.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/tap.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/throttle.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/throttletime.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/throwifempty.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/timeinterval.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/timeout.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/timeoutwith.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/timestamp.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/toarray.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/window.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/windowcount.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/windowtime.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/windowtoggle.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/windowwhen.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/withlatestfrom.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/zip.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/zipall.d.ts","../../../node_modules/rxjs/dist/types/internal/operators/zipwith.d.ts","../../../node_modules/rxjs/dist/types/operators/index.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/action.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler.d.ts","../../../node_modules/rxjs/dist/types/internal/testing/testmessage.d.ts","../../../node_modules/rxjs/dist/types/internal/testing/subscriptionlog.d.ts","../../../node_modules/rxjs/dist/types/internal/testing/subscriptionloggable.d.ts","../../../node_modules/rxjs/dist/types/internal/testing/coldobservable.d.ts","../../../node_modules/rxjs/dist/types/internal/testing/hotobservable.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/asyncscheduler.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/timerhandle.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/asyncaction.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/virtualtimescheduler.d.ts","../../../node_modules/rxjs/dist/types/internal/testing/testscheduler.d.ts","../../../node_modules/rxjs/dist/types/testing/index.d.ts","../../../node_modules/rxjs/dist/types/internal/symbol/observable.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/dom/animationframes.d.ts","../../../node_modules/rxjs/dist/types/internal/behaviorsubject.d.ts","../../../node_modules/rxjs/dist/types/internal/replaysubject.d.ts","../../../node_modules/rxjs/dist/types/internal/asyncsubject.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/asapscheduler.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/asap.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/async.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/queuescheduler.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/queue.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/animationframescheduler.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduler/animationframe.d.ts","../../../node_modules/rxjs/dist/types/internal/util/identity.d.ts","../../../node_modules/rxjs/dist/types/internal/util/pipe.d.ts","../../../node_modules/rxjs/dist/types/internal/util/noop.d.ts","../../../node_modules/rxjs/dist/types/internal/util/isobservable.d.ts","../../../node_modules/rxjs/dist/types/internal/lastvaluefrom.d.ts","../../../node_modules/rxjs/dist/types/internal/firstvaluefrom.d.ts","../../../node_modules/rxjs/dist/types/internal/util/argumentoutofrangeerror.d.ts","../../../node_modules/rxjs/dist/types/internal/util/emptyerror.d.ts","../../../node_modules/rxjs/dist/types/internal/util/notfounderror.d.ts","../../../node_modules/rxjs/dist/types/internal/util/objectunsubscribederror.d.ts","../../../node_modules/rxjs/dist/types/internal/util/sequenceerror.d.ts","../../../node_modules/rxjs/dist/types/internal/util/unsubscriptionerror.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/bindcallback.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/bindnodecallback.d.ts","../../../node_modules/rxjs/dist/types/internal/anycatcher.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/combinelatest.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/concat.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/connectable.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/defer.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/empty.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/forkjoin.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/from.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/fromevent.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/fromeventpattern.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/generate.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/iif.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/interval.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/merge.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/never.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/of.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/onerrorresumenext.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/pairs.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/partition.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/race.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/range.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/throwerror.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/timer.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/using.d.ts","../../../node_modules/rxjs/dist/types/internal/observable/zip.d.ts","../../../node_modules/rxjs/dist/types/internal/scheduled/scheduled.d.ts","../../../node_modules/rxjs/dist/types/internal/config.d.ts","../../../node_modules/rxjs/dist/types/index.d.ts","../../../node_modules/@types/through/index.d.ts","../../../node_modules/@types/inquirer/lib/objects/choice.d.ts","../../../node_modules/@types/inquirer/lib/objects/separator.d.ts","../../../node_modules/@types/inquirer/lib/objects/choices.d.ts","../../../node_modules/@types/inquirer/lib/utils/screen-manager.d.ts","../../../node_modules/@types/inquirer/lib/prompts/base.d.ts","../../../node_modules/@types/inquirer/lib/utils/paginator.d.ts","../../../node_modules/@types/inquirer/lib/prompts/checkbox.d.ts","../../../node_modules/@types/inquirer/lib/prompts/confirm.d.ts","../../../node_modules/@types/inquirer/lib/prompts/editor.d.ts","../../../node_modules/@types/inquirer/lib/prompts/expand.d.ts","../../../node_modules/@types/inquirer/lib/prompts/input.d.ts","../../../node_modules/@types/inquirer/lib/prompts/list.d.ts","../../../node_modules/@types/inquirer/lib/prompts/number.d.ts","../../../node_modules/@types/inquirer/lib/prompts/password.d.ts","../../../node_modules/@types/inquirer/lib/prompts/rawlist.d.ts","../../../node_modules/@types/inquirer/lib/ui/baseui.d.ts","../../../node_modules/@types/inquirer/lib/ui/bottom-bar.d.ts","../../../node_modules/@types/inquirer/lib/ui/prompt.d.ts","../../../node_modules/@types/inquirer/lib/utils/events.d.ts","../../../node_modules/@types/inquirer/lib/utils/readline.d.ts","../../../node_modules/@types/inquirer/index.d.ts","../../../node_modules/@types/isomorphic-fetch/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/jest-diff/build/cleanupsemantic.d.ts","../../../node_modules/pretty-format/build/types.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/types.d.ts","../../../node_modules/jest-diff/build/difflines.d.ts","../../../node_modules/jest-diff/build/printdiffs.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/js-levenshtein/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/jsonpath/index.d.ts","../../../node_modules/@types/koa-compose/index.d.ts","../../../node_modules/@types/koa/index.d.ts","../../../node_modules/@types/koa-bodyparser/index.d.ts","../../../node_modules/@types/koa__cors/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/long/index.d.ts","../../../node_modules/@types/lru-cache/index.d.ts","../../../node_modules/form-data/index.d.ts","../../../node_modules/@types/node-fetch/externals.d.ts","../../../node_modules/@types/node-fetch/index.d.ts","../../../node_modules/@types/node-schedule/index.d.ts","../../../node_modules/@types/request/node_modules/form-data/index.d.ts","../../../node_modules/@types/tough-cookie/index.d.ts","../../../node_modules/@types/request/index.d.ts","../../../node_modules/@types/node-telegram-bot-api/index.d.ts","../../../node_modules/@types/pako/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/pbkdf2/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/prompts/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/react-dom/index.d.ts","../../../node_modules/@types/react-transition-group/transition.d.ts","../../../node_modules/@types/react-transition-group/csstransition.d.ts","../../../node_modules/@types/react-transition-group/transitiongroup.d.ts","../../../node_modules/@types/react-transition-group/switchtransition.d.ts","../../../node_modules/@types/react-transition-group/config.d.ts","../../../node_modules/@types/react-transition-group/index.d.ts","../../../node_modules/@types/resolve/index.d.ts","../../../node_modules/@types/scheduler/index.d.ts","../../../node_modules/@types/secp256k1/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/set-cookie-parser/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/superagent/index.d.ts","../../../node_modules/@types/supertest/index.d.ts","../../../node_modules/@types/tmp/index.d.ts","../../../node_modules/@types/underscore/index.d.ts","../../../node_modules/@types/uuid/index.d.ts","../../../node_modules/@types/web3/providers.d.ts","../../../node_modules/@types/web3/types.d.ts","../../../node_modules/@types/web3/promievent.d.ts","../../../node_modules/@types/web3/eth/abi.d.ts","../../../node_modules/@types/web3/eth/types.d.ts","../../../node_modules/@types/web3/node_modules/@types/bn.js/index.d.ts","../../../node_modules/@types/web3/utils.d.ts","../../../node_modules/@types/web3/eth/contract.d.ts","../../../node_modules/@types/web3/eth/accounts.d.ts","../../../node_modules/@types/web3/eth/index.d.ts","../../../node_modules/@types/web3/index.d.ts","../../../node_modules/@types/webidl-conversions/index.d.ts","../../../node_modules/@types/whatwg-url/index.d.ts","../../../node_modules/@types/ws/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"3f6d6465811321abc30a1e5f667feed63e5b3917b3d6c8d6645daf96c75f97ba","affectsGlobalScope":true},"90c6aafb74170747f4222d7c88a5256649daf0a54266e4434887c4b6c8468f41","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"e5979905796fe2740d85fbaf4f11f42b7ee1851421afe750823220813421b1af",{"version":"fcdcb42da18dd98dc286b1876dd425791772036012ae61263c011a76b13a190f","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","5b30f550565fd0a7524282c81c27fe8534099e2cd26170ca80852308f07ae68d","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","d97cd8a4a42f557fc62271369ed0461c8e50d47b7f9c8ad0b5462f53306f6060","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","063f53ff674228c190efa19dd9448bcbd540acdbb48a928f4cf3a1b9f9478e43","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"287b21dc1d1b9701c92e15e7dd673dfe6044b15812956377adffb6f08825b1bc","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"af9771b066ec35ffa1c7db391b018d2469d55e51b98ae95e62b6cbef1b0169ca","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","bb53565089b665b2de6b39e4bff987d9f0459863115bbcd96ffce9678e6736e6","a1a1996d71ac9e6e7d54a2e31e7402c35873105a94139e523653e8dc4bd28772","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","b82032024596f8493cdccf7a91fd6ac59d29cc6b5656ba68c0e5e86e0cdf417c","26f3728bab93bc7fa1cdf824b94cfba2195b9ef3b7df8c75d73f8f5b593e6393","827e8ec53f6140538ca0d946b409bac564631ac68d778dc6c119617907a25df6","c07f251e1c4e415a838e5498380b55cfea94f3513229de292d2aa85ae52fc3e9","a58374b949e068c15ad626f7f7e7533e3e175dbef968491b4126362083db57ae","beea49237dd7c7110fabf3c7509919c9cb9da841d847c53cac162dc3479e2f87","9b8253aa5cb2c82d505f72afdbf96e83b15cc6b9a6f4fadbbbab46210d5f1977","4885be9db15472b1b60aa6a3a5e2b17c374bb6848e03cab2739669381b298ff5","a9611a2e74ccc4de03cbb585330d42332a61bcc9648643061f064a4b96b5afed","7e909477dcfdc448054ecb988f72736b2ab455aa4c4734c1a6466de7672324cb","2393897426427755447c9b91e33955764a791834462751c01b6e527a93859c01","483d444b9189aa81b576a6d656e7bd5b3b5b996fe082c98125ecc4627f4f1685","feff065db93ca2b6ea680097048110d9b77c1d18a416be1089dbf9fafb0c95cf","233eab7ce2bbdc38c5801db662f12566b5372334a6fc63dfaf4dcabdd8a68749","ec3d6b01efb600d26693d53425f8836a3a7cf067db1a283661244124f49e2d6d","b8853c810f445114e080a51943c9c837fed42136d2f5e78c1bd1aa45b9321923","20bc2142bed0953b638d839601376d7b024be82128de4a18a004de957649e0f5","29add495607e4b502c86a16c3248c89ea6a29d62ba5306f79c48f4ac67cc1711","ebb9eb570acc30bab6cd110f81a76de2a0011d78fc0163df754a1e82c2663a20","d2442eac04d8f26dd3cdac044463552a8acad9d30c0b3822f0a95057e12bf3de","eeb28803a15f6e4cbebb4bdd9965fbb3654121a0bf8e4fd7670a35a7da7a0939","1fc865750a32ff4fb2a7f77d22796881a9e1b9b45468b5b0e3ad21223266773d","352baa3d135475129c76d9624c1a338b049f6c8843607cf6e62e2d8d8ed5e970","a4c8fbde69f5419ee06c05ce27e226e186f56b7747221facc8de9056ac60f982","248dcd64f4242bccecf1567a4c7448c82a5ca4802f87b47cbc860f2a3bc6224b","edd6b5c4439bd44aa7eb79b05afb34cf51237000c1e4b771ecab22308bc72595","9fb1adeb842fc8b80e2ba7389059a2382086f32794a89369cd414fbb551b90b8","e48ff1db2aabc59b59ba79f13946f2adac3f8011a9bd74f7ec11cebb41d64372","4031e8cda659679c01258188d1e48c7274f13b4349993bc1bde0a43145c328c0","8e96ce9ba41e1269ba8b7ca6769a0c3965ac370f559a0eb8820e7de08c96dfec","ef3dc97ade66f21db54707aedced8da9f5aa1b408b80bf314e2a3343f2adc491","54a34fee8a4760e82d551526ef5b13f0fc696ba16438312a99fce481268c9895","22391cbd68bfc119f874fa9d9b0dc1d59289a3830e385290759949865eb44fd7","13179d1420b1e02267c61270eb3220009bf84d9ed18e63b6ec502d278c39e7ae","1cbb2f155dac684b7f130d3cddebaaeec36912ea588bbe3620a8435f1891b467","ff4135655d5090f9d9a88cf5c86d2e868ca0624ad26c663d95a03044185ef2d3","9c08981b31d17e0f3f1459c5c89031908648cf3f56983a9e567ce13d3ffbd837","89ce673d8d64c809c7d26d19fba2a31311e73b83267e1315cfd4a0167bf27dc4","9a2906bb022e91ded704a2edb2ab03a93692d094e1adedffad08656191b18b07","b38ea6d3da701b17f639a782c0403d1551ba59ba2fa4175dde379dc11e7be4d6","363d873f0a9c254b0311a9e00e9b9929506a52399469dc9a91371599797997b4","1fcb8b15db812281d69a3090d488903f9e93033004aef9d8889ca3ad0753a96f","bdf5a95eb0a2dd1d39805bdf51b46ba012bb9b92b2ddaae16219595bba7678a5","9f794a0e8550a03baff865a3961cc22afbd85bc4ba9672bdda036971928f85f4","66a697d1e4cdbf25cdce4644a8085a8563041fa8c7731d4d9f5e8f22e66ba72c","a0c8e17f4d1ea2704c62d7349bc3b8d9a12e3761b5960cb44144d3f0333b3fcb","3471c0df3d0391e1dffe6e8bf150294531b2b71a2afa5f2b86e52bf84a5db60a","5d4df4de055eddf3187094f938a640f8d96e4c551a47d6686596fdb6ba4c3014","8bc2cad630da1033c1fd8d7df2bffb18af0da6113bd086a8bbec04a2471a1e00","a1059d1bbc8ad46bfe668b8450e7e8002887c4ab987bdb96d6108d8023f8bb8f","5134885e9648e2c6745f8aa1c3e7f5ab3b3617258b3d81ca02de6655ede3d74e","4f1ae3f24125216cf07c5211a3f00d2bb4782d7cc76c0681603f8249f9232ff0","d3fb92a5640f83f7844d60b35317a0f95c27e3658a749d76d218c461ad091668","d1f8bfcd91b284657ef8187c55ace7db91a3c43e642c3f14e54364154932f7e4","f54c92bfcae54f360fe79514746efce4870e4ddabc064e95d406bba291e9f672","175fd7186fa6a70f9db9b270a04a503cae23cf01cb77e3905bac115c38424cf7","c993f7ed1b8e1023c1f2ee5b262dbc3b70b27475674e40a53a58591f9972dacc","c914014ab7c7001178663f29d31a495398234a41219af61f26d7e8e91b46af96","b135893253d5e507232d1d0b8639dbc00c2bac453fc0420a9af738f1792f8b29","267eb41d7d34151d8b5fdf8b73ddefe0684d7921f4b7db14101f600ea3e8ed02","eb848e4da1fa7568c893e0a0e1f221572c56768dedfe21d2f7741d383c381552","bd6b7d9ff1992fbde49e974f6bf4e8c35922042fc0b6f5326e61fa17a912ffe6","ac443b1f93babbfadff3aef4490044012ff461ba1cf1c7d90ac45f5a26863358","42e4cdd55aa23586b9aff929e2c216150276a37d30c2cf7c0f32ba917722b5e0","4a1ed19ead46b1dd5a319d533fb92162b4ef052ab1c690889cb2eaee293441a1","d0d5b967e5c36354b2f13b4bfb78aae4c1685efa9df3fd946d2e576d370e9302","8076164b388640f7856b25e945a2ded7738e0f8674ac50c256734067b0f0b1b9","36819a1e04a8dbed754a5b3ba2fd5aca2eafb95977eaad6356d77df596c732f4","5fe9c19f085365b73956e27becc5167ad25c5fb024bed4728884966a0faab3f3","d67961ebada9a5e5c393d9c46a4155877a9f7a48b02a0afc6bbe4e87061e46f5","d5e88cd4816669da170c646844042bc83f4523275f85060cf3e2b5b3bf902ee0","137ee20e77a23986e9a1fdf6397b555e6d3073bdcca15927c40671d1ac564aac","a28b00d18def7993bc502f19be6abdb89db2548fe946a51f0771b8ed26a6786c","0fc6ddce4aabc8d84a6aa6644e1012a1474ba844ed6bddc7bea7115583e8a72e","277afd6ab6ec72889e2988e0ddd7d138c1f512e68a1fa4e90eedfd71e2097a51","c0908f85f2b645d375127a3b53a17a65f782e17962d5c1eb68f08b1188acbf15","3fadac5d409cc2f27b1d2f4e7568600f02840205f301c9ae7a3068b46476438b","da6aae64ad559286830fd44c81e3d33303348f184af7db4fde8dd99ae9749407","3633f87c97d359cb55fa7bf0668fb2be8a23342951af6ec2d06e6d0cf7409371","cc3a5427d44fc77ff25e80b3edee4650a51f83de761faf5e633994ecf1ab1b44","b350eda75c6e47299b36002b31d5b220c405c21c365e708989829db013fadbb4","f421882756b6714834ae4687ab1aeadf344a1cc45437d2edffbac020ff3801c1","1d61d6ad832dabafbf63b86c5a79d704f2c8763ada9318e135b17a3cb2d09b32","e5cef5de3e5ad3436d414d20743231e284733b9cf4375dc79eff4fcca4282f99","e624419ba84e33e661e89a28083119ca41f6953dba09a4f82b660684087afe6d","942be430bd0feaced2e3e598273b17e50ea565ec9dac840b580b0b99e1a3cd5c","73350006cec5a0c6b71d53b0b0ddbfb82be96752a9c4e3c904c59e633bc9485e","a7df5c2e9594966c7e0d4a763b13ed5727506d892669df5f7bc9826f539c1d35","258cc5cd6891f6bcbaccefd953997038844e7f65d582cac987ffabf7181bcd4c","00a6db28fc4df6ddf10adbe630d9df620ec13af19039c1869653e60dafa739d2","649324d5abb5464aabe35d86cd0eef16562df811f0971481cee664afa5acbc88","f02da9dd36d7a9aa33c9b2e37ef1f54b0d9ad6a713bae372ae4b72890e40c168","3a5652c44d7b3ee47b1d294b1893b30253d8fb6a1ecaafaf5fdef5fdc118f54c","4fba134e9015779329678ff1fd1afc32bbbf391b1f419f7622a3ecde7bbfc355","af75984f58aa9205be02b0a2248d05f6105a8d4bf8be0baca294b5ceaa10e33e","45a910666b455daf042c0a0cfa610c20ea59a0aaf702f93d3b467a05f9a27e20","5580ff53b5f6f1ecdb68ecb61327e63112f97660912c15444c1f8a08f69c19dc","84fb7c52fc116ddcbd1b34535e387053f2a0134d11c5e39b193f4c1328fb1fb5","fd3cd8bf3c90ef4694195a617a5daaac561d8be52ba33c607f170c11f3c50154","6852fc2f309e330e38694bad95bde670c384d1498bf4fbe3a751761b43279934","9f963b28320dd50221cd23f23059bc23cc7799c7025b44942da68974f90c2e6c","c17329bcf495af58e3010f8e61af51709aaa24a6664d8557a7d01a82b5397c59","4eebb617b12f21864e6641d0a9eefaca77a9ccf93f00bb7d50b26d8073866e53","ca0b43e2565d78809383e9a025b0638a5e65bcde4a2b68ff2c6fa5013642db46","1d0a0e5c6471d81467c3fecfa4db4e93ee87d364b776feb83b18d773ad9496d5","ef6eddcbf08e7ae71cd9ba8da47e9a3cfc7db36650af48f1b440a5ed50eeee7a","e14ee3cb4b764895f2ff2fed229df10b59df8a761c79d8e91d868793322b8896","7e36003872035a49bc3a5f21351c37d0e418f60d994ecc470a9463b33b4a7c12","b862345e219e6a4d829f7b7cf6d2d6e91e6fa00c29a7c6c86a3f68c77c25de39","5b919d9204446816876000e03f033458527bde5e3637783b2bc2e7e9ef7ce897","213984ba990f03127a98c3f022d5ca0f0d42df64d4dca199f7319448ce6f3021","020ab2020569964d12e40c68ceae39f40f6c0bee9d502a180f039fcb59c2e34d","aa50dc8a102c76282915e78944293a777866efe6d220a28884ac4a42d7f4c4e2","2b88f02598c9de626b35fbe3ffb1ef33ad9fd175e36e06ba27dc79e444796f6c","b728dc56eb9b0d27b4044e076c155f3cd3a121a4a9939afe829cfc0d680d423b","324b7298f76ce938cd28d2698a0767ca3c740bc843fd9104e171be8eca839555","76aa33edb0042dd572d64e4bda231374390d250d29eeab7e7f27010e8f826006","03b6d387edf18a9ee8126e705edff759f65d9c602e11b649e13a5261fe6951a4","47ec4da03f7cb868f25f9a9a5196a79612571dd1623cf7849c8612de6d6a1ae2","1c86a519d76bbeb0fd4223d87ab3aa045219e8bfd09030c0d61d1546a394b1f2","b4c1ca972e748115e4b0f36a370d0c361b8421a6d597dbee2aa9b36263fbe36c","0b299721968c9a87458eb7f616dcdd968bb270c700750077731826efac8d5633","be6eedd4f7f635d4063f47b2d73385f0630901d1005ae4fa5a949c5220c1d13b","5084126d8a418278ce22efd77dcda9ebc47d81f9949cfd9e2f6d8eff1b5ff6f0","77afa1bd573f1e58643100d06926041800188770f5d7526845797e1a636d1c5d","c67594df6c52a9a246e300df6280b1f0f9381e548e8b187d4905d9b800a6c60e","5e51970e0e60a14c066f1102df17462b9af7df53aa4d1ba22c6d848bf8afd4b8","0d8320808e3f25192008842839a6ace9843dd19e12aca7e6bbf2d81de8de58df","a077744509fb8ef1e531ef39784b5d0653e44cf6742e9342a1491f3402f4e0b8","665ac36b72387f75dae16b869ef5fd1e90162956f7f950df0ffe27cd5b9fe6b8",{"version":"127bf414ca8ced28c9738b91a935121009d03bbc136668db980bd1ba18976b2b","affectsGlobalScope":true},"f83b320cceccfc48457a818d18fc9a006ab18d0bdd727aa2c2e73dc1b4a45e98","354abbae08f72ea982b1a767a8908f1b3efe8bbe53955c64f9c0c249c8832d5d",{"version":"0fd3b5704bf037608646df5aa053fd06819ff69302ff6ada9736c300f79df852","affectsGlobalScope":true},{"version":"92d167bfcc81f28b4ab129392e011fa89b91a7540154afe2205a6a69c98225c5","affectsGlobalScope":true},"80191ed66c1ea097b43113c66aa7c014db5a266c34f0fb783532d3dfffaa1d4f","d4b4d8371118ec8ec26f9812eaa2425f629a6bad526617e424e4db040b748b28","d32ccd2571bc1f3baf95f5c44158f94508561474052ab04722a52fd08fd113eb","68b9d17066b782f6c218791e9d4e52bad6655a00aebc2c57c5afc69fa337f01e","7ebe1e481f78a3aa4fb2edf272ad1efea1db92e31e7a6e23735c7ab712c71267","d946527dcaa3e68c9486a2d207b9d54973f70deddf14492ab1772530c9a1c4bf","11a8feda776c1148f83b3cb89fead36876ac6e5962a6eb2f2a239c59b22a5b11","6396a7a06f3ef0fc31a7c89330e015146b78a2256b030c698b6d404594c37b8f","b2c1960630d423c2a02687ab96a3dcb8c7eabc55ee6be94659110d1c645d386b","90b415c1e4162b4cca881255cab165de556d18083ca33322c121d2e12d0cbe31","2e1ae26d7dc791e131044434b53f76280d8e1090dd6bf00181de7ebaec1ce982","fde17dbd90251d3804f9990be2aada4f54d05e6160c80a5eea4c84ce7d1b4e3f","254613a2e8bf2e953e79da147b686beee35e5253426db4db55a27081df0057c9","c1e269072db4f6e9cc896ce54872d62af2974af8fe06db7a767e396df3187680","ba008a8a3d224b97d12b218c4b27a129e9b82eb03534556892ce1994e0c6a6b7","d16516701a07c9357a3d79a43311fe408be41213e868607cea5f1e06016b6f36","33e0cf6167fa451e04f7cf1bf2691311919c59cff1f0af3b07bf4cde0457e7b2","d2886924c9a028100dec2ebc13d8b10bf7458ebcf900aee2c77f0552f416aa67","35feb40e4ca46df54ee82931318aeb42408f53b0fac4730a5b522a3f0cb7063a","08ed2663b767d23b45338fd678a99253bb35a9208aba9fa7ec541b2fcec9c17e","7d687ac34cc762c172ef1b04b9c91d45d4bc2ae58c8552b2bd60abe510149535","71851b39ee46214d18fb5147ade9d8a559e36cce198c92639a6bfba168897457","89088b766254cc3c4b28ef543bceac29dfce176f7428a553e926b80979cabb13","0b299721968c9a87458eb7f616dcdd968bb270c700750077731826efac8d5633",{"version":"9a67fa92d03f8e73bf4cd2d3799b50c3ba2fbd7075cd5c49ac33b2d913f73b97","signature":"4951aa3e1d1678662c3961728a92b74199faf8c4b42e38e3e3edb152f65d8390"},"6b0f8a9026150b0404dd56a44f745aad09195cb6a52342fc3f9b5ca2ce69028c","9450932e01906168fa421f0887b76ad6a4e6316343a1bfde94253e6a63e5cd15","054b58a215bc9fac4da47ff9ddedf21bf8be0eb9a8da3b98a9cb796dadcd6ff5","aa1faea86ef4e55346549f879c566d8f37a805cc808caf48e58b1e73e5cdbcbe","bd2d817d31bb5d077f662b4b211c46de63c3c60c5ec91425d71ed9aed8694119","4257817d276e5a5083d0347e039400371a75727ae942a7593d3151e082e4a694","ea7cc91e454af6b06e54f1bdc1b5ef643ef85f4f857dacf2bee74624252df59a","be7e388e4cf618b6683b292d2f10a7c0d9dec58f7cb1d14ef5c6494fd70c06c3","b7bb5e9e4b67cc9500e6aa77c1070b41f0367caf71691c5af3ff99ff8752384d","cc1cbe69e427366c57d336d934ae2aa34b1d8e2039f958783f7193b2b9e6ba10","1f09208a6a886bf5a10ec910d6b9b14cf67d7fc7e1ee3b5fe8759238241a990c","5e165f1fbcfba0ee6d7dd3d4f3ca4e275062cdaaf5724c76bfdfac4aa9a1dda1","396b5d20d476ecfabee8a63ff22fb286e53040fc1e08a0023a2709d8787e5fd0","96b7e923aeda1ac3cacfd79f61d78f85c7743ed0d5b946e808d910bac0b63a54","acd1b40fdc94f3c850e820888a4974146ef5b99fec07d00fded4e5efadd9eb17","84a3935d55d32bb876f7c8175eb356405e7201c94840a0c6f20363b95a336d2a","e5d84966db171418da16ae8ce29a79d5d0a9787b9d82ae025362ffb23253b15f","54048181d53899f6e70c2a892ae14eaa6004e50fe052b4a87fe4c947855f17c7",{"version":"2d662968e5959d9bab82daf7252282b4c25ea7d4a1965ce398b8a9170fd592fd","signature":"85cfbc1ff323a95b58d4f19ad0c79a814f38e88aad0706b90d96fd6c43af93a5"},{"version":"9e9ce75864ab77c5726e2303d7c8f24ba2f1fa78795fc4502f5be06ff3e982df","signature":"4657d5caf313639216f3d1b65ee2ecdef51f3f7c767e79e23824e2c9535100f6"},{"version":"b7d8109d4d30b82bca26b2aea1248ba8371ab17ec6c1b738eb35ca43da455876","signature":"a00df947247ef8bcaffd59dc51b63c70c468c3000e8d80751cb762a0ffa5daa1"},"26f648019d53da13078fa915d296fd73a710eeeeaad0cc6de0a8a8b23c2445ad",{"version":"32917773a53e5d55317ab0ab25fbf987bd0f2db090327e6faad8a3eff8315591","signature":"d50a78a6a0b9a12e2fad53c295e6dfd3af606b176da71870f66c9a5de4924e57"},{"version":"c376b4e0f4e30f4bbc16a41bc9800c35d48369861b17c8fac09f70114c658b01","signature":"e48408dd99c00765c19092d20da1a940504c36c03bd9dca04d2a27723b5fc8dd"},{"version":"f13a78fee306da59210fd1aaf31ada233fe6485fa148688499a24bbf9e1cbf31","signature":"7f99be884b703507c6656003477e3ab362618b6e81a3f52c0b1564a87a145d87"},{"version":"987005aa652560c1e1ca82de0faf2adab6ce66d7c7708b0bf9b3f4e4756b734e","signature":"4faf0d51312448c7f68962cb8d4119529ca85057f782ba933e82557b01ecdee5"},{"version":"162cfcdbaeb02beda52ed513bc3823918abe5e34b11cb6190fd648c53d94c362","signature":"e02489a9b124905ecca50e1fde34768d4e5892a7340fa6d09a05c9cda9b8363e"},"5fb152fe0210156fd6e04d23167e8f49a065d6940f9d968b21604b3b7bdce7c8",{"version":"96e74b90eb60c755f70f23602c59313cb83cf3afa709474c19483316e6805891","signature":"dc84bab4566f8437490d3bb69032108f60c3071952c8d7cec0ab052171897950"},{"version":"f6fd8590d7768ff1306c09e5582a09cd1437995740f5deb62f28d19c51253855","signature":"299e8b5fdd38c68b4c4b9d78cc130b3e471b3faba313a2752abd6fce13fcd94e"},{"version":"cefe02c44d3416fd94b09f685a3ce85122947dc0e6b343b6724adf15c7333430","signature":"1989ba8a136dd1626dd65503cf942873c40732ab2a2619b250d314ef1b6388b7"},"74b181a29a888943e5cbdbc85dce8406a5b9d7f8cd332b2a30939b0ac9f2b2be","942f3a06f98fda0e3e979af505931bc80d428d9e32d7bcc7f89d890250214a5c",{"version":"de9353fb00b1b0c89b4745a2d9125e6ed81150a3c702befc3359fb75e4f9b34d","signature":"59a2f5ae23b078961fd081ef606d3cb000823e82c32faad6d8f429c19705218f"},{"version":"63e2182615c513e89bb8a3e749d08f7c379e86490fcdbf6d35f2c14b3507a6e8","affectsGlobalScope":true},{"version":"7fa0126009f2ac7392dc01c940b6cd7f7a77616d85c251cd275619ad8b55854c","signature":"3618726fff04c901a9f7484094522503b3b3cf3cd14095fa1debe30183d8be5a"},{"version":"1b6bf93156f4ae708d7e8c396330e42fe3c026a615b0a2174550d40b76980a13","signature":"c298fb4ccc185f6f7b08d28b4dae28c6a6d261a55d58ee5a3a669d4e5c5f974a"},{"version":"10aec0660ab476388dd361a4242048e53edb6c10c0e3d9dcf332e1f28204f9fe","signature":"243d62a859cd5b651767e6b4953942d6f1827e6aedb9057234b17fee1c477c01"},{"version":"d2a85f4bdc4a752a79d834d5064956a7a0584d33f627d0dde0321206fe71bd26","signature":"7459c728f34d159c5a786da5ae9ab6d42cd171a222a74827dd8027c5d8a9b9a4"},{"version":"2a7925eab78f1ee8869ecb605130054d8621e726135a211fe6c82504bc0de766","signature":"53deeb1696510a3405b6eb9a6f987f9f27d7466e92883c113d5dfdd541a787ab"},{"version":"61813942e9bda1e3c7587e461fcdcb8740eac74f27121e24a6a83df852e83366","signature":"18b476bbe4b4aaa962cfd6ab9bc758428510180a0b56840090b4574a31dd2403"},{"version":"514058c15a832c38d8111ced11167fcb833f606febe918d4b9eac19c90a8c538","signature":"0bca41f4247005a9218efb1ee053a97645a7d1f4dd29f6c86d7ec54aaf0c23be"},{"version":"89b426f0f6cbaace130932d53ee6f16b45d56408c3320281b56714f667e08cb5","signature":"f8c3e66c3cb5bea0fe051f165d0096aa1a12245fa2bbcdfaee09d308b3b423b9"},{"version":"ec80b2c86bf04052d4cb41451b6f20e10279604f9e8d985f6bc9f55d78aa02db","signature":"bb9a2a06d9217445912e26293eb2cde8a2d9fb0e3cd247039c3b549091a1f8f8"},{"version":"ead8b8b8fb51c6a7bda8f8a55c9e88b95d210294260ea15bb273227daf0fd41e","signature":"c9d9e1946f8374e0bd491d8a2f7565c5c32eded187993b0f321879ac2b9e215e"},{"version":"9193f356dea724ed3864ed41bfa6ef9e5711fe86744a9cbd790e15dcbd8d1e1c","signature":"70c460ea0158d942388d2d3f3b0c2ddb729a915cc1cc8fa3e107da42a4dddfa2"},{"version":"0788bdccdb95b4ed4fd3009ad03ca34c772806209fc7d1ef3957d4e7c803df41","signature":"b184ee5c0b6ec0d6ac905d3d3facfadfc00dd68965eeb6cf6f7bd9330ca120ec"},{"version":"4c1593ee157a437c6425c767f0ab6240f362d55322e2e50eb3692d796840348c","signature":"09fcfa6c4eb3ccdfd1a93b782f30caf5f245c0bee0efd2f520c365ed1c4970bb"},{"version":"e310edebc29d3ec66b9dd3439a3ebdf3d665d342d814bcba0a5f9e5fc5f77bf0","signature":"9b326e3945e11c8cf856ff68744fca45342e05c21c56d293e9bb24fd8b6be21a"},{"version":"a5b8f9182fc6baff916d52b555fb087961960f94713a138999a3ff181d574d2e","signature":"f708aacd6abdabed71092376af3ce9f512d4a15853ef608a5b5f0039e1274494"},{"version":"514058c15a832c38d8111ced11167fcb833f606febe918d4b9eac19c90a8c538","signature":"0bca41f4247005a9218efb1ee053a97645a7d1f4dd29f6c86d7ec54aaf0c23be"},{"version":"d7ddc3df61fa8934261660c77be2372f971c419abdd52e0bf3008d91b77e85f4","signature":"4d1109fccca9a305513ca24387b1796366d86b7ef4fd83b45e6dd27f0c09f94f"},{"version":"90e45dc8468e863d5caa2781d04b044b368f803c56801374aea2f8407f68eec4","signature":"7c3ddbe7f221a969e1331104534dd622e235600f2e717398e2894e5378b01604"},{"version":"1ac09b20f474980ad43d2fed197b3baaa19cd25ecfb52221cdc69cce40b642b4","signature":"86295e989a8ace3c457523ea7321bd4586d8f1e71fa8db0fa4186fb20750feca"},{"version":"20f88e6d7644960dbeb8697cbafb895f92ed974734f99cb14cb30bdb55287db8","signature":"2e86caf0fd5a1fd399783b8a447a88401f0d77b24136a8de527ccc844b717e9b"},{"version":"97faa146861ff9aee73f5b8a2a28f38811e7080273e104ff64cded9aa85d1fb2","signature":"771887191d92eaddf92dd34331ba841d02d0def35c4bdc2eeffd9ef092b74642"},{"version":"113e82694fa0b70da5722c6549f0393f3888d71bdfec2c1e7d31a6b2b4d02b1e","signature":"5472dc56b9a1f782c318eed808ce703be96eb2b9ccf5ce4a5b64d14d1ccb28d9"},{"version":"7c97b337a06d1c7d4455f7fde8ac3e6fce00ce603d63c8a55158abedee0b6916","signature":"65e83d1fe52795358b1feeed154d7825afdb4ef9fd921052294ddc6e560ec2de"},{"version":"0ed281b2935496f70e7b6b9ab0c74ab0f203caa390b49b8e061ed24cf9cbb4f5","signature":"d8551447d23b362b21c658df61bedb5766425af29f45bd09407a93c3f54423f7"},{"version":"907830bcd7003015bd36eba1041851afbe35b525d72905f83c56d9628d9062c6","signature":"abf8bfc1528dbd3620ee0bd8439271a53c396422aa48179e57fec8c3408dc807"},{"version":"5d5a90b7b4fa31a0afe796b9f9a9658f14647bf249774aee83d1f8c2b7eb469d","signature":"dd6dde721d85cca2585648fa3fef1a3b389cc53c894a7d33a7c29c1d2fde5c5d"},{"version":"cd6c59aff1200bc48d9163f91f31c3d4d8f8fa1a8d09982c50fd18deb3a4d615","signature":"bd0b87d48be674eb14bbfb51078848d09746dcf532f0b38b1a7093c2d27035f1"},{"version":"ecbd9acda3cbd029e47821ff2ef83db58928458457756eb0d36965d67cd5e4f7","signature":"a9a444cae13676842ccb7e49236633bfaefed6029ae2e0312cb67c7e533276ae"},{"version":"e4e166ae6327e0619507a94b69ae4379e3edf683c25979eaf5df6cf626eda411","signature":"8c43f14d18840f70e74616a6600e9d53d346218e1752d7fa94886d42393d7bbb"},{"version":"72b1a3ff2a024f5a78c8c38746ba715198478a70a03b20498294024e2b30f39c","signature":"301ab3866271498ed080c446fdba9749f2cdbf82a4367ed01493fc95203e9588"},{"version":"c6f7d434c958a90b62b9e9952da4b95297cd6b55e8b2791f6efea76de6924ae6","signature":"b756aa62d942746e45e14e24df2115773930d0d9626f8ba3c22911c15b64275b"},{"version":"22f06c6d88cc94d398d8d4bcff431dc18f69014a917fa10059037db09f0d4d26","signature":"a6f372602dfe339e1f5e4f7a78161e26a11894b5f095390b7e6f138db5edad0d"},{"version":"d1a9223bd900f385af43b8fd667167c05ecce3f88ee87004e6a194f0dae78665","signature":"0f245a82e0f0b95c6c0ec7153aba0c31bdfb69d840c77e64d6adf58cd4b8c8f6"},{"version":"4581a045f318f23ed76ed27928456ebdf15b6d78da79f0fbfff206eabe32ee78","signature":"37abfb00e3622d5efcd8aebcf92b91b7e6743a8deaa1574d1f270d2aba09914d"},{"version":"d8bd1a53645eb306ed01364805aacbc23240817c9fe5c5e83ce37398611fe5b7","signature":"d77c8580ebb9062e999ea0b1351a60034f8ee401f7a00174d028eed4f154cc61"},{"version":"6f0118a8514d54915dae522ff693e3003ca4a5f68810501ca9728478e41ce5dc","signature":"d626d0dcb8438a5feca524eb55309ec0458a83b4afa04453538503f4ef8d5d3b"},{"version":"f3b4d78c987b1e07c00b5e7c1e3ec71cd3f366abcb82ffd61aa2b5d7e328914c","signature":"b51fa43b3be204cc99b799172ed1c489e66c30c4e10dc8d8183e9f6c3b9a5405"},{"version":"aed150796d285b7f93f3490abd64a9fc67127f5ccd43fb197ae39a0a36c15d91","signature":"cf281e301fcb482169c8f497bad1b02fc9ae24e9b2e0775907ae2f48613a10e6"},{"version":"965f48d89c8df8fb7f14629c44e86bd55d18be80ad53f79f469cb4bddf7e60d7","signature":"da93bf763db6d4b13614496666ff05fac92565251c7a100c43f917cd5f87fe11"},{"version":"e7cb5e8034701431e2e927f16f7a809c94ffeeda742bc8111372f04dc8030a6b","signature":"dc38ac37a273598903c35f1d962f48448841c0bf0fd0df49ccc664504a9d92bb"},{"version":"392b8f46831656c4e289f8038d66ddd7fb9433c7a9f411fecb4ba2ef1a43e141","signature":"d18a5c0f925e2bf60bcbaf6142574587b57fc91c49afd95e4e9322edb64c48e9"},{"version":"bb8c5ca1472d212830f59ef290d3b4b87fb80b93ddf38107f48cbd409f52b5f1","signature":"5b6662a6cd0b55a1b8829d794aba9ba5e3ab50c8b96fd644c3bc330975a990a2"},{"version":"4169221d06577dfc02e64f8fca200c7dbe241281f3ea24c09815b0c6e73730c0","signature":"391d5db65fbc68987a94c4624e0f22787890c9fcb7b5760bb551769ff6203ee7"},{"version":"4ab6e3ee964aaaacbeb5d95540f048642daccd448fca2038ab03eae62ae62a58","signature":"ac9ae686177a606e4ec20e9319f69be510ae43d701bdc8fa3ea2ba5caecfae99"},{"version":"65393b4541029489f062ad68f0c5a43c4ea7cf39db65fbe8b74a183a2f48a632","signature":"d09dd02dfc456909903e68deef1c6049b8d68caad2c3357c282b8d272276c949"},{"version":"75f58f0af88b0a6761a4ec690749f570e9eb75cbd1102b7090936084a4e1c6d0","signature":"a9c94eb2aae99c10739f4f7e279962e78d161c98dbf1acacdfb7cdd30ec04232"},{"version":"6582e7ecdced5f449c19e6770580af016e242d66e2fbe17534fe6a9dbfaebfe0","signature":"c50979cc7505574fea51fc50befb5d89ae6edf15ce92d0025b34c63355fb18b9"},{"version":"07f3f0ffa8259657cb6993ae9f3c57e5987835900d1a338adb8ec9b3c9b48e67","signature":"704961094e61c9e8d4856c10b34ee5657b9d2d10bd8b185a095eb00879c9437b"},{"version":"c305c227951b59f4080053f1bf359df3b2925dab09194602580e90534004bd9d","signature":"c483d2df6b0d88357966cc05600404f2c0506d7d1ea8749896828baed9b6b656"},{"version":"06d4aa70c54d0d50560bb6b8c6487fb21eac0e34710fd3ca1b6f9c60b527f707","signature":"84578b11236e365c76b631d5021725df99f4f52829a1465cf6bc6dc1bb88eea9"},{"version":"0c491b9f40d3ff8d14e8c6f58e1533b3f99809a3dbff3c6a13927c0298c30632","signature":"1698086085ae6ca2e6e2148103e50a6d3f2b21cb1503d09f6e9b3e5ee52f2b36"},{"version":"5d81e811cbc1441b7a6109ef35a8bbb78554002eef3a0ad3b57569d50823e2fe","signature":"9c70d716f6d409f662660155208eefaa48d9ab28f1002e81fe0caec89485fff0"},{"version":"5341b350610b3e097e61d0492315c6c19b061ce990c017ea4b3a3d7882c380ff","signature":"f029bb9eb525604b137b0d9fc1384405aeb3fd7243fbb06aa754aa3bc4872b86"},{"version":"489a7b82bc93ca423a35253503231831d0814dd55b1e545418602b5d0a77ca8a","signature":"c944ebec987a63b35c0a8d70d02f31a2f1e3ea8159e5f7ae9292a73c80cfd9f7"},{"version":"b32fbd91a0bc1f3d31b5e2f26400db56d11cb7556b4276dc213bd1fc229521c7","signature":"fa535894317857270b67eb137d28d25aae6ea033aa338644512f9a4a7e5ab513"},{"version":"9e6ca1cd792c3cdc50289ba11c8e75db0d7aa42b099086eb55931405d1dcc68e","signature":"232769c67434dbc8d8061861a12968da9d8921caaeb3b956f1a8274dd75f5d39"},{"version":"de64a0b4ec644accbe7bf2391b3b933b1bd494f0305b7d7f761bb99dee59ea60","signature":"b0b7d7d53a08bd98dddfac9e532800ad976c01cabb6824710277694cdea01066"},{"version":"fa7b775de33cac96048f5ea728709d9ebec9effe3ef62634384f94be4d960b81","signature":"fe81135859208cd52ebaa26a379b17f70b4b3e09140073fe158d31e30426d959"},{"version":"70a3d18ff3e167b95bf2d737f2666177d0098de2b8cbc585544f98638ed8dad8","signature":"f742606215fd981cb472d4c9fcdfb3ac7513c2497486237d766007a366317f9d"},{"version":"b66073466391e24a52054388c8c459bfb59d2c31e3e445d3e1455e2ee278093f","signature":"d2f410289089c0d186f50a584cdf2cdd291cf445654edf45ded76b7424fec5ff"},{"version":"680d29b2cf3face227a143ed752934d49d8453bc25a1bc6d1858ef7f76384183","signature":"f3818940420c09a0d64d3049a464943c09c459be3665ddf917da787d8dc37674"},{"version":"6aa3a9fdf29061432a0ddac9619e760105e6392f083c6d21d8bebbfef3681fad","signature":"bc3e35e354d145834a144c9c04fb4bdd9856f0b54fceb3cc40cdcaa1bd51cb39"},{"version":"5ec88e87edd3a8f55d11efdd4266663205a899b980cad46e100d1ea3a2c650bb","signature":"786a72224a3444b926be8de8f8e91af4d4ba7e6ac8e990686de1180419fec7cc"},{"version":"841af01b41a0e2ca99be87e7673b5189e38b26b0467259735bbb6f3453b407ca","signature":"89caf613c70075f3b81c83d0cbf4d7586c1e3346b3377e425e1bc5c60ee43368"},{"version":"95f9353a4489c6682ae538dcb4618305ab1fd4b3e350d51ef1a3de8cc54c7c2a","signature":"49aa4c0ee0cb498d0c0cbd7e83c63fe962a6eeb7c25a631b3bf292eb44746b22"},{"version":"36e4d2849e725b71345b981ba8f00462ee01468069829311723c36dc72e8f07c","signature":"8f77de146c4f877315bfd6051a2a220542c918a653e3f5318f998389d23ea96f"},{"version":"8ea371b73fe883e835d410174cec8518683dbcaee4d0b8e5b41ec2eee5ffa998","signature":"e9a1d7d56878089c1260d2c8341cf9746cf5b0f8501f03916ae0a3a8a630ad12"},{"version":"488719f6b56f11e5e56d704f303f1b6ce31a959bb44376af1d4f35a83706a05e","signature":"82dcb62714a38d6bb2c019a98a919171a41e58ef5347bc3ec7a52093aa2ca898"},{"version":"a62a1915a724d36870958116ec9b37e362fc9d12542954fd8411935622fb3f07","signature":"cfa616f2ba23ec8a0d4f5b8e1fbc04d6369a7f0978179c37e7b7aec8398fdfb1"},{"version":"faa70094ed7527b513c66b882258dce5ded5845c408e28fe96c54dd31b299334","signature":"3e6cdc4b9b49a4112c8f832a986e6dc07d9f00d70534eeea01b1eaddb4e38af3"},{"version":"fa146556c21deb962102a3d06a47aade12b67bd39a97cef9cfde2796442c106c","signature":"a2a99f7c1e795746af880948e3d5eecfeeab73c4b9f299dd3508f7b38d3fb1f4"},{"version":"9e01c472223a353ab3e4496837350b35eae49c8c96a1438fc5c31684da831a72","signature":"230de59a0b9117a64eea43ef242425e3a1c60daa3a0faccbc15726e286d9c073"},{"version":"cf008799556f847ea9d2e3ea7cf910d185caac7576bd48cb1baf17da491854c5","signature":"995b480a036b3b153f7f98c408f170caaa40d58b8edd6d76b50de1aa930b766e"},{"version":"df5094cfc31f6336d8581aa0d5fb3ea5be55fcf3d65572df2438f1bb3045a832","signature":"c3e4d8f1d29ff5daaee0e5204cc522bcfd48eb1fcfaddfb87b5539e6129bb88d"},{"version":"5bb69084ae1c3c3495a2393d94fe545ad51ef6f6330e285f42876f8a7afa33ed","signature":"2da2e8dc65ef880f2f582f77ecd76d0d3f155cfa28b50db3a0fb0827e1dfe6a8"},{"version":"9d1874b1d273f1d4d9646ea2c320b18ce1edb6e0e441cc8b532ed252378fea88","signature":"39e1d85bf6d562cee0947ef663344c5155136f3576cc1f1070f63d9bde782c72"},{"version":"89742819028844d754c1000478f43b24549c34bb23e1069997787b00e347824b","signature":"b2ac858a46f8f2b989a9db2e3c1339b5c7321f914780e464f43c350a39edae98"},{"version":"b9d0da0b0630ac20bb1cdd75c3e874eb3f799d36f88a25bae0ce8795dc186cbc","signature":"0e3f8f185cb9d20c845d78d9148931a66009570c08e048401ad2de7c1421626a"},{"version":"8581f6fd97ebe0a467611b744b27eb9c6d986bde8c36e4ef84c5ce7b2b431886","signature":"18df6e306a891998b19ad197165b3f02d89f164c830c4089dccc520b67661614"},{"version":"a44a72aa8b12a8cb49c36decf59224c77851c385c17433af413b885b0325d2c0","signature":"5caec98435db672a48953314ba27d8483764b77f7a12c96c7451a6152ebeafdf"},{"version":"6cde985b2d5cc236f72aa7ae66f521eafecd7fe3894af9dc772f198730c8941d","signature":"0dfecc2657c95640dfc5775e086109ce0c50b98a4dfe09249c3e3332da81c371"},{"version":"68c4b727561b496c41914b41372d9e5bfbf1c8731863fc7daff7a2314a985852","signature":"f7f6c9cec2d753a6ec7ecd0825a4ea533951c63dbb8b652377ce9410e63dd091"},{"version":"363c4cf07ad8c0b0310851d6e1a72d75dd8e720e9df867e365299fab129fc388","signature":"15564763595c2f569115fc2c3ef7621ca7d449d972fab1645f13b483fa1b4697"},{"version":"e064ccc94046c02ee183dde06038c895fe56c05e79c61aae804cb75ba370c182","signature":"3e921f4a1b96e8487ed5c70f224aea150ec75c78283acdb1d7caa8b7a3492259"},{"version":"9d1874b1d273f1d4d9646ea2c320b18ce1edb6e0e441cc8b532ed252378fea88","signature":"39e1d85bf6d562cee0947ef663344c5155136f3576cc1f1070f63d9bde782c72"},{"version":"40f6b31a5eab673ef07b7f8ee8393d1e3e389c0c35be5007f364c406a3644ac4","signature":"93c519f13c30b7ccb5ce4b8e6b8ccb9e6c336005a9e7aaeb74253008701d04ac"},{"version":"46c6213b20279749e37aa9f32c20f9df273161a190e2f162a2070abd5ab17835","signature":"d76b4bcd97559ca0488ae8e8d779e389ad89efba7ffe4eb0ab0029ba585373b0"},{"version":"23d643305ef6c3ca92b64811755a5cb2706ab8f3186cebc4dee04e062ce2c853","signature":"3ea04b1679fb103365c44ee2fea412cc0b002a7349c51ec610577be1b98d8e92"},{"version":"96a23bebfbe3e3efd04a8fc8db75bf81b1cc06eba432d1fa09a389e1de5800b7","signature":"4e3a012602815305efb5d22549a570b468790f0a062d1936598cd515040a7454"},{"version":"d75ee945dc99520bab783ad26176015df54764f9249bc557d7034ab8ae92bf3c","signature":"4c7371d78907b102fbce6b045c7f2db67bdc6afb31f8541b0361f8d5147a8556"},{"version":"6759e290eee9f3184d20bc74043c47dcc735b5c315c7b750e5d487445de5c850","signature":"2ca78319aa64433941f1cc68a5f3b165ec9678af74e21e5d0e6ec0f96c77efde"},{"version":"7b02c72183250de59e9569c09cc6c15363b4edbf5ec8b1e9e382e1792d89bf1d","signature":"2ecafb60c658a711d64cec959402c740181b35ac51657f2328b0e6c3fccaf66f"},{"version":"c9fbebfae14321c547c5b3a0efcdb6f0f96405b6c31a83ed6b06a0bb22808aea","signature":"87fca44059cee324d5a814609a613011da1edee4866377d70d08fb0d638e4d0d"},{"version":"801788161b2600328ebadae9875c82d0dba922340c07d5a0672ad3066d61c05b","signature":"c0b12f5f728d2766cdb86a17935d93e31e7d64e1adf56020a36982778c75c77f"},{"version":"84e583e400770fb4c8a24359068a4cff3960b04e715b71fca7d1425b99836b7a","signature":"fb903b9da6a7fb0206b5cd0f257170fdaf1a797ad9a78ea52e3e51662a03a7d0"},{"version":"f2febc978a17577beec41c6801cd8f063f1434ff6e5b0910bc659ee4f68bd6b3","signature":"2cc3dc7ce01b107ad6c9ecd0858d476be8d2c6b02a09d4ef2bb1cf44e22b7625"},{"version":"98ef1418ce57827a8abc98947c8d5e986b3c47a4fc444201a24d74dad83bb2f5","signature":"40bd2e1cc0f6dc881aef9f839f671f80f10c445002acb38a591dd4884bbb25c4"},{"version":"5efc015f0724e9fe61552e5f27c948a3947e34780a6f6b4e60dd68c3615b9d2d","signature":"e0bc1c2043417e543382d4920bbea5c63fef0f4df9fb1e5afe703ce010ba191a"},{"version":"59df1f29f31991ae7cc0da6281bf280833daf5e0fdbd873179a56302001c789a","signature":"518f11b2317a0957b5fe606658f82b54d80fa3a4499fce95c0c215cac1d98805"},{"version":"f008c86daa9e1dcfdc1127808c2b24069799e7c2d6e3b89b324700d3534529ac","signature":"4dc498f265fdc94007f8c40e8c79a1ccfbc728ff0bf2543b5f8d6a400e6f81f7"},{"version":"6f766a98a800afdeddb4edfc7b94cf3939511413d2d345c93146017dd64cd86a","signature":"f4a00ce080dd09440e1eae5936dda9151427477cf8065a4e281b8b5967acc3b7"},{"version":"df95fda222bf9b7ce1eacc3b8f58307f2e06486c76d8cce53d69aebf71ddc79a","signature":"63829e263e0d8a56fd3b0e94edf177ebf9dd0af8e19185626f09134b08cbff6b"},{"version":"493a518c8c2c38bd801509040e912aeca1387678bdcaa079526c099bc5fe0a0e","signature":"963b262bbe5a0fedad3d953ada5828a0127cf5304a03806d155cde2a882eb17a"},{"version":"f2ceb40c832f72ca3e2bece9fb5381fb9bb36445496024113645eedbe063b3ae","signature":"7bec5887cc414d023b8875cac08f9a4bcfbfee94f79bce9981efdb0e86c6270e"},{"version":"e19803a032a1bd522d02623a5b1fc9abe64221221132def1a2e4c45922cc1f00","signature":"84191ee52bcb09194b988ff233243235508d648d779b617aad46672b95bf788a"},{"version":"d9d65fb5e0065057ee38f34cb854e3bc508e7673ada5d5b6e89b948e43fc15c0","signature":"c5143416169c751abbdb61f62ef25477eaf6c77ae5e66ac0764966fb3289ca58"},{"version":"17357154dfb5e11dbf2debf397906b3fc43b8ffe747a9a81411492523fb3b5ff","signature":"0510cb12ea3a9874d66c9ab4d2d86d97115e537b8d5e51f376b6ae47d919fe43"},{"version":"1ca013c74c43bf20735027b93b324c691a8dd532605e7ef25ea616911f3b70de","signature":"52e7ae68f1e9fe4ca949aa1363fb5192c06d647ec5edc31d1f4f0249ba05d032"},{"version":"84d441233e42f4ee73fcf56ac0d2ff851c561e05f53ec2c18fc98aed621a9996","signature":"44cbc193b6cedfb3172d500e329a0ed07caccd8f0a290e212b25f4d54bcbb0d8"},{"version":"d6526c8cc41de5dea27081cb9119873d451f7a08b0a9a6ec2e396175d78cc205","signature":"3d46ff51b3b536cc5764bf8f722b349b65401e2b76f79f1659e7def76cc6a874"},{"version":"8e9a42ea467988b6914648f3a433003b74bf2bbb65ea046c832957567bf2d85b","signature":"0ae35f15b495708b4cc98e6f90e1a7a9003471ac3aca0b4d373feaab51b16c4a"},{"version":"4ad3abba4c9f402258cf9203e165177ea370171787602df8cbdb6624839e82d9","signature":"2af2f66f5088846f1e370c2e8e07640f95933d5ccaf2185854c49767a1dc560b"},{"version":"2fb62f7b2aff59686d708b2e11221d6936d4893de2a55a02ecae9239f6da3c1f","signature":"93c2083011efa6b4e19146378071edf4966c44f484985039034c51f058604076"},{"version":"73792cb6c8ad8ba1e9e7ce7ee3f476ce70afa6db53928694b83c82c574d41b1e","signature":"2c9e3123b56999d798d94d6b6f904fe2204925199774b328034a762bb71e323a"},{"version":"d90e3ee9828da2930df8f896465808e1c8d964ad7b6ac7abf6e91ed2ed1a3fc7","signature":"43e5229ca94fd5665d13bb5c9028fa8448c2e440fb686c417d979da896cc0ee3"},{"version":"874b1842ae6e9b64b030d90ce00a13dcafe75a23d274d8b6532c07bb06a28df7","signature":"7f980b8567bd9dfae2c7f62ac43ba853d8e3674f2d9e5f6d4ceb8d611bda3592"},{"version":"dcaac5fbbe24cd052163dd375184c363b63293301cfa6edda65fd928d1b1e06b","signature":"ccfcc0bb049ad318b669ca56884d2276bb413bc0b1c2ae1769bb2f06ed88cb4e"},{"version":"46310972b57a29abf95bd1a57104a5e9457c6133a4cba82621d074d32e85d1c0","signature":"b2eac4ee8ae814b2a9c25252c80ced593f944a54ad112e22806f04cfbf632abc"},{"version":"5dd24e509ba6dadb5fddde22dc410bf1aa9102c6926b5163a66f3c19138849b6","signature":"3cdc96ce6bfeefa01e4e4d8553ce819c42bd092b33493f70c2be7aab071f720e"},{"version":"a579dd08e76d4742d99ffb166a1370eb1e9626f405fe69809024e08d1ed19140","signature":"266fbd7da986f1664a53eb6c2fe8b73d067844bf1fd7b55dd17160e80997ad3f"},{"version":"6e38bccec998b3440fc9553f0f0d1d167ebf31528d1a3665353d31975eb0be3c","signature":"b42dad3c7707290eaf03f2136ac6ad0d84df1b509a03e7052a854ed90155c3f7"},{"version":"dcc0a7517932b27471cadb5e1edc1dca393864d61dca3e7dd8afd7b710b6f2ec","signature":"89e620e301839b3e441d15ef2ab45a8ca6c67de1edb3ef10466fecb90194299d"},{"version":"1da1fe37b26f648cb7654b6ded36d6f48a642fb83c51fbbae2398fe51208f624","signature":"4b1feea9e8e082eac96f290152f5faa23f80aa43472399be16055e45649861a0"},{"version":"2ff743b8c7480b34465eb890d0d47ef57c194eecd092f7154572d6fed8a1c038","signature":"74e3c302a8b5a1038f75de02059d281c3d4fa3e45159a9cdc3732c7da2b4a35a"},{"version":"ed636e028a76aba1a89d580e54952055c879e67975a0c14072983ddb6483c737","signature":"39f789802cae75238f9c57d74d5e30d4a90209e01c3b7b78aae5feaf86a17380"},{"version":"b716f126c264a195b4c7c65e09a3a8f2ddf4840dbde96799029525ea049e0d1d","signature":"00d65f5b5db56e0eec498f0e8315348c9d7f601b56c9023a05d402d9936e455a"},{"version":"72346ae246f75d39c245129c96602f39b48308d84dafe3a4f027ea3ae63a1007","signature":"f1a7931e56ad69de89e9bb9113d97021c68cc7f75758b586181d001615bf3ff7"},{"version":"6081253042ee59b517ef08ff056400577bc1edfb08497f5daa348bb15a1d8873","signature":"f2c827b143d4b9af58156fa5f1e10664ce6da2dc1d0fb34b857cf3fd7abfeaea"},{"version":"48f0f78c7fd423d7cb03905355396ca4027f231dacc642ac69b45b8d62a4b8b4","signature":"493b6693848779a7c37057d9e2b31648b867ecc35a50de03dfdf6f17d260d11b"},{"version":"8317b5372a1474722183759c93235709cf96eb4b76529a475d23dd0e62149af8","signature":"0ead2ac4fed73415e3478a86b50650941a6ea6e21a0fe5caf550df8793750a70"},{"version":"6eaa4d1171b850dd3048b8a4ecb632531fb5255e482f86e653b420576537afa2","signature":"754007478d37730eff7b60330b394c6e83f94c829e4d25be0f9cbcf7c3fbd1fc"},{"version":"95c45726dacf347b02598eb0a022a1d46ab69ce1fed4f254b1477b075364972e","signature":"8470e64e356c5399b14bf3549a242dc8c6ec89bbcfde6c8a37db04e40a6f7c50"},{"version":"2b48af34cd4794f1a25db9228f87a5e3a30b154b8f80039dee748a2b3319a8fb","signature":"dce4dcc5117acb08d5809fbe514a4d1c464f4a55be1631e7d5477e6d6672722c"},{"version":"9ae990324b16f225352d7076ecbd96d84fa6003f9f8cc0dbce433095d3b527a5","signature":"7c95fcc840b2151e928e21466ab45c52a6da7572aff00bd6c84791fc911849cf"},{"version":"38d0d96e9428387a41683c50eb6b9283191f847ae441dc1dbcbef3f1236f8b0f","signature":"276341a92ae9074922deb4daa5e8f4f8b14cafd6527ee21b8bb2c42c953d3d5e"},{"version":"fc466334be96f0c2a2dd1c0c179c878ea248b40e432471f2b43c7eb960bda958","signature":"50406ec9cf829a619bc3bbc15e33573142b7d300ae80e66e20a49348e5972cba"},{"version":"d27bacebfa15434a8bc3ff5efe9397442179671805009308cc74f5770324627b","signature":"a2eb95a458e2c9ecf815f1e07e78f84a6c79894b11def4b70a94fd81be7ab6cb"},{"version":"59065ce28279072b01222578f36ec935c60b2037a174cf8454b2bbc84bcb239c","signature":"dfcbe52392797671d028de903bed283e40d7bc6c9a65e124e113e7338af466dc"},{"version":"5c81869a526c2aa7552c244f7cd009a71b95142f65129ac14917f6395a968150","signature":"48e2895db1149882588744e650e3e4ac1fd9dce063b6f61580ed9340344c748e"},{"version":"ca6df963b68afa08ea5ffefb8487c234774f94ce0285c35ece44fa69b5205e48","signature":"2ee1b7dbdf1abc067c9329b4723b11ec673552bbd3dae956fea80e26972a02d7"},{"version":"7ba8bdad6ff5a8523cf0974b4bae3aead114fc727ce07cf1592d3726ea5249dc","signature":"5a46a29431466386b440dd68145c16bba05db12c88b6655e4f8514b63c9bab0a"},{"version":"2ffd5f746aecd1379fba99c0295444d4988ed027d9f02eda1f908a07393cb0a4","signature":"65ae4c64d8d903f25b19f037ef8f47cb89254555e14dda111633a0ffd6b62491"},{"version":"5e80b6dd8b654f3d9330afab649603f513897c1e75376b8d45dfbc9e74d654bc","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"cd51ceafea7762ad639afb3ca5b68e1e4ffeaacaa402d7ef2cae17016e29e098","1b8357b3fef5be61b5de6d6a4805a534d68fe3e040c11f1944e27d4aec85936a","4a15fc59b27b65b9894952048be2afc561865ec37606cd0f5e929ee4a102233b",{"version":"744e7c636288493667d553c8f8ebd666ccbc0e715df445a4a7c4a48812f20544","affectsGlobalScope":true},"c05dcfbd5bd0abcefa3ad7d2931424d4d8090bc55bbe4f5c8acb8d2ca5886b2e","326da4aebf555d54b995854ff8f3432f63ba067be354fa16c6e1f50daa0667de","90748076a143bbeb455f8d5e8ad1cc451424c4856d41410e491268a496165256","76e3f3a30c533bf20840d4185ce2d143dc18ca955b64400ac09670a89d388198","144dfcee38ebc38aae93a85bc47211c9268d529b099127b74d61242ec5c17f35","2cf38989b23031694f04308b6797877534a49818b2f5257f4a5d824e7ea82a5a","f981ffdbd651f67db134479a5352dac96648ca195f981284e79dc0a1dbc53fd5","e4ace1cf5316aa7720e58c8dd511ba86bab1c981336996fb694fa64b8231d5f0","a1c85a61ff2b66291676ab84ae03c1b1ff7139ffde1942173f6aee8dc4ee357b","f35a727758da36dd885a70dd13a74d9167691aaff662d50eaaf66ed591957702","116205156fb819f2afe33f9c6378ea11b6123fa3090f858211c23f667fff75da","8fe68442c15f8952b8816fa4e7e6bd8d5c45542832206bd7bcf3ebdc77d1c3f3","3add9402f56a60e9b379593f69729831ac0fc9eae604b6fafde5fa86d2f8a4b9","cc28c8b188905e790de427f3cd00b96734c9c662fb849d68ff9d5f0327165c0d","da2aa652d2bf03cc042e2ff31e4194f4f18f042b8344dcb2568f761daaf7869f","03ed68319c97cd4ce8f1c4ded110d9b40b8a283c3242b9fe934ccfa834e45572","de2b56099545de410af72a7e430ead88894e43e4f959de29663d4d0ba464944d","eec9e706eef30b4f1c6ff674738d3fca572829b7fa1715f37742863dabb3d2f2","cec67731fce8577b0a90aa67ef0522ddb9f1fd681bece50cdcb80a833b4ed06f","a14679c24962a81ef24b6f4e95bbc31601551f150d91af2dc0bce51f7961f223","3f4d43bb3f61d173a4646c19557e090a06e9a2ec9415313a6d84af388df64923","18b86125c67d99150f54225df07349ddd07acde086b55f3eeac1c34c81e424d8","d5a5025f04e7a3264ecfa3030ca9a3cb0353450f1915a26d5b84f596240a11cd","03f4449c691dd9c51e42efd51155b63c8b89a5f56b5cf3015062e2f818be8959","23b213ec3af677b3d33ec17d9526a88d5f226506e1b50e28ce4090fb7e4050a8","f0abf96437a6e57b9751a792ba2ebb765729a40d0d573f7f6800b305691b1afb","7d30aee3d35e64b4f49c235d17a09e7a7ce2961bebb3996ee1db5aa192f3feba","eb1625bab70cfed00931a1e09ecb7834b61a666b0011913b0ec24a8e219023ef","1a923815c127b27f7f375c143bb0d9313ccf3c66478d5d2965375eeb7da72a4c","4f92df9d64e5413d4b34020ae6b382edda84347daec97099e7c008a9d5c0910b","fcc438e50c00c9e865d9c1777627d3fdc1e13a4078c996fb4b04e67e462648c8","d0f07efa072420758194c452edb3f04f8eabc01cd4b3884a23e7274d4e2a7b69","7086cca41a87b3bf52c6abfc37cda0a0ec86bb7e8e5ef166b07976abec73fa5e","4571a6886b4414403eacdd1b4cdbd854453626900ece196a173e15fb2b795155","c122227064c2ebf6a5bd2800383181395b56bb71fd6683d5e92add550302e45f","60f476f1c4de44a08d6a566c6f1e1b7de6cbe53d9153c9cc2284ca0022e21fba","84315d5153613eeb4b34990fb3bc3a1261879a06812ee7ae481141e30876d8dc","4f0781ec008bb24dc1923285d25d648ea48fb5a3c36d0786e2ee82eb00eff426","8fefaef4be2d484cdfc35a1b514ee7e7bb51680ef998fb9f651f532c0b169e6b","8be5c5be3dbf0003a628f99ad870e31bebc2364c28ea3b96231089a94e09f7a6","6626bbc69c25a92f6d32e6d2f25038f156b4c2380cbf29a420f7084fb1d2f7d7","f351eaa598ba2046e3078e5480a7533be7051e4db9212bb40f4eeb84279aa24d","5126032fe6e999f333827ee8e67f7ca1d5f3d6418025878aa5ebf13b499c2024","4ce53edb8fb1d2f8b2f6814084b773cdf5846f49bf5a426fbe4029327bda95bf","1edc9192dfc277c60b92525cdfa1980e1bfd161ae77286c96777d10db36be73c","1573cae51ae8a5b889ec55ecb58e88978fe251fd3962efa5c4fdb69ce00b23ba","75a7db3b7ddf0ca49651629bb665e0294fda8d19ba04fddc8a14d32bb35eb248","f2d1ac34b05bb6ce326ea1702befb0216363f1d5eccdd1b4b0b2f5a7e953ed8a","789665f0cd78bc675a31140d8f133ec6a482d753a514012fe1bb7f86d0a21040","bb30fb0534dceb2e41a884c1e4e2bb7a0c668dadd148092bba9ff15aafb94790","6ef829366514e4a8f75ce55fa390ebe080810b347e6f4a87bbeecb41e612c079","8f313aa8055158f08bd75e3a57161fa473a50884c20142f3318f89f19bfc0373","e789eb929b46299187312a01ff71905222f67907e546e491952c384b6f956a63","a0147b607f8c88a5433a5313cdc10443c6a45ed430e1b0a335a413dc2b099fd5","a86492d82baf906c071536e8de073e601eaa5deed138c2d9c42d471d72395d7e","6b1071c06abcbe1c9f60638d570fdbfe944b6768f95d9f28ebc06c7eec9b4087","92eb8a98444729aa61be5e6e489602363d763da27d1bcfdf89356c1d360484da","1285ddb279c6d0bc5fe46162a893855078ae5b708d804cd93bfc4a23d1e903d9","d729b8b400507b9b51ff40d11e012379dbf0acd6e2f66bf596a3bc59444d9bf1","fc3ee92b81a6188a545cba5c15dc7c5d38ee0aaca3d8adc29af419d9bdb1fdb9","a14371dc39f95c27264f8eb02ce2f80fd84ac693a2750983ac422877f0ae586d","755bcc456b4dd032244b51a8b4fe68ee3b2d2e463cf795f3fde970bb3f269fb1","c00b402135ef36fb09d59519e34d03445fd6541c09e68b189abb64151f211b12","e08e58ac493a27b29ceee80da90bb31ec64341b520907d480df6244cdbec01f8","c0fe2b1135ca803efa203408c953e1e12645b8065e1a4c1336ad8bb11ea1101b","f3dedc92d06e0fdc43e76c2e1acca21759dd63d2572c9ec78a5188249965d944","25b1108faedaf2043a97a76218240b1b537459bbca5ae9e2207c236c40dcfdef","a1d1e49ccd2ac07ed8a49a3f98dfd2f7357cf03649b9e348b58b97bb75116f18","7ad042f7d744ccfbcf6398216203c7712f01359d6fd4348c8bd8df8164e98096","0e0b8353d6d7f7cc3344adbabf3866e64f2f2813b23477254ba51f69e8fdf0eb","8e7653c13989dca094412bc4de20d5c449457fc92735546331d5e9cdd79ac16e","189dedb255e41c8556d0d61d7f1c18506501896354d0925cbd47060bcddccab1","48f0819c2e14214770232f1ab0058125bafdde1d04c4be84339d5533098bf60a","2641aff32336e35a5b702aa2d870a0891da29dc1c19ae48602678e2050614041","e133066d15e9e860ca96220a548dee28640039a8ac33a9130d0f83c814a78605","a4ec0615c02d326a2d260c6162ca640d6d454852b26b28f0d294972f8503c8a7","f6a7a767bc5c5d52dc6e063b751e006a9042d0aec945cd4997ad96e6afb1b378","38f01fd72eede9e53b234b74ff4e7ee571828a09363c0bb2798ed2e735cdc5f8","e0ac6eacc92d2db2916f8f7654ea753c0984c3f781d35a6ac66edb2ec177e7df","6fa581612d53e6cde18d99d8b7d7ff26403d3396da27490d16abd05d228e409a","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","f23e2d3d6d262804662a112664bba6374aae59c8763ad36d0bfda24570c6548f","a4bfaa03fc453481dc51dd059fa6a1c10964a800adbffd13a5dbfa6c17d9d507","3361ef7a3ffd856120ed36d1b34fde7db7a462ff65b68a081e90455acb18e650","8a7a23807deb18f4426fde1d8e198549314b7a4dee6b06ea7b089fb7223147f7","08c211737effab2618b2a41c5cbdaa3a6d26d5c900afd34267f2a889ab61ed46","28694a43b75eaeba56bb98f32bbc553ec4d2bd6201b94b16a8d865dc0935bcd9","2f25039a86fcc711670e3e68ee41dc8eee6169f3b4cb1ca35d6046fc733b2d21","1db07a831f066f42f09fe592d7140e81a666d19d60817a443e1a9626a7ca5202","c4faee83541c1dca8317cd5b740bd06b9226ef74aa9a5a7a20fda1e8ce439d43","bcf207438cc87e8ab42e562033f7e9308b9d44678b98d59ad002b8b1c194b984","117ffeecf6c55e25b6446f449ad079029b5e7317399b0a693858faaaea5ca73e","78647004e18e4c16b8a2e8345fca9267573d1c5a29e11ddfee71858fd077ef6e","0804044cd0488cb7212ddbc1d0f8e1a5bd32970335dbfc613052304a1b0318f9","b725acb041d2a18fde8f46c48a1408418489c4aa222f559b1ef47bf267cb4be0","85084ae98c1d319e38ef99b1216d3372a9afd7a368022c01c3351b339d52cb58","898ec2410fae172e0a9416448b0838bed286322a5c0c8959e8e39400cd4c5697","692345a43bac37c507fa7065c554258435ab821bbe4fb44b513a70063e932b45","cddd50d7bd9d7fddda91a576db9f61655d1a55e2d870f154485812f6e39d4c15","0539583b089247b73a21eb4a5f7e43208a129df6300d6b829dc1039b79b6c8c4","7aba43bc7764fcd02232382c780c3e99ef8dbfdac3c58605a0b3781fab3d8044","522edc786ed48304671b935cf7d3ed63acc6636ab9888c6e130b97a6aea92b46","1e1ed5600d80406a10428e349af8b6f09949cd5054043ea8588903e8f9e8d705","de21641eb8edcbc08dd0db4ee70eea907cd07fe72267340b5571c92647f10a77","a53039ba614075aeb702271701981babbd0d4f4dcbf319ddee4c08fb8196cc7a","6758f7b72fa4d38f4f4b865516d3d031795c947a45cc24f2cfba43c91446d678","da679a5bb46df3c6d84f637f09e6689d6c2d07e907ea16adc161e4529a4954d6","dc1a664c33f6ddd2791569999db2b3a476e52c5eeb5474768ffa542b136d78c0","bdf7abbd7df4f29b3e0728684c790e80590b69d92ed8d3bf8e66d4bd713941fe","8decb32fc5d44b403b46c3bb4741188df4fbc3c66d6c65669000c5c9cd506523","4beaf337ee755b8c6115ff8a17e22ceab986b588722a52c776b8834af64e0f38","c26dd198f2793bbdcc55103823a2767d6223a7fdb92486c18b86deaf63208354","93551b302a808f226f0846ad8012354f2d53d6dedc33b540d6ca69836781a574","f0ff1c010d5046af3874d3b4df746c6f3921e4b3fbdec61dee0792fc0cb36ccd","778b684ebc6b006fcffeab77d25b34bf6e400100e0ec0c76056e165c6399ab05","463851fa993af55fb0296e0d6afa27407ef91bf6917098dd665aba1200d250c7","67c6de7a9c490bda48eb401bea93904b6bbfc60e47427e887e6a3da6195540be","be8f369f8d7e887eab87a3e4e41f1afcf61bf06056801383152aa83bda1f6a72","352bfb5f3a9d8a9c2464ad2dc0b2dc56a8212650a541fb550739c286dd341de1","a5aae636d9afdacb22d98e4242487436d8296e5a345348325ccc68481fe1b690","d007c769e33e72e51286b816d82cd7c3a280cba714e7f958691155068bd7150a","764150c107451d2fd5b6de305cff0a9dcecf799e08e6f14b5a6748724db46d8a","b04cf223c338c09285010f5308b980ee6d8bfa203824ed2537516f15e92e8c43","4b387f208d1e468193a45a51005b1ed5b666010fc22a15dc1baf4234078b636e","70441eda704feffd132be0c1541f2c7f6bbaafce25cb9b54b181e26af3068e79","d1addb12403afea87a1603121396261a45190886c486c88e1a5d456be17c2049","15d43873064dc8787ca1e4c39149be59183c404d48a8cd5a0ea019bb5fdf8d58","ea4b5d319625203a5a96897b057fddf6017d0f9a902c16060466fe69cc007243","3d06897c536b4aad2b2b015d529270439f2cadd89ca2ff7bd8898ee84898dd88","ab01d8fcb89fae8eda22075153053fefac69f7d9571a389632099e7a53f1922d","bac0ec1f4c61abc7c54ccebb0f739acb0cdbc22b1b19c91854dc142019492961","566b0806f9016fa067b7fecf3951fcc295c30127e5141223393bde16ad04aa4a","8e801abfeda45b1b93e599750a0a8d25074d30d4cc01e3563e56c0ff70edeb68","902997f91b09620835afd88e292eb217fbd55d01706b82b9a014ff408f357559","a3727a926e697919fb59407938bd8573964b3bf543413b685996a47df5645863","83f36c0792d352f641a213ee547d21ea02084a148355aa26b6ef82c4f61c1280","dce7d69c17a438554c11bbf930dec2bee5b62184c0494d74da336daee088ab69","1e8f2cda9735002728017933c54ccea7ebee94b9c68a59a4aac1c9a58aa7da7d","e327a2b222cf9e5c93d7c1ed6468ece2e7b9d738e5da04897f1a99f49d42cca1","65165246b59654ec4e1501dd87927a0ef95d57359709e00e95d1154ad8443bc7","f1bacba19e2fa2eb26c499e36b5ab93d6764f2dba44be3816f12d2bc9ac9a35b","bce38da5fd851520d0cb4d1e6c3c04968cec2faa674ed321c118e97e59872edc","3398f46037f21fb6c33560ceca257259bd6d2ea03737179b61ea9e17cbe07455","6e14fc6c27cb2cb203fe1727bb3a923588f0be8c2604673ad9f879182548daca","12b9bcf8395d33837f301a8e6d545a24dfff80db9e32f8e8e6cf4b11671bb442","04295cc38689e32a4ea194c954ea6604e6afb6f1c102104f74737cb8cf744422","7418f434c136734b23f634e711cf44613ca4c74e63a5ae7429acaee46c7024c8","27d40290b7caba1c04468f2b53cf7112f247f8acdd7c20589cd7decf9f762ad0","2608b8b83639baf3f07316df29202eead703102f1a7e32f74a1b18cf1eee54b5","c93657567a39bd589effe89e863aaadbc339675fca6805ae4d97eafbcce0a05d","909d5db5b3b19f03dfb4a8f1d00cf41d2f679857c28775faf1f10794cbbe9db9","e4504bffce13574bab83ab900b843590d85a0fd38faab7eff83d84ec55de4aff","8ab707f3c833fc1e8a51106b8746c8bc0ce125083ea6200ad881625ae35ce11e","730ddc2386276ac66312edbcc60853fedbb1608a99cb0b1ff82ebf26911dba1f","c1b3fa201aa037110c43c05ea97800eb66fea3f2ecc5f07c6fd47f2b6b5b21d2","636b44188dc6eb326fd566085e6c1c6035b71f839d62c343c299a35888c6f0a9","3b2105bf9823b53c269cabb38011c5a71360c8daabc618fec03102c9514d230c","f96e63eb56e736304c3aef6c745b9fe93db235ddd1fec10b45319c479de1a432","acb4f3cee79f38ceba975e7ee3114eb5cd96ccc02742b0a4c7478b4619f87cd6","cfc85d17c1493b6217bad9052a8edc332d1fde81a919228edab33c14aa762939","eebda441c4486c26de7a8a7343ebbc361d2b0109abff34c2471e45e34a93020a","727b4b8eb62dd98fa4e3a0937172c1a0041eb715b9071c3de96dad597deddcab","708e2a347a1b9868ccdb48f3e43647c6eccec47b8591b220afcafc9e7eeb3784","6bb598e2d45a170f302f113a5b68e518c8d7661ae3b59baf076be9120afa4813","c28e058db8fed2c81d324546f53d2a7aaefff380cbe70f924276dbad89acd7d1","ebe8f07bb402102c5a764b0f8e34bd92d6f50bd7ac61a2452e76b80e02f9bb4b","826a98cb79deab45ccc4e5a8b90fa64510b2169781a7cbb83c4a0a8867f4cc58","618189f94a473b7fdc5cb5ba8b94d146a0d58834cd77cd24d56995f41643ccd5","5baadaca408128671536b3cb77fea44330e169ada70ce50b902c8d992fe64cf1","a4cc469f3561ea3edc57e091f4c9dcaf7485a70d3836be23a6945db46f0acd0b","91b0965538a5eaafa8c09cf9f62b46d6125aa1b3c0e0629dce871f5f41413f90","2978e33a00b4b5fb98337c5e473ab7337030b2f69d1480eccef0290814af0d51","ba71e9777cb5460e3278f0934fd6354041cb25853feca542312807ce1f18e611","608dbaf8c8bb64f4024013e73d7107c16dba4664999a8c6e58f3e71545e48f66","61937cefd7f4d6fa76013d33d5a3c5f9b0fc382e90da34790764a0d17d6277fb","af7db74826f455bfef6a55a188eb6659fd85fdc16f720a89a515c48724ee4c42","d6ce98a960f1b99a72de771fb0ba773cb202c656b8483f22d47d01d68f59ea86","2a47dc4a362214f31689870f809c7d62024afb4297a37b22cb86f679c4d04088","42d907ac511459d7c4828ee4f3f81cc331a08dc98d7b3cb98e3ff5797c095d2e","63d010bff70619e0cdf7900e954a7e188d3175461182f887b869c312a77ecfbd","1452816d619e636de512ca98546aafb9a48382d570af1473f0432a9178c4b1ff","9e3e3932fe16b9288ec8c948048aef4edf1295b09a5412630d63f4a42265370e","8bdba132259883bac06056f7bacd29a4dcf07e3f14ce89edb022fe9b78dcf9b3","5a5406107d9949d83e1225273bcee1f559bb5588942907d923165d83251a0e37","ca0ca4ca5ad4772161ee2a99741d616fea780d777549ba9f05f4a24493ab44e1","e7ee7be996db0d7cce41a85e4cae3a5fc86cf26501ad94e0a20f8b6c1c55b2d4","72263ae386d6a49392a03bde2f88660625da1eca5df8d95120d8ccf507483d20","b498375d015f01585269588b6221008aae6f0c0dc53ead8796ace64bdfcf62ea","c37aa3657fa4d1e7d22565ae609b1370c6b92bafb8c92b914403d45f0e610ddc","34534c0ead52cc753bdfdd486430ef67f615ace54a4c0e5a3652b4116af84d6d","a1079b54643537f75fa4f4bb963d787a302bddbe3a6001c4b0a524b746e6a9de","7fc9b18b6aafa8a1fc1441670c6c9da63e3d7942c7f451300c48bafd988545e9","d2063d7f3c4cf1669adcad842d55d9eb35a3ae846f946fae2d48cc0fa62282cf",{"version":"b344779bd6b19ed9f88ac7b92f057a3bff092c986d3ce3ef78c107c80b2582e6","signature":"9d9b5c9e314791c396de27c2ac70ecf6fda1c3464d1ffff416383b40ddf81d11"},{"version":"efbc9dc2dc339f1eda18ad844be531c8ae2196da33bfc9aa7e4fb3b80e994565","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"a97cbf7b3e9a946b971bfda590063cfdd41ad74109c0f2c83c728e8e3fecbc22","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"515b29f3872a3275db785757a365dbf5fdbfc1b906a9d443eb23425821223391","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"38c8b1c73d2f8c2af808f0657495a5ffd8d512b8b5ea6a7ee575f678829be936","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"d675021304e585ff914c09cc26d99674a11e6e852172594ba4694ec91ed12fdd","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"de200118e7f8d48f90068503d11df197cf9110d415345dee924408627e5d1c72","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"d9f91707e90f255a976f0d5c646c7dc45f99507ea7a55b7b2d4ee25662e51d83","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"5cfa0c81f37e5d0fa38a408b03dbd56c5a6d8868d202ade574f7e941e467f647","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"572131fdb76159a45217c3cf30617dcd1d8c6bfc4bdf4e27e5ef59dd4cf78c52","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"84e7d2f22e9b431e25e0976a1f1300517d3987d018b03693ec31d8e178bc7ed6","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"985dfe289bae6d19737a58d5a485a682e7ad76ae0c56b7e0b18d8f9199e46149","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"bb4c0a603b7fdfb912ec34b5de38cc8fe1678595505150f0773d47131aafe984","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"446f65af58320ec1c5afbcbb009eaddf5b58e531d35487493da502834a26828e","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"c4c74113a8157deeea1eec0357cb1307bbe443ef3446f4fccc091910fae0cafa","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"cb6a40fb4cf2d1e89db32463dfc3ce3c86f1600e96e43c4049a16b21d2582dec","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"61977d6860a6dfd6599f8cf6a5411be0c05140590ca7063e3f6b0653f347073a","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"cf2e988040b6f60cc013ce805d66748389917693888e6eb05e067ab2839ae1ae","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"e38607493c09a4e0d496646c2037bdf10396af24e284d8b5669f5a631e1959cb","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"6bad36076853de7cbd8c56f7a9fb1e51d26b1bae79281ce112904c67aafe353a","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"9fcd8270abdba39882491c63d968167ac576da788cef33c06d10cedbdc35896c","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"037836d387f21df4175aac7089258bf535226e9570ac5317926df3a1f828357c","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"f1a3e307aed74fceadb94fd400cdba234b2ef42923c7ece8999726f3a4cd818e","signature":"9d9b5c9e314791c396de27c2ac70ecf6fda1c3464d1ffff416383b40ddf81d11"},{"version":"3a0c3967e2fc419c3cc627c25f2da15bf405405cf2a5abe513783f45beaf0b12","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"e3b71ebdf672cc4546047beaf1e9ecfde21cc4658b920cf9ec2c02f310f80051","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"7cb5933c8fbba2c63ae91ffb8709fbe355ba920ca3ef4dd213ebaee2276c82ec","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","760cb9b76ab53a2f704ee0e731e162bcfc6af609f5e400a668efe2cc7923e4f4","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","7ec238b220ea991b6643e24191b1f552a65956d5f6de4c6144e700b9985265d8","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","dae3d1adc67ac3dbd1cd471889301339ec439837b5df565982345be20c8fca9a","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","bc6dd50ac2fc9a7ca6488811b116bd0ddd606338db0bb97852c8fcf757e2d7f5","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","a7d9d2a35530516e191ade6dc804d7de42d45ff6620c0319cfb4469dbdbd8044","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","5343f3c160282dfbaab9af350119a0c3b59b7076ef0117bb5995a66e240dab28","a7b9533447378e7f34fa432e26be9102173e79bceb65b20d258d61c4042e90ad","d71ffe64592c4e61c6b431d8fbaff58735cd659738d788a4c8423a27f78f01b7","b869f848bec826c9d3645d10a183b905672a4675747f41700fd30e1b7e0d0308","62cc84c2971b16cc82e1f7cb1dac7d8c70b589d492fbc2f6efbcbfc53b61d514","67729b7b26e1ecf2afeb2f4a0a8c3ba16712918ef22d23bb615f033169ebe0f3","903da09dbdfea0af66cb6b7b25950e42e350f1f3cc87f3516baa553cc4de882f","e237aa7b157ebfb2699d2e3bbf07c65a8cea0382201dc44c9da006f0f730de67","05e8a403b04248dbe9eebd2025d58e95495de303f37b39f13e7562f5f414087a","a56bf5dce7c05192e4c2d95eb1527feda15f9225afea8c5ad67034a79992ebb6","fcb510be50b0756cb770f8caf321dba38ae074665efbea090584f8a8d3e6b8f4","d4c9c56a2f4ecedcc224a495dfbaee88072c8e99679504fb32ef1d0629f843a1","5ec537948044f7c0280d6175729bf7aa13deae28fe0f6346628a8cf15569aefa","94998ffb6165ce44d492327169a7f7cb0e1e11a967f068fbda6796029a4a40dd","6d8c708a5237a8508ee8553f22143a6d2fb60807de0574b41622c1e281b04c6d","2d6c17f7c1e07918691b070e36583f446fdcc0595f5c538f8cfd923c0c7af8a9","a0ad85e087165d277f6a439bb77bc96c4f13268f2a42fea1baff1f50e302a634","310a0cc92822ada13db096f9970a576de760b2f82a3782a24af62cb5a07e0aff","204dbe6c72467fb14bbe8f06510b11fb541b6ce29580c6e10ebd3bdb2eb0c1f9","8d48b8f8a377ade8dd1f000625bc276eea067f2529cc9cafdf082d17142107d6","ce013414484233b24f42c0fcfca48a60bb66ab4e13c82953662305e8f1ee4925","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","eb96a2321f717bccc3e49e104e299152984b927ea4546b559ae631c06565819c","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","45938045285af93edb0065d83c44410e18b34fd1285b5ce46e025a46d5042a46","52ed17fe2c0a4bb27a4f13e99234b3d1f364dc27f9bd7964946d5ec62792a0cc","347c99f9511fb30c62af9a051ac54ac1a4b851f73cd9f5b0834ba2d2d4006c45","2f007f7338e8e2fe4691511ab9564fa8924d2ed4294f195bc4848a43bba8c004","d1a198a52f14bc491d502b9319a7bda1f5b2c187a2b094bfee3b94df36796721","ed4be5a31cd8dbb8e31ccde91e7b8c1552eb191c4787d19ed028763577674772","d40e7cb322841e538e686b8a39f05e8b3e0b6d5b7c6687efa69f0cbf9124c4ec","c5641bb951da5d5252e7d8a806ec3c84f42555b5bd6a0879dbf1c7df1b8bd850","682f3b75880b119adb82550e57a00ad450eeeaffb1bed1685ab56609e390415f","0fbbc989ca5a9cb73731434e80741eef2695cf35fb53d384808a0ab2d6732fcc","311c1619df14b4fda526b02ebe427b387380402790f3934f7ccad55d67f2e335","7e740e39cf1ccd9adefc6765c99553372f8b08170b121c221b962c79126d2835","e39b1f1a88ac45ddde24e46eb57fa4a3681bc0bfa898305d6152e4fcb5a82974","a04bbf3e3e34cf8ad52dc42197ea42474f8d4d6f9d3df8af0c271400f0c2dd42","8224fcf3a00e38208a7a8705bd3f9fd486bd0efe4d9e56c520b1b3a6f43acc04",{"version":"924dfa21135e4aeb4498c4facc93545b30bb844618929d342f9ab552947e34db","affectsGlobalScope":true},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","12269db43308334832b46233ce4d19e6c8b6453cb4877b081341184ee9a1700d","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","9861c78df96e241e7b3e3fe9610dadadbac3d20a1d18f47d49f9a8615b0db579","d94f8c3d13e2bba6e7ba79f24a9fa6b33a269f634fae3af5a9076f14df632139","ac9788076b6b9e4514ff1286de37bf90f8e2c1dd7a772c2e746232eaa4184233","49d41b881040e728bc28d463806cdff98b64c69e9da721adcf0ec34345f691b5","0623c302651761724ec920bb95a27d9d47ea71f7e6ef7e4d6f60bd05c86cf50c","b6e465de1852a328392b432b13ee8334b209f3493053e85aa8f0b5f78368d634","afc87a77703487af971af992374f59a6cc729411cd8498a492eb14cce49f092b","2c26ca5810ebbf0129a279811816d6fd703b79b087c1bd723e3dd9bfe75681da","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51","6168414aa12d33d0fcfac4f9870aa81ce27e136db6faf182001a5f3792e1d720","fa3d0cd03fa17459d9ddd98b120b4bb084da39f0391cbdce480a6ef74be0cc7a","e3fd84e6470b7e0679c4073ee5ce971d324182486dde5a49b67cae29168b51d2","dd8331d0a5190a4735ce6c152e420230188c4966067a756673c36dd7ba72b10e","cfdf36cfc0721c29f58651fc12f0f5a349d29da3a63180afc5b3d77b95653f82",{"version":"d57e7ff5243e0dcd04cf2edf9ad9520af40edd6eba31c14c3f405f0c437fa379","affectsGlobalScope":true},"0f882d4ae58f431454030289154feb0132e1b00ca5c3197c6b749bd098aed73a","7ff7f4632a6e7b6872fb1843f3c0df495b49840eae2a23c6fbc943f863da8c29","d267771149e172ade39e3ef96b4063209d5a7e8291702fe03983aa52f2b3d5f6","a78590b0efcef281236e3234520c348d63be1d4561b63b20e6c3b6fc18b37dfb","4d59c6a10b6c79a0927c79efa89b3c9f71d174ec14ec2792076cfd2330d0cf8e","a496f51933422872de22729b7a0233589325a1a1707cccd05cd914098944a202","75b6663bc569724017997481b6b3774065c204b316cb4f5ad7df3b5162d2dce1","06a38095ad4368314366bc08f7cbc0fe274ef7321ec611005d0bdd9c6565e4d5","4599793db9aed9b84677f0ca1cf7ef3c69bb91cda4fe4329cbab778ca4d80a58","ad0028f96921778931fb8419d8de33b10908314fa99699de1702020f69235da1","ccd2a35321c0786bd3808042dc43b960cac13f2cc660ac37a0087e12bc97d2fc","df524ed01de4f19efb44bded628dbba9f840148be4b6cfe096e29d4b01589de3","2e3981b9cee48174ff85ae15019fd72933f7023a4ed05094740f7e6f7775623c","836ebdc3b9e4c006acc4f405b7e558e56d47830e05c40d991b1e27fe8bc91157","2cc6b617c6120ba64b5778ccd4b74c951adc3a3941bb6b39f47d48701c44af39","eca02b99615a8f1652e21399d832618e38bf166c0747c9247349bc901a2f7741","7f7d6d42e5780e86f5b860a6f95179fae06a368b3af28c1c4230397c47021a59","4740a7d11ab3b381be0f269f1903fb3ff226a2fba55a01756b2997e67cd853f2","863dbc4e77f0353e6f9d6bc0e2b4622d5c07ff6f099ff66cafd7924b2ff4dd3f","bf034a18ed7e2a058f9e48c4c2480a124138fbd3586a80c77736a9ec079d12a8","f88758992a0bf13d095520aacd4381fb456ff121fb9aa184e6eb0eecb26cfadc","c249e9ae33bfcad97deec3c73c9ed2656e112fbdf22deace0b39724be6a5dcf0","d8b45924965c0c4fc0b946c0b6d597aa8d5de9cdf5c727e3d39422d17efec438","d07ea953cfea0c4bd11641912846bd955f4fd26ad2b7b8a279d69c7ab9cb3add","feddabf6ab0eb191e721f0126f3db8688db97c77a1234968bde7a2d70c4ae513","dbbda62ea5f4d1f8b40cc2b7e2e2fae424abbb4715a04a3659cb8b317f7b228b","cde0568b836865a24f4ee5859462004a326dfb76d514e6f56c8e78feedebed58","7f5cb3a03588ed46d52a6c2138315d930cd6ffb5c2134247cd07bc23cbea0b5a","7797f4c91491dcb0f21fa318fd8a1014990d5a72f8a32de2af06eb4d4476a3b5","f39fb20b83c3f9853c13d4ac95533760979d3023c0a5affe2c0a62d91ab3afd8","e4fca08aed8afb32bb8643d7469810bc8681115fe398e56a028df9e73b2d867f","2622639d24718ddfccc33a9a6daf5a2dd94d540ca41e3da00fe365d2c3f25db3","078966067552650f44ca96c68eddbb8539f30ee48a9ab3f24abdcf0a4037b535","2cd6250c43dba360377481c98d48db6ab1532a7527339edb0deffddc28ba66b1","7a9d600990fbe263a23daebed9ba1bbc5761e45679a7e2b2774a42756ef077a2","66bc155515fbea8c31a4efccbbac44de7c037b01f3aa00b76312cf7252725d30","5703288ddbfc4f7845cdbf80c6af17c8cde2a228757479796c2378b1662fcd48","0dfd353f0c16dd5107a7e0713dc52d0a2538293b0a0eac6000a017f9c0a60b56","9cd683a4663ef4d9c6486f1b8a34c73bdbc344d69490931bfe2fbcada12ab35b","42f6a409bad5259ece69df25d2b8ace2ff2ade45fe6386ee45203bdd9329f971","d3b1a8b87a5e77d70056325e137a0e04d984b991546fdd3c1034ff4102d603c4","2eb162efd6dba5972b9f8f85141d900d09da4fba23864f287f98f9890a05e95f","3f878fb5be9ebe8bd0ac5c22515d42b8b72d3745ef7617e73e9b2548ccbdf54b","e9ed562b7599c8c8c01595891480a30f9945a93a46456d22ee67ebf346b7538a","e7bf975a98cecefe2e8902fb7da9314675ecdce553aea722aaec97327668e18b","3d36f93648518338c875d9f77a8eab52905365483dbb3afe43ed68f1b712b67c","4fa54df9184d291bd78b36f5063372042cd995460e906cb14014e40d1442a326","b4e32bd5e3b493e4ea6b5ec69a4c02aa1fdaa78e1df9a863bb07604de8f9d123","f6bd1aa152ca2b5064e06282ee3137842ae6825b6b09aa89a2ff063b976a56f3","bce2390bb3a76f8bf2ba4397c66db5277bf3e698ee614347e5eb79d7fc0942c6","fbdc8d7cc7daf4101bf567512c67fb990d8fe300e0ba7f213171192177f44aa0","298e0da6d858e39fc0c1eebfa4f5c8af487868c6f2e98c3ef800537d402fb5c3","3b6457fb3866562d279377f923cf3758c80ed7bfcc19414b72a24d0a98188e0c","4fb5d7efb3520b92c1b767ce18968057c5e70886d7fb3416c487231df9275af9","df2303a61eb57b2717d17123e82bc0f3fd60f6e4673cb5506192dfe23c9480bf","b104960f4c5f807535ab43282356b2fe29c5d14a02035c623ac2012be3d5f76c","a35ca245eb852b70b20300546443abb1fcbac6e5066e4baaa092af4ea614d9b5","55da140feab55f10a538a9879a97c4be3df4934cbd679665c91a7263a86095e1","1a39e51e3362aec7d4edec9b317ff83916fe0471f86ddf2d3ef3af5952e87d9e","4b3f36b96f129a8e125c91d41a05f711e73b3285f80bceb3a1aecb13c97c4502","852779920fc4220bc42ec6d3c9b6164e23ea9371a788531b48b4005fe0cb4392","9a82e1b959524c1abfeeb024ee1a400234130a341f2b90a313ce4e37833b7dd2","515b97cede17d91c9669cc1c7fb7a8a5f0a5f2d8999f925a5f70b4ebea93723e","08e8e57241f874bdbf69ab2b65cb0ee18b4183d5c9452937da49b934fc679c4b","944af466f063d4bd090ab9d988c620b90a014e919d5f78963f6074a136ea225e","644addd4811636da491c9546654bc005ba8599f23df6d731d91eba86f3137fc2","a9249493114b181814728cbfeb7234738193a4169b654ec4705d48d7a4d25222","aad6f20d6eb01192ae02294361faa6e1f320d72447b56f433db853bbe80b15ca","876fbedec2f494eb6f834ce8636b07d581c657d205d81a3ba894eff0facc6b84","58527aa45f11c9b259a6a9d78b397f35020bfbb104f4d3bb177039b5c18146bd","91b8b61d45b5d22f3458a4ac82e03b464a0926bab795a920fe0eca805ec476eb","2744532f8fb960eb78497ac660db719f503a10c801f87131d26fd9cbef75dcef","6884287c54891ac19cfbe056f3ed29cab1732a00dec69bd3b140ce62c11783c6","abc3487041159734b8611d9d6fd85de6892f11ebe8c2583baedfc1f87c53757c","cb46657d3237f80742d5701ebcced8f6e5cf8938442354387d6c77d7048dfae6","76281a3b799bbd17ec8e6de7d2fa45ccf749049fd53f00857daf0dbc449616b8","661f322e45545a554e4ffc38db6c4068a66e1323baf66acb0d8a9fa28195a669","91d70dce48c2a2bb55f0b851cf1bdba4202f107f1e8fdf45f94ff6be4b8e8f99","ce978e20a6f26f606b535f0d6deb384ae6a73f8d0bd0dfca0925f5317cad1f25","f2d3567210ca4d559d8297d6c4402599c93e3bc7485054192d38db5e132fbc0a","887d8058aeeade45984fdb8696147078bc630d3fea15ab2b7baacde0fe281fb7","ad27aa59d346179ac449bd3077d245f213152879e4027356306ccf1722d61d51","ea546a7ed9eaa71ba78d4d392509dadea4bafed283269dd6c4b09e7d8824e986","4ec0f2a141a9ae7d3557b8efe630ac2021bc3a9ac61238b59293f4cf2f196e82","b2db743c71652e03c52d51445af58d0af3316231faa92b66018b29c7ba975f6c","0863a5876c85fbaffbb8ec8aeda8b5042deb6932616139706d2b82cde9d3f7c7","1294b8ecdd212362323f349dd83b5c94ea77bfee4dad24fc290980a3c8af6ce3","ba9c46725e2a0bd9df59d3a1e801cc60f90db3ef7817131c53945dce2b8c0c56","281d373eeabf80c4851f8de991e6abe4d385c30379d80897bbc3df3dcac99cee","624c5dce95672d9dcca40d9d9d82ef855f5f902292f43aa265cc8fd963c6ce84","8a48d9c6184992d1c3ed5daa55f83d708c37582916926a5555a900608f804b60","605dd288c636cf9b5317fe76dec75d3c7fb855fdcd3ee8cb4fea7d7091ca6fb4","95addea67857d4e568a02e429b15458cec203876b2ea5f5ea18ccfeeb91b8ce0","b5a615b0ad865ffa562980a10bda162ac1744fd363b4edc2cfc664222071cbcf","bbccd721363897950a55ce09529503f25a69522e5c91a22679b66e941e5f8654","d3a1e70795c38d7851b6e4f3b441c5ffdae171d6e2576a2204b7d79059aeea66","d7b8d41887c5fccfe19802c4336d34348b752abf0d98839575699d71deff60be","063fe3004728b8516a4d799ee16f9a71801ba24e0443dd98638cef1bd4353a7c","b8a0236f47d9037efdaf93da602415ae425dababe097fc92f83fd47ce9aaa69f","fab7912fc3ff45fce2f5d5febc9494c4d0a85d6c63fff68f21e4669c32eaacb9","f6c3fcb9d75d8aea778236fd9327ceb935b41865dbf3beac698be77e0ae9018d","b20bc124abd8ee572d0d756713ff987b116cdae908a6fcbc40e80d4b999f56b4","a599f3f450ad62c3fdc0c3fd25cddcc9332ffb44327087947d48914a8da81364","645dff895168aa82350c9aa60aa0b3621b84289fef043be842f45a9c6c0ac6e2","f068ff5b7fb3bdc5380e0c677e21de829bd25cdac63a9b083fdc220fcb225280","09d2fdca6ea6c135897a26976ad3c0db724adaf23ef4e38ad852b1d8efef1ae6","15de5b7739bf7e40213a200853bf78455ee5958af08eda786605a54a7f25ade6","f3acb439e08f0c2c78c712a876dc6c2080302c46916f1d63b7dbe509616ce9ae","37862e711637ebd927907a82cbf0143ea30e95eb165df554926c43936b1d77a9","89e253db2c2cc9a510c521f14dd2b1aae4de2556ee5159ad8d118d3587e3a880","3d0a172cee184a0f4111a7bd7fbb8729af3f54b30c06a2677d85c20ea9c811ab","d6a07e5e8dee6dc63c7ecd9c21756babf097e1537fbc91ddfec17328a063f65d","6fdc88b1287c276b55b7f7c4c7b49587813c763eea9751ce0baf0a7e61cd5d89","6a02443704052768bd021f24783aa104b02ae4444e9b735317bf13c6b857a11e","37987b0fe9800cf25473c882ce07bccdab2763c5681c1a2d16816aead46aa8d1","c84c03c721154068e1a60d83e9e85819bd3ef70b824ac2edc498aa31c06e5781","c23a403716784b53cf6ce9ffff9dcdb959b7cacdf115294a3377d96b6df1e161","c96fb6a0c1e879f95634ab0ff439cbb6fff6227b26bbf0153bef9ed0aabba60d","db936079fe6396aad9bf7ad0479ffc9220cec808a26a745baebb5f9e2ef9dbc7","06bc0b9cc7bf0b92534f1517fe5adde1f23f60cc6cc5c59f8e1c65db48a40067","919a753b0cbb12ccc606c62e2d34884d75a48ba19b1dda497c72621b11dac088","2c27e33ee0bf722988da00abd582cc9b806ce3fd9153a864800a339ad13f3fcf","92d7b3a5aa5dc872e54cbad2a7094b3ea4f72c7901de1d07b4c334ff658297f0","7a52922b38e9686d5bdc6e75774929eec6688d26c1dfe4a03ddec77ede468e87","aa5efca2833d89b55248f1889a6433dab1b1f41768e9a75f8ce35f9bf56c5ec4","3da085d344bf625767c5b1fcada31a5d94ebefc4e36bf18a676ca37460bc4e4e","006855ddea8674d084173a768f88519dc154be94eba5e2120262a33709832b9b","17dd843a266f99ca4b3a1257538bd1cc69dc5c7f2f23c3891f0430615b8c9c1c","5430364886c721a30475253356162b6c27871718094cb3e69e2bcea71a17e533","1218398da7c8dc4add10bdb3aa2856aad54b123d847eaf574d1d694ac269bfb5","189014f3213ee7457dbeea04dca10ca5d9ed2062cd39641aca5f3b4c75de9d99","b637cd92688a6cdf4f8f184ff529dc2bc7f15692828e2c0c66a60e6972f400c7","7061e83d6792897077bcac039fccf7325234004769f591c63a8cf8478bf551bb","7ab905865063322f2bba361d0f2ef93520f64a382bac13b127479860ad99f62e","277a358d61376fce7ac3392402909c96cf6a0a613146549fc0165ccff953e012","50614c808e099a1d4413786f3783d9eeaaa74b267f2c87fcf8a893287e91c301","f4cb6530f248e87cefa74ef623206fec805f6252f885f8e14ef3d1a5872cef2d","38c332caadd8391566552395d592076470a5e7423f70964620eabf05c02907cd","eb17b5bf1fc763a644c21d76572c0e41e351c3f6dfcde649428d5d829f7294d2","cb124162c87b29ff5121e3ee5bb29c782f101e0135d6c2644ab1b31d530a435e","406d6f5d3707c488362fb40d1c1f8a7b0a42b70554b427160185d93e430228f5","2e9776410c5bc290d9432a9215c67398a273e514a79b9e15f32ecddfde8a03be","313ff8df074b81d3e4f088ff3a3a06df3d9b0d0c7f55469ccc2ac887ecb6b867","c718475bca06806cc243e77777641cb67ba68f2c57321a4773ebb47760a3bcf2","96e6bf811343caab5112b68880905c5d20d9257054afac6c18e718a4c549ed27","a2793bc73ba63ca7d259cb0f0b61d0023820170d08a1f9715006c8042d060165","d5011b38165771fdf75a9a06d6d379a1fc7edd7eb695ebdc52319fb6e3c6d81f","88417fb19d339304e9616a38ea513251047c9e300c81f9467fc317df8a582e71","3e8e2d132f726dddbda57819f5391504e585cb3beab6b32203064e7e40618583","6e23627cd3f10418b5b2db102fdcf557b75f2837f266d88afac6b18f333bb1bc","866046dcea88f23d766a65487ee7870c4cf8285a4c75407c80a5c26ed250ef8d","019f4f1cbc781cc15c6173f8be5ef907405722194ab297127b3c3426e5368339","41f4413eac08210dfc1b1cdb5891ad08b05c79f5038bdf8c06e4aedaa85b943d","c79f1c8b51d8475dde8d2973f740f43ca34b1f0a95d93649cd76c1ee20abba19","35f0d2bd2c5c05c0cb19095bf5b7c44365b1c88efe6285370855b90417277a64","8264b129f4c4eb4799703f8e5ee2223a184d1cdbfc782158b1f40a88a4435a1f","527ddda6f8be1279f3294714534c49d6e90f238cea325519882ebf88d7ec5bd2","b23877792e8bd00271d0ec5d401b68e4228540a4316de3d9dfb697b955c161a4","35b2eb1de01633db90d41abe93730b29984856fcc840b4c2801bfd3761a2097b","95f0c9127b879c2fc7e31f8e09ff45bb4aae302e60f4b9ceaf4d9ee6bc51ec66","2a6b4655a6edce9e07c7d826848f72533c9991d40bc36e3f85558ad20e87ce2d","6e3d29fdc96ebbb2ac672d2dae710c689c1ea0d0e9469e0847616f3c38fd085f","d505055b8fadd42da235c85947911d8d198ad70c5f5775991e7821d4f89c90f5","8b5a5852099dca7d7e7a7cef6d681dc1586aafacdb963ca180fe5cabbfa3a24b","0d1aa3341d1ad2064adada71c5d01a2f572e4aac09410e5616d90894105a0eb9","52494ca5a884da3bf11b8165ab31429715f0970d9c6383240c5666f4bd713e01","162fafa2291749df2ab4516854aa781fcee1d9fca2ecd85fb48ae794c0700ce2","b4b9b51ee6f6309cda2e539245235a8caeca2b1d6bf12b5e5c162d17333c450f","d2ffe8356f060b88c1c5cf1fa874a4b779fb87fd1977084876e8be9eab6bf485","c76053984b39150d00ade365b096a8bc21a4a7f2ee9e0a926711b00f8e7bf701","956b510767e3d6f362ea5800510635197723737af5d19ae07ee987ea4a90bfa5","cd1a8ff61f5063d7e6e2094e25d35c90b499961b63911f2f4ae0ff5555c2b4d7","1cf09b5945779e9bc75c4dcd805fb149c28fc90da3335186ef620647a3c540e1","9cdc0b9a313090ec45b34ea1eb02fbace433f509e753634b043e9b83038261e6","c93474cff0088351a65d3cad24037874a26a5371a48528563e56efe31cb3d8bb","b4580df8ea7f62d7b06588001952bf69426e6b03cf3d2569f5f608e45f29ba08","de27f7bb9be9d8a2b4557ec6503b8a315f74d598ce9a0ab81b5ed5610e1a8e81","fe3c378dcefa7ed8b21bd6822f5d7838b1119836da75ae1e1fb485d27b8ffb62","7365bf3333d4277b6fe374ed055624e5ec080dbb919e2d78f1cb75a3f1a4b4f6","a5fbf3bc5c16ab5c84465ba7a043a4bee4c2b20bd3633d50d80118a3844edbaf","0923e4ac8c894ad507bd2daee0df66b699de88467201381ece011ba5a080e1ff","e4f6626f827ea509255647e1b6db82145a2eb1a6b46202655e7d9bb19145c33b","26e23972c40f378f0301d8d7025ea895557c2865a1a31c8ea9c3fff0dbc27075","bfddbff94132b423ad1d71bdbefb1d388c21a74ac1a8742df9324e5bf6109058","656424ca784760c679bf2677d8aaf55d1cb8452cd0ac04bbe1c0f659f45f8c11","0be1753924a848cf8df0be004518d84957a8539f6b01f1fad1ac639dc17586cb","e243f7d314cb8d05f393a5dc9904b3bcbd769ac082596402ab197df75bf582bf","5a7c95bcd09e90d7feb672686992187a310c37d5e30a1ddf3c39487c1aa74710","441ae3724070b80188b7bc48f66b96ca521d817e81836cdddb905cef6bbb4c8a","75c1851fd42fce32c4b066cc4666b158b44bb1cea3e88cc74a24ea2e5d1c5056","3901d2da5f2efb88bf7adf2cf609ac628469a6e00a57c241dff8068871239175","06af2a73111a13b52a270c1e74fd7dcccd1a9f1fdc3425bda9f8b45fa0c269cd","6abc96a8be012572275422560c525ed036b84fc6a798a90bd89d17c9810e2762","f71cbe1afd8376df3764bb980646b503353611b42534f1a1d44cb311bedab837","e9934689b2e167ba54f01b1225ff348055a8574ee7c907ef49b62c14102c6d26","0ecff30f6ee36ed2899ca0259e8bd018e9c627702d204256a436d76ac5991413","a353332b8d2de7ae57ab97b72ace1e8794e2907d3f907e04bff1a636ee93c826","505f2e4a22d30a66a1ffbc3f43ccc895e2ea3fcd92f9521797f25c354a87435d","60fef2f608d0ecaf124cb543ab18d835979a4841d38e5df9d64794ab51cd1352","cb8f5ffbf8bb06658a6ef27f1829c69238673b467a4881cac6a8247df73d94f3","9304e0b36cfdf03a7b7f972ac0b21ecd55e2cf5a5c0ce70754f8a47b55b6a90e","ab2265036d8a12bdd5454800b03966bf0e971be44fbd118f3aed3c1bd0124fc6","bbe08916928cbaca40a89cf36fc3c751ff3b32ab549b9f7e0b4fafcd0c3699d4","ab3f0217cbf698cadf45799bf224ade13e0b410d2cf76b0757b3f47349ff11a3","616ea4ff77f89fe59032df6f80ebdf5f40789419341de9b25d2946485c85ad05","5be8bcbad4956ad5a3b5839ed80104bc476c664247c8aa655d5bcd5c8bc183a9","4a5c803441d1ff74bb26073151636e3c6705fb3aac92124712533d4531839972","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true},"21bb8dda75eb025927e9d62d8fa619e349ebc5ba0b8b9dddd8fdfc9ff058e2b8","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","b8bc64f2a9515e7ba8b523260cf3b0a418eabfc556e5bee6fabd36b73f4789c2","5006668996956580886022c05108e32c742823e1b5652aff7914917233731518","3a9b877f47119ac64aab98c61cae91a304ddeb6e8285ccd824a6aa665ffaeb95","08755e6f581875b8d4e2cfed128b215b7400a3aa599604cdd3d5cbffe42854df","dcb9aa62f2662b999047096125adfa905cca0c988d7f5130e38ab41afeb96a3f","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"0e60e0cbf2283adfd5a15430ae548cd2f662d581b5da6ecd98220203e7067c70","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","ae9a5bd699c09e1c757b1badea3e6868fc5817c5b9729d3460f682c909482e34","e91ad231af87f864b3f07cd0e39b1cf6c133988156f087c1c3ccb0a5491c9115","cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","bf0b1297461549a0e32cd57dffb992c63d7c7134fe0f9e15d359abcc88dbd28c","2687308f5c2b9a7a6d71922d640923f89335ee54c3f5bf08b1a9709afe2a90fa","ccf18325b9b5a9bcfdbc52f44dbdea9b93fd47c9d411b4a617382c2cd7cec87e","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","a73a445c1e0a6d0f8b48e8eb22dc9d647896783a7f8991cbbc31c0d94bf1f5a2","93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142","2d17c0dd1d8b821c4e43c9b68ce0619c44f8aabd8fb050b2921048f0e6161b72","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"1c29793071152b207c01ea1954e343be9a44d85234447b2b236acae9e709a383","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"2ee51805c8a327f4d39c81a901e0f335b6872ec3381b222b9112d6038fa40179","affectsGlobalScope":true},"e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042","30688eab034d1aa3bbe4d8f2c7f462ddaec9f30f1a38a306a4728a9a06a58b11","e03334588c63840b7054accd0b90f29c5890db6a6555ac0869a78a23297f1396","c3052485f32a96bfde75a2976c1238995522584ba464f04ff16a8a40af5e50d1","c220410b8e956fa157ce4e5e6ac871f0f433aa120c334d906ff1f5e2c7369e95","960a68ced7820108787135bdae5265d2cc4b511b7dcfd5b8f213432a8483daf1","5e8db4872785292074b394d821ae2fc10e4f8edc597776368aebbe8aefb24422","2880728492d6a6baa55411d14cc42fa55714a24b1d1d27ff9a8a610abd47c761","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","3dce33e7eb25594863b8e615f14a45ab98190d85953436750644212d8a18c066","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","6eef5113135a0f2bbac8259909a5bbb7666bcde022c28f4ab95145623cbe1f72","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d","e5d49212b03abccc8df5098d379dc8350755b9ba53b515da4b1980494486ba78","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","31c502014e5ba046d5cb060136929b73fd53f0f989aa37b2b0424644cb0d93ef","76232dbb982272b182a76ad8745a9b02724dc9896e2328ce360e2c56c64c9778","6061aa83817c30d3a590f037b3cba22cdd809fbe697926d6511b45147928a342",{"version":"0609dda5350cd6d8c42daef710dffe3b51521ffbd00109e234f7bfb7533194e7","affectsGlobalScope":true},"fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","0f9f94b7caca60b16c514a8bf49a57dcded0d6abc74a4d210ce9c65dc3e04359","b3a0aa09f97a4f9716b424f2dc54b1680186defd8a8c08521fda12e47aa23c1d","8f0104c65272dba2fb78eb38c7718cbd162a7eb095112fc9a5b3d9081653ceac","52dbd8586a877a6269dd7082e6b4b792b8fc89c0a655cb82b85730969bc8b235","06fab790131435efcd395e72db60da8fe24822c49a2bbd1ccac75d8404b9caec","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","2fea9e03353d630c4644dc84b57cb36d666c725f3f37c1f60f8bc18bd9b38cdb","e3dc9302cbaba64212b443b0fea8f59454733a077f17528c13873dfe112752a5","2d5a33fcc690c375ede77d8c485f1a982f433be2bedf0bf43c172a710047d74d","ac78c2de46d5c3b988a3da4d34bc47d4506b2fa0a278046f94e34b0ff7b2e4ef","58c4efcc340056638dad7542333fc50d0109eb86e84b0618a9f20fe020e45e49","ea2d34766aa08df002a696e27d2140c0834cb8d7e9cb35687ecfd578253c196c","67483628398336d0f9368578a9514bd8cc823a4f3b3ab784f3942077e5047335","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01"],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5},"fileIdsList":[[91,665],[91],[91,232],[91,232,235],[91,242],[91,238],[91,238,239,240,241],[91,242,244],[91,242,243,245,246,247],[91,219],[91,226],[91,152,219],[91,219,228],[91,228,229,230],[91,219,224,225,227],[91,143,147,148],[91,143,146],[91,146],[91,147,149,151],[91,143,146,147,148,149,150],[91,143,146,150,154,155,156],[91,143,146,150,157],[91,143],[91,194],[91,143,144],[91,144,145],[91,171,172,173,174],[91,143,146,152,155,157,158],[91,197,198,199,200],[91,158],[91,143,158,163],[91,143,150,158],[91,143,158,166,167,168],[91,143,150,158,164],[91,153],[91,154,156,176,179,180],[91,154,156,180],[91,98,146,150,154,155,157,176],[91,154,180],[91,154,157,177],[91,146,155,157],[91,154,157,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191],[91,154,178],[91,98,178],[91,143,150,154,155,156,157,158,177],[91,154,156,176,178],[91,154,177,178],[91,207,208],[91,203,204],[91,143,203],[91,211,212,213],[91,143,157,158,163,164,165,169],[91,161,162],[91,160],[91,161],[91,527,529],[91,519,520,522],[91,520,522,523,529,530,531,532],[91,520,521,523],[91,525,528],[91,519],[91,527],[63,91,98,99,100,109],[91,99,100,110],[91,99],[91,98,109,111,112,113,117,120,121,122,124,125,126],[91,113,121,122,124,125,127],[91,98,109,111,113,114,115,120,122,125,127],[91,98],[91,98,109,124],[91,111,116,117,122],[91,111,121],[91,116,118,119],[91,98,111,121],[91,109,111,123],[91,98,111,122,127],[91,98,109,122],[91,98,109,112,117,120,121,125,127],[91,98,105],[52,91,98],[91,102,103,104,105,106,107,108],[91,98,103,104],[91,222],[91,134,219,221,222,253,663],[91,139,219,220],[91,223,253],[91,134,219,222,250,252,253,663],[91,256],[47,91,255,256,259],[66,91,98],[63,91],[91,665,666,667,668,669],[91,665,667],[66,91,98,672],[63,66,90,91,98,674,675,676],[91,679,680,681,682,683,684,685,686,687,688,689,690],[63,91,98],[91,691],[80,91,98],[66,91,98,672,698,705],[66,91],[53,91,98,716],[91,718],[91,721],[91,720],[91,524],[91,725,727],[91,724,725,726],[63,66,91,98,699,700],[91,673,700,701,704],[66,91,736],[80,91,98,731,732,733,734,735],[80,91,736],[63,91,736],[91,733],[64,91,98],[78,91,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949],[91,950],[91,930,931,950],[78,91,928,933,950],[78,91,934,935,950],[78,91,934,950],[78,91,928,934,950],[78,91,940,950],[78,91,950],[78,91,928],[91,933],[78,91],[91,952],[91,953],[91,958,963],[91,969],[63,66,67,71,77,90,91,98,664,696,698,706,738,739,968],[91,972,974,975,976,977,978,979,980,981,982,983,984],[91,972,973,975,976,977,978,979,980,981,982,983,984],[91,973,974,975,976,977,978,979,980,981,982,983,984],[91,972,973,974,976,977,978,979,980,981,982,983,984],[91,972,973,974,975,977,978,979,980,981,982,983,984],[91,972,973,974,975,976,978,979,980,981,982,983,984],[91,972,973,974,975,976,977,979,980,981,982,983,984],[91,972,973,974,975,976,977,978,980,981,982,983,984],[91,972,973,974,975,976,977,978,979,981,982,983,984],[91,972,973,974,975,976,977,978,979,980,982,983,984],[91,972,973,974,975,976,977,978,979,980,981,983,984],[91,972,973,974,975,976,977,978,979,980,981,982,984],[91,972,973,974,975,976,977,978,979,980,981,982,983],[91,715],[91,708,710,711,716],[91,709,712],[91,708,709],[91,710,712],[91,708,709,710,711,712,713,714],[91,708],[91,702],[91,703],[66,90,91,98,987,988],[63,68,80,91,98,993],[48,91],[51,91],[52,57,91],[53,63,64,71,80,90,91],[53,54,63,71,91],[55,91],[56,57,64,72,91],[57,80,87,91],[58,60,63,71,91],[59,91],[60,61,91],[62,63,91],[63,64,65,80,90,91],[63,64,65,80,91],[91,95],[66,71,80,90,91],[63,64,66,67,71,80,87,90,91],[66,68,80,87,90,91],[48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],[63,69,91],[70,90,91],[60,63,71,80,91],[72,91],[73,91],[51,74,91],[75,89,91,95],[76,91],[77,91],[63,78,91],[78,79,91,93],[63,80,81,82,91],[80,82,91],[80,81,91],[83,91],[84,91],[63,85,86,91],[85,86,91],[57,71,80,87,91],[88,91],[71,89,91],[52,66,77,90,91],[57,91],[80,91,92],[91,93],[91,94],[52,57,63,65,74,80,90,91,93,95],[80,91,96],[91,1004],[91,1004,1006],[91,1006,1007,1008,1009,1010],[91,1000,1001,1002,1003],[64,66,68,71,80,90,91,98,678,991,992],[66,80,91,98],[91,1015,1054],[91,1015,1039,1054],[91,1054],[91,1015],[91,1015,1040,1054],[91,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053],[91,1040,1054],[66,91,98,703],[91,232,234],[91,233],[52,64,66,80,91,98,697],[91,1057],[91,1066],[91,1062,1063,1065,1066],[91,1062,1063,1064,1065,1066,1067,1069,1070],[91,1063,1064,1065],[91,1062,1063,1066,1068,1071],[91,1063],[91,1060,1067],[63,66,68,71,80,87,90,91,96,98],[91,1076],[91,219,250],[91,231,237,248,249,251],[91,143,146,155,158,159,160,163,170,175,192,216,217],[91,218],[91,143,150,152,155,156,160,164,165,169,170,193,195,196,201,202,205,206,209,210,214,215],[91,538,539,545,546],[91,547,611,612],[91,538,545,547],[91,539,547],[91,538,540,541,542,545,547,550,551],[91,541,552,566,567],[91,538,545,550,551,552],[91,538,540,545,547,549,550,551],[91,538,539,550,551,552],[91,537,553,558,565,568,569,610,613,635],[91,538],[91,539,543,544],[91,539,543,544,545,546,548,559,560,561,562,563,564],[91,539,544,545],[91,539],[91,538,539,544,545,547,560],[91,545],[91,539,545,546],[91,543,545],[91,552,566],[91,538,540,541,542,545,550],[91,538,545,548,551],[91,541,549,550,551,554,555,556,557],[91,551],[91,538,540,545,547,549,551],[91,547,550],[91,547],[91,538,545,551],[91,539,545,550,561],[91,550,614],[91,547,551],[91,545,550],[91,550],[91,538,548],[91,538,545],[91,545,550,551],[91,570,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634],[91,550,551],[91,540,545],[91,538,545,549,550,551,563],[91,538,540,545,551],[91,538,540,545],[91,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609],[91,563,571],[91,571],[91,538,545,547,550,570,571],[91,538,545,547,549,550,551,563,570],[91,259],[47,91,256,258,259],[91,139,141],[91,139,140],[91,139],[91,98,128,130],[91,98,129],[47,91,256,259],[91,136,137],[46,91],[91,131,134,222,253,663],[47,91,132,133,134,135,138,222,253,256,259,663],[47,91,132,133,256,259],[91,956,959],[91,956,959,960,961],[91,958],[91,955,962],[91,518,519,527,533],[91,518,519,527,533,534,536,636],[91,518,519,527,533,534],[91,440,441,442,443,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517],[91,466],[91,466,479],[91,444,493],[91,494],[91,445,468],[91,468],[91,444],[91,497],[91,477],[91,444,485,493],[91,488],[91,490],[91,440],[91,460],[91,441,442,481],[91,501],[91,499],[91,445,446],[91,447],[91,458],[91,444,449],[91,503],[91,445],[91,497,506,509],[91,445,446,490],[91,957],[91,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,756,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,796,797,798,799,800,801,802,803,804,805,807,809,810,811,812,813,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,859,860,861,863,872,874,875,876,877,878,879,881,882,884,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927],[91,785],[91,741,744],[91,743],[91,743,744],[91,740,741,742,744],[91,741,743,744,901],[91,744],[91,740,743,785],[91,743,744,901],[91,743,909],[91,741,743,744],[91,753],[91,776],[91,797],[91,743,744,785],[91,744,792],[91,743,744,785,803],[91,743,744,803],[91,744,844],[91,744,785],[91,740,744,862],[91,740,744,863],[91,885],[91,869,871],[91,880],[91,869],[91,740,744,862,869,870],[91,862,863,871],[91,883],[91,740,744,869,870,871],[91,742,743,744],[91,740,744],[91,741,743,863,864,865,866],[91,785,863,864,865,866],[91,863,865],[91,743,864,865,867,868,872],[91,740,743],[91,744,887],[91,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,786,787,788,789,790,791,793,794,795,796,797,798,799,800,801,802,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860],[91,873],[91,526],[91,142,223,254,257,260],[91,192,216,219],[91,282],[91,143,219,264,278,284],[91,292],[91,219,278,279,284,287,288,290,291],[91,219,281],[91,278,279,282,283],[91,279,282,283,285,286],[91,278,280,282,283],[91,219,278,282,283,289],[91,278,280,283,284],[91,232,278,279,293,294,295,296,437,438],[91,278,295],[91,232,278,293,294,295,296,437,638],[91,295,535,637],[91,219,232,294,437],[91,219,232,280,294,437],[91,219,232,294,295,437],[91,232,278,280,284,293,294,295,437],[91,232,280,284,293,294,295,437],[91,232,264,280,284,293,294,295,437],[91,232,278,282,293,294,295,437],[91,232,278,280,293,294,295,437],[91,219,232,293,294,295,437],[91,232,280,293,294,437],[91,232,274,278,293,294,295],[91,232,264,280,293,294,295,437],[91,232,278,293,294,295,296,437],[91,219,232,264,280,293,294,295,437],[91,232,278,294,437],[91,232,278,293,294,437,660],[91,278,280,535,637],[91,232,278,280,293,294,437],[91,280,294],[91,301],[91,300],[91,299],[91,152,192,219,297],[91,298],[91,302],[91,304],[91,305,310],[91,306],[91,307,308],[91,309],[91,311],[91,192,219],[91,192,219,297],[91,313,314,315,316,317,318,319],[91,321,322,323,324,325,326,327],[91,320,328,330,335,339,365],[91,329],[91,331,332,333,334],[91,336,337,338],[91,343,344,345,346,347,348,349],[91,342,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364],[91,340,341],[91,370],[91,369],[91,368],[91,192,219,298],[91,367],[91,371],[91,373],[91,192,219,304],[91,374,379],[91,192,219,306],[91,375],[91,192,219,308],[91,376,377],[91,378],[91,380],[91,192,219,297,313],[91,382,383,384,385,386,387,388],[91,192,219,297,314],[91,192,219,297,315],[91,192,219,316],[91,192,219,317],[91,192,219,318],[91,192,219,297,319],[91,192,219,297,321],[91,192,219,297,322],[91,390,391,392,393,394,395,396],[91,192,219,297,323],[91,192,219,297,324],[91,192,219,297,325],[91,192,219,297,326],[91,192,219,297,327],[91,389,397,399,404,408,434],[91,398],[91,192,219,297,329],[91,192,219,331],[91,400,401,402,403],[91,192,219,297,332],[91,192,219,297,333],[91,192,219,297,334],[91,192,219,297,336],[91,405,406,407],[91,192,219,297,337],[91,192,219,297,338],[91,192,219,297,343],[91,192,219,297,344],[91,412,413,414,415,416,417,418],[91,192,219,297,345],[91,192,219,297,346],[91,192,219,297,347],[91,192,219,297,348],[91,192,219,297,349],[91,411,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433],[91,192,219,297,351],[91,192,219,297,352],[91,192,219,297,353],[91,192,219,297,354],[91,192,219,297,355],[91,192,219,297,356],[91,192,219,297,357],[91,192,219,297,358],[91,192,219,297,359],[91,192,219,297,360],[91,192,219,297,361],[91,192,219,297,362],[91,192,219,297,363],[91,192,219,297,340],[91,409,410],[91,192,219,297,341],[91,192,219,297,364],[91,372,381,435],[91,134,219,221,222,253,437],[91,298,303,304,306,308,312,313,314,315,316,317,318,319,321,322,323,324,325,326,327,329,331,332,333,334,336,337,338,340,341,343,344,345,346,347,348,349,351,352,353,354,355,356,357,358,359,360,361,362,363,364,366,367,373,375,377,382,383,384,385,386,387,388,390,391,392,393,394,395,396,398,400,401,402,403,405,406,407,409,410,412,413,414,415,416,417,418,420,421,422,423,424,425,426,427,428,429,430,431,432,433,436],[91,216],[91,263,267,269],[91,219,269,270],[91,219,263,268,270],[91,263,264,265,266],[91,264,267],[91,263,264,265,266,267,268,269,270,272,273,274,275,277],[91,276],[91,278],[91,263,269,271],[91,269],[91,262,278],[142,223,254,257,260],[192,219],[282],[219,264,278,284],[219,278,279,284,288],[219],[279,282],[278,280,282],[219,278,282],[278,284],[278],[534],[278,280,284],[301],[300],[299],[152,192,219,297],[298],[302],[304],[305,310],[306],[307,308],[309],[311],[192,219,297],[313,314,315,316,317,318,319],[321,322,323,324,325,326,327],[320,328,330,335,339,365],[329],[331,332,333,334],[336,337,338],[343,344,345,346,347,348,349],[342,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364],[340,341],[370],[369],[368],[192,219,298],[367],[371],[373],[192,219,304],[374,379],[192,219,306],[375],[192,219,308],[376,377],[378],[380],[192,219,297,313],[382,383,384,385,386,387,388],[192,219,297,314],[192,219,297,315],[192,219,316],[192,219,317],[192,219,318],[192,219,297,319],[192,219,297,321],[192,219,297,322],[390,391,392,393,394,395,396],[192,219,297,323],[192,219,297,324],[192,219,297,325],[192,219,297,326],[192,219,297,327],[389,397,399,404,408,434],[398],[192,219,297,329],[192,219,331],[400,401,402,403],[192,219,297,332],[192,219,297,333],[192,219,297,334],[192,219,297,336],[405,406,407],[192,219,297,337],[192,219,297,338],[192,219,297,343],[192,219,297,344],[412,413,414,415,416,417,418],[192,219,297,345],[192,219,297,346],[192,219,297,347],[192,219,297,348],[192,219,297,349],[411,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433],[192,219,297,351],[192,219,297,352],[192,219,297,353],[192,219,297,354],[192,219,297,355],[192,219,297,356],[192,219,297,357],[192,219,297,358],[192,219,297,359],[192,219,297,360],[192,219,297,361],[192,219,297,362],[192,219,297,363],[192,219,297,340],[409,410],[192,219,297,341],[192,219,297,364],[372,381,435],[298,303,304,306,308,312,313,314,315,316,317,318,319,321,322,323,324,325,326,327,329,331,332,333,334,336,337,338,340,341,343,344,345,346,347,348,349,351,352,353,354,355,356,357,358,359,360,361,362,363,364,366,367,373,375,377,382,383,384,385,386,387,388,390,391,392,393,394,395,396,398,400,401,402,403,405,406,407,409,410,412,413,414,415,416,417,418,420,421,422,423,424,425,426,427,428,429,430,431,432,433,436]],"referencedMap":[[667,1],[665,2],[237,3],[236,4],[243,5],[238,2],[239,6],[242,7],[240,6],[241,6],[245,8],[247,5],[248,9],[246,2],[226,10],[227,11],[249,12],[224,10],[230,2],[229,13],[231,14],[228,15],[149,16],[148,17],[147,18],[152,19],[151,20],[157,21],[158,22],[193,17],[194,23],[195,24],[196,23],[144,23],[145,25],[146,26],[143,2],[171,2],[172,18],[173,2],[175,27],[174,2],[159,28],[197,2],[201,29],[199,23],[198,2],[200,30],[164,31],[166,32],[169,33],[167,2],[168,34],[202,23],[160,2],[154,35],[153,2],[150,2],[181,36],[182,37],[177,38],[183,39],[184,40],[185,40],[176,41],[192,42],[187,36],[186,43],[188,44],[178,45],[189,39],[190,37],[180,46],[191,43],[179,47],[209,48],[207,2],[208,2],[210,23],[205,49],[204,50],[203,2],[165,23],[206,2],[211,23],[212,2],[214,51],[213,23],[155,17],[215,18],[170,52],[156,2],[163,53],[161,54],[162,55],[530,56],[523,57],[533,58],[522,59],[529,60],[520,61],[528,62],[532,2],[521,2],[531,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[39,2],[40,2],[35,2],[36,2],[37,2],[38,2],[8,2],[44,2],[41,2],[42,2],[43,2],[1,2],[45,2],[110,63],[99,2],[111,64],[100,65],[127,66],[113,2],[128,67],[121,68],[114,69],[125,70],[118,71],[116,72],[117,72],[120,73],[119,74],[124,75],[123,76],[115,2],[126,77],[122,78],[106,79],[103,69],[104,79],[102,80],[109,81],[108,2],[107,69],[105,82],[223,83],[222,84],[220,10],[221,85],[254,86],[253,87],[257,88],[256,89],[255,2],[664,90],[112,91],[670,92],[666,1],[668,93],[669,1],[671,69],[673,94],[677,95],[678,2],[296,3],[232,2],[679,2],[680,2],[681,2],[682,2],[683,2],[685,2],[691,96],[684,2],[689,2],[686,2],[687,2],[688,2],[690,2],[692,97],[693,98],[694,2],[695,99],[672,90],[696,2],[536,2],[697,2],[706,100],[707,101],[717,102],[718,2],[719,103],[720,2],[722,104],[723,105],[721,2],[525,106],[728,107],[724,2],[727,108],[725,2],[729,2],[701,109],[705,110],[730,99],[731,111],[735,2],[736,112],[732,113],[733,114],[734,115],[737,116],[738,2],[675,2],[739,2],[950,117],[930,118],[932,119],[931,118],[934,120],[936,121],[937,122],[938,123],[939,121],[940,122],[941,121],[942,124],[943,122],[944,121],[945,125],[946,118],[947,118],[948,126],[935,127],[949,128],[933,128],[951,2],[952,2],[953,129],[954,130],[964,131],[965,2],[726,2],[966,2],[967,2],[698,2],[970,132],[968,132],[969,133],[971,132],[973,134],[974,135],[972,136],[975,137],[976,138],[977,139],[978,140],[979,141],[980,142],[981,143],[982,144],[983,145],[984,146],[985,2],[986,2],[716,147],[712,148],[710,149],[713,150],[711,151],[715,152],[709,2],[714,153],[708,2],[703,154],[702,155],[244,116],[46,2],[524,2],[988,2],[989,156],[990,97],[994,157],[48,158],[49,158],[51,159],[52,160],[53,161],[54,162],[55,163],[56,164],[57,165],[58,166],[59,167],[60,168],[61,168],[62,169],[63,91],[64,170],[65,171],[50,172],[97,2],[66,173],[67,174],[68,175],[98,176],[69,177],[70,178],[71,179],[72,180],[73,181],[74,182],[75,183],[76,184],[77,185],[78,186],[79,187],[80,188],[82,189],[81,190],[83,191],[84,192],[85,193],[86,194],[87,195],[88,196],[89,197],[90,198],[91,199],[92,200],[93,201],[94,202],[95,203],[96,204],[995,2],[996,2],[997,69],[998,2],[999,99],[1000,2],[700,2],[699,2],[1005,205],[1010,2],[1007,206],[1011,207],[1009,205],[1006,205],[1008,206],[1001,2],[1004,208],[993,209],[991,210],[1012,69],[676,210],[1013,2],[1003,2],[1014,69],[1039,211],[1040,212],[1015,213],[1018,213],[1037,211],[1038,211],[1028,211],[1027,214],[1025,211],[1020,211],[1033,211],[1031,211],[1035,211],[1019,211],[1032,211],[1036,211],[1021,211],[1022,211],[1034,211],[1016,211],[1023,211],[1024,211],[1026,211],[1030,211],[1041,215],[1029,211],[1017,211],[1054,216],[1053,2],[1048,215],[1050,217],[1049,215],[1042,215],[1043,215],[1045,215],[1047,215],[1051,217],[1052,217],[1044,217],[1046,217],[704,218],[1055,90],[235,219],[234,220],[233,2],[1056,2],[1057,221],[1058,222],[929,99],[1059,2],[992,2],[1060,2],[1061,2],[1065,2],[1070,223],[1069,224],[1071,225],[1066,226],[1072,227],[1067,69],[1064,228],[1062,2],[1063,2],[1068,229],[1073,2],[1074,69],[1075,230],[1076,2],[1077,231],[101,2],[955,2],[1002,2],[250,2],[251,232],[252,233],[217,2],[218,234],[219,235],[216,236],[987,210],[225,101],[547,237],[613,238],[612,239],[611,240],[552,241],[568,242],[566,243],[567,244],[553,245],[636,246],[538,2],[540,2],[541,247],[542,2],[545,248],[548,2],[565,249],[543,2],[560,250],[546,251],[561,252],[564,253],[562,253],[559,254],[539,2],[544,2],[563,255],[569,256],[557,2],[551,257],[549,258],[558,259],[555,260],[554,260],[550,261],[556,262],[632,263],[626,264],[619,265],[618,266],[627,267],[628,253],[620,268],[633,269],[614,270],[615,271],[616,272],[635,273],[617,266],[621,269],[622,274],[629,275],[630,251],[631,274],[634,253],[623,272],[570,276],[624,277],[625,278],[610,279],[608,280],[609,280],[574,280],[575,280],[576,280],[577,280],[578,280],[579,280],[580,280],[581,280],[600,280],[582,280],[583,280],[584,280],[585,280],[586,280],[587,280],[607,280],[588,280],[589,280],[590,280],[605,280],[591,280],[606,280],[592,280],[603,280],[604,280],[593,280],[594,280],[595,280],[601,280],[602,280],[596,280],[597,280],[598,280],[599,280],[573,281],[572,282],[571,283],[537,2],[260,284],[259,285],[258,2],[142,286],[141,287],[140,288],[131,289],[130,290],[129,2],[294,288],[132,2],[136,291],[138,292],[137,2],[47,293],[135,294],[139,295],[133,97],[134,296],[519,2],[956,2],[960,297],[962,298],[961,297],[959,299],[963,300],[674,91],[534,301],[637,302],[535,303],[518,304],[467,305],[480,306],[442,2],[494,307],[496,308],[495,308],[469,309],[468,2],[470,310],[497,311],[501,312],[499,312],[478,313],[477,2],[486,311],[445,311],[473,2],[514,314],[489,315],[491,316],[509,311],[444,317],[461,318],[476,2],[511,2],[482,319],[498,312],[502,320],[500,321],[515,2],[484,2],[458,317],[450,2],[449,322],[474,311],[475,311],[448,323],[481,2],[443,2],[460,2],[488,2],[516,324],[455,311],[456,325],[503,308],[505,326],[504,326],[440,2],[459,2],[466,2],[457,311],[487,2],[454,2],[513,2],[453,2],[451,327],[452,2],[490,2],[483,2],[510,328],[464,322],[462,322],[463,322],[479,2],[446,2],[506,312],[508,320],[507,321],[493,2],[492,329],[485,2],[472,2],[512,2],[517,2],[441,2],[471,2],[465,2],[447,322],[958,330],[957,2],[928,331],[901,2],[879,332],[877,332],[927,333],[892,334],[891,334],[792,335],[743,336],[899,335],[900,335],[902,337],[903,335],[904,338],[803,339],[905,335],[876,335],[906,335],[907,340],[908,335],[909,334],[910,341],[911,335],[912,335],[913,335],[914,335],[915,334],[916,335],[917,335],[918,335],[919,335],[920,342],[921,335],[922,335],[923,335],[924,335],[925,335],[742,333],[745,338],[746,338],[747,335],[748,338],[749,338],[750,338],[751,338],[752,335],[754,343],[755,338],[753,338],[756,338],[757,338],[758,338],[759,338],[760,338],[761,338],[762,335],[763,338],[764,338],[765,338],[766,338],[767,338],[768,335],[769,338],[770,335],[771,338],[772,338],[773,338],[774,338],[775,335],[777,344],[776,338],[778,338],[779,338],[780,338],[781,338],[782,342],[783,335],[784,335],[798,345],[786,346],[787,338],[788,338],[789,335],[790,338],[791,338],[793,347],[794,338],[795,338],[796,338],[797,338],[799,338],[800,338],[801,338],[802,338],[804,348],[805,338],[806,338],[807,338],[808,335],[809,338],[810,349],[811,349],[812,349],[813,335],[814,338],[815,338],[816,338],[821,338],[817,338],[818,335],[819,338],[820,335],[822,335],[823,338],[824,338],[825,335],[826,335],[827,338],[828,335],[829,338],[830,338],[831,335],[832,338],[833,338],[834,338],[835,338],[836,338],[837,338],[838,338],[839,338],[840,338],[841,338],[842,338],[843,338],[844,338],[845,350],[846,338],[847,338],[848,338],[849,338],[850,338],[851,338],[852,335],[853,335],[854,335],[855,335],[856,335],[857,338],[858,338],[859,338],[860,338],[878,351],[926,335],[863,352],[862,353],[886,354],[885,355],[881,356],[880,355],[882,357],[871,358],[869,359],[884,360],[883,357],[870,69],[872,361],[785,362],[741,363],[740,338],[875,2],[867,364],[868,365],[865,2],[866,366],[864,338],[873,367],[744,368],[893,2],[894,2],[887,2],[890,334],[889,2],[895,2],[896,2],[888,369],[897,2],[898,2],[861,370],[874,371],[527,372],[526,91],[261,373],[289,2],[283,2],[281,374],[285,2],[286,375],[280,376],[293,377],[292,378],[282,379],[291,380],[287,381],[284,382],[290,383],[288,384],[439,385],[438,386],[639,387],[638,388],[640,389],[641,390],[642,391],[643,392],[644,393],[645,394],[646,395],[647,396],[648,397],[649,398],[650,392],[651,392],[652,399],[653,400],[654,394],[655,400],[656,401],[657,400],[658,402],[659,403],[661,404],[660,405],[662,406],[295,407],[302,408],[301,409],[300,410],[298,411],[299,412],[303,413],[305,414],[304,411],[311,415],[306,411],[307,416],[308,411],[309,417],[310,418],[312,419],[297,420],[313,421],[320,422],[314,421],[315,421],[316,411],[317,411],[318,411],[319,421],[321,411],[322,411],[328,423],[323,411],[324,411],[325,411],[326,411],[327,411],[366,424],[330,425],[329,421],[331,411],[335,426],[332,411],[333,411],[334,411],[336,421],[339,427],[337,411],[338,411],[343,411],[344,411],[350,428],[345,411],[346,411],[347,411],[348,411],[349,411],[365,429],[351,411],[352,411],[353,411],[354,411],[355,411],[356,411],[357,411],[358,411],[359,411],[360,411],[361,411],[362,411],[363,411],[340,411],[342,430],[341,411],[364,411],[371,431],[370,432],[369,433],[367,434],[368,435],[372,436],[374,437],[373,438],[380,439],[375,440],[376,441],[377,442],[378,443],[379,444],[381,445],[382,446],[389,447],[383,448],[384,449],[385,450],[386,451],[387,452],[388,453],[390,454],[391,455],[397,456],[392,457],[393,458],[394,459],[395,460],[396,461],[435,462],[399,463],[398,464],[400,465],[404,466],[401,467],[402,468],[403,469],[405,470],[408,471],[406,472],[407,473],[412,474],[413,475],[419,476],[414,477],[415,478],[416,479],[417,480],[418,481],[434,482],[420,483],[421,484],[422,485],[423,486],[424,487],[425,488],[426,489],[427,490],[428,491],[429,492],[430,493],[431,494],[432,495],[409,496],[411,497],[410,498],[433,499],[436,500],[663,501],[437,502],[262,2],[274,2],[263,2],[275,2],[264,503],[270,504],[268,505],[269,506],[267,507],[265,508],[266,508],[278,509],[277,510],[276,511],[272,512],[271,513],[273,10],[279,514]],"exportedModulesMap":[[667,1],[665,2],[237,3],[236,4],[243,5],[238,2],[239,6],[242,7],[240,6],[241,6],[245,8],[247,5],[248,9],[246,2],[226,10],[227,11],[249,12],[224,10],[230,2],[229,13],[231,14],[228,15],[149,16],[148,17],[147,18],[152,19],[151,20],[157,21],[158,22],[193,17],[194,23],[195,24],[196,23],[144,23],[145,25],[146,26],[143,2],[171,2],[172,18],[173,2],[175,27],[174,2],[159,28],[197,2],[201,29],[199,23],[198,2],[200,30],[164,31],[166,32],[169,33],[167,2],[168,34],[202,23],[160,2],[154,35],[153,2],[150,2],[181,36],[182,37],[177,38],[183,39],[184,40],[185,40],[176,41],[192,42],[187,36],[186,43],[188,44],[178,45],[189,39],[190,37],[180,46],[191,43],[179,47],[209,48],[207,2],[208,2],[210,23],[205,49],[204,50],[203,2],[165,23],[206,2],[211,23],[212,2],[214,51],[213,23],[155,17],[215,18],[170,52],[156,2],[163,53],[161,54],[162,55],[530,56],[523,57],[533,58],[522,59],[529,60],[520,61],[528,62],[532,2],[521,2],[531,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[39,2],[40,2],[35,2],[36,2],[37,2],[38,2],[8,2],[44,2],[41,2],[42,2],[43,2],[1,2],[45,2],[110,63],[99,2],[111,64],[100,65],[127,66],[113,2],[128,67],[121,68],[114,69],[125,70],[118,71],[116,72],[117,72],[120,73],[119,74],[124,75],[123,76],[115,2],[126,77],[122,78],[106,79],[103,69],[104,79],[102,80],[109,81],[108,2],[107,69],[105,82],[223,83],[222,84],[220,10],[221,85],[254,86],[253,87],[257,88],[256,89],[255,2],[664,90],[112,91],[670,92],[666,1],[668,93],[669,1],[671,69],[673,94],[677,95],[678,2],[296,3],[232,2],[679,2],[680,2],[681,2],[682,2],[683,2],[685,2],[691,96],[684,2],[689,2],[686,2],[687,2],[688,2],[690,2],[692,97],[693,98],[694,2],[695,99],[672,90],[696,2],[536,2],[697,2],[706,100],[707,101],[717,102],[718,2],[719,103],[720,2],[722,104],[723,105],[721,2],[525,106],[728,107],[724,2],[727,108],[725,2],[729,2],[701,109],[705,110],[730,99],[731,111],[735,2],[736,112],[732,113],[733,114],[734,115],[737,116],[738,2],[675,2],[739,2],[950,117],[930,118],[932,119],[931,118],[934,120],[936,121],[937,122],[938,123],[939,121],[940,122],[941,121],[942,124],[943,122],[944,121],[945,125],[946,118],[947,118],[948,126],[935,127],[949,128],[933,128],[951,2],[952,2],[953,129],[954,130],[964,131],[965,2],[726,2],[966,2],[967,2],[698,2],[970,132],[968,132],[969,133],[971,132],[973,134],[974,135],[972,136],[975,137],[976,138],[977,139],[978,140],[979,141],[980,142],[981,143],[982,144],[983,145],[984,146],[985,2],[986,2],[716,147],[712,148],[710,149],[713,150],[711,151],[715,152],[709,2],[714,153],[708,2],[703,154],[702,155],[244,116],[46,2],[524,2],[988,2],[989,156],[990,97],[994,157],[48,158],[49,158],[51,159],[52,160],[53,161],[54,162],[55,163],[56,164],[57,165],[58,166],[59,167],[60,168],[61,168],[62,169],[63,91],[64,170],[65,171],[50,172],[97,2],[66,173],[67,174],[68,175],[98,176],[69,177],[70,178],[71,179],[72,180],[73,181],[74,182],[75,183],[76,184],[77,185],[78,186],[79,187],[80,188],[82,189],[81,190],[83,191],[84,192],[85,193],[86,194],[87,195],[88,196],[89,197],[90,198],[91,199],[92,200],[93,201],[94,202],[95,203],[96,204],[995,2],[996,2],[997,69],[998,2],[999,99],[1000,2],[700,2],[699,2],[1005,205],[1010,2],[1007,206],[1011,207],[1009,205],[1006,205],[1008,206],[1001,2],[1004,208],[993,209],[991,210],[1012,69],[676,210],[1013,2],[1003,2],[1014,69],[1039,211],[1040,212],[1015,213],[1018,213],[1037,211],[1038,211],[1028,211],[1027,214],[1025,211],[1020,211],[1033,211],[1031,211],[1035,211],[1019,211],[1032,211],[1036,211],[1021,211],[1022,211],[1034,211],[1016,211],[1023,211],[1024,211],[1026,211],[1030,211],[1041,215],[1029,211],[1017,211],[1054,216],[1053,2],[1048,215],[1050,217],[1049,215],[1042,215],[1043,215],[1045,215],[1047,215],[1051,217],[1052,217],[1044,217],[1046,217],[704,218],[1055,90],[235,219],[234,220],[233,2],[1056,2],[1057,221],[1058,222],[929,99],[1059,2],[992,2],[1060,2],[1061,2],[1065,2],[1070,223],[1069,224],[1071,225],[1066,226],[1072,227],[1067,69],[1064,228],[1062,2],[1063,2],[1068,229],[1073,2],[1074,69],[1075,230],[1076,2],[1077,231],[101,2],[955,2],[1002,2],[250,2],[251,232],[252,233],[217,2],[218,234],[219,235],[216,236],[987,210],[225,101],[547,237],[613,238],[612,239],[611,240],[552,241],[568,242],[566,243],[567,244],[553,245],[636,246],[538,2],[540,2],[541,247],[542,2],[545,248],[548,2],[565,249],[543,2],[560,250],[546,251],[561,252],[564,253],[562,253],[559,254],[539,2],[544,2],[563,255],[569,256],[557,2],[551,257],[549,258],[558,259],[555,260],[554,260],[550,261],[556,262],[632,263],[626,264],[619,265],[618,266],[627,267],[628,253],[620,268],[633,269],[614,270],[615,271],[616,272],[635,273],[617,266],[621,269],[622,274],[629,275],[630,251],[631,274],[634,253],[623,272],[570,276],[624,277],[625,278],[610,279],[608,280],[609,280],[574,280],[575,280],[576,280],[577,280],[578,280],[579,280],[580,280],[581,280],[600,280],[582,280],[583,280],[584,280],[585,280],[586,280],[587,280],[607,280],[588,280],[589,280],[590,280],[605,280],[591,280],[606,280],[592,280],[603,280],[604,280],[593,280],[594,280],[595,280],[601,280],[602,280],[596,280],[597,280],[598,280],[599,280],[573,281],[572,282],[571,283],[537,2],[260,284],[259,285],[258,2],[142,286],[141,287],[140,288],[131,289],[130,290],[129,2],[294,288],[132,2],[136,291],[138,292],[137,2],[47,293],[135,294],[139,295],[133,97],[134,296],[519,2],[956,2],[960,297],[962,298],[961,297],[959,299],[963,300],[674,91],[534,301],[637,302],[535,303],[518,304],[467,305],[480,306],[442,2],[494,307],[496,308],[495,308],[469,309],[468,2],[470,310],[497,311],[501,312],[499,312],[478,313],[477,2],[486,311],[445,311],[473,2],[514,314],[489,315],[491,316],[509,311],[444,317],[461,318],[476,2],[511,2],[482,319],[498,312],[502,320],[500,321],[515,2],[484,2],[458,317],[450,2],[449,322],[474,311],[475,311],[448,323],[481,2],[443,2],[460,2],[488,2],[516,324],[455,311],[456,325],[503,308],[505,326],[504,326],[440,2],[459,2],[466,2],[457,311],[487,2],[454,2],[513,2],[453,2],[451,327],[452,2],[490,2],[483,2],[510,328],[464,322],[462,322],[463,322],[479,2],[446,2],[506,312],[508,320],[507,321],[493,2],[492,329],[485,2],[472,2],[512,2],[517,2],[441,2],[471,2],[465,2],[447,322],[958,330],[957,2],[928,331],[901,2],[879,332],[877,332],[927,333],[892,334],[891,334],[792,335],[743,336],[899,335],[900,335],[902,337],[903,335],[904,338],[803,339],[905,335],[876,335],[906,335],[907,340],[908,335],[909,334],[910,341],[911,335],[912,335],[913,335],[914,335],[915,334],[916,335],[917,335],[918,335],[919,335],[920,342],[921,335],[922,335],[923,335],[924,335],[925,335],[742,333],[745,338],[746,338],[747,335],[748,338],[749,338],[750,338],[751,338],[752,335],[754,343],[755,338],[753,338],[756,338],[757,338],[758,338],[759,338],[760,338],[761,338],[762,335],[763,338],[764,338],[765,338],[766,338],[767,338],[768,335],[769,338],[770,335],[771,338],[772,338],[773,338],[774,338],[775,335],[777,344],[776,338],[778,338],[779,338],[780,338],[781,338],[782,342],[783,335],[784,335],[798,345],[786,346],[787,338],[788,338],[789,335],[790,338],[791,338],[793,347],[794,338],[795,338],[796,338],[797,338],[799,338],[800,338],[801,338],[802,338],[804,348],[805,338],[806,338],[807,338],[808,335],[809,338],[810,349],[811,349],[812,349],[813,335],[814,338],[815,338],[816,338],[821,338],[817,338],[818,335],[819,338],[820,335],[822,335],[823,338],[824,338],[825,335],[826,335],[827,338],[828,335],[829,338],[830,338],[831,335],[832,338],[833,338],[834,338],[835,338],[836,338],[837,338],[838,338],[839,338],[840,338],[841,338],[842,338],[843,338],[844,338],[845,350],[846,338],[847,338],[848,338],[849,338],[850,338],[851,338],[852,335],[853,335],[854,335],[855,335],[856,335],[857,338],[858,338],[859,338],[860,338],[878,351],[926,335],[863,352],[862,353],[886,354],[885,355],[881,356],[880,355],[882,357],[871,358],[869,359],[884,360],[883,357],[870,69],[872,361],[785,362],[741,363],[740,338],[875,2],[867,364],[868,365],[865,2],[866,366],[864,338],[873,367],[744,368],[893,2],[894,2],[887,2],[890,334],[889,2],[895,2],[896,2],[888,369],[897,2],[898,2],[861,370],[874,371],[527,372],[526,91],[261,515],[289,2],[283,2],[281,516],[286,517],[280,518],[293,377],[292,519],[282,520],[291,521],[287,521],[284,522],[290,523],[288,524],[438,525],[638,526],[660,526],[295,527],[302,528],[301,529],[300,530],[298,531],[299,532],[303,533],[305,534],[304,531],[311,535],[306,531],[307,536],[308,531],[309,537],[310,538],[312,539],[297,516],[313,540],[320,541],[314,540],[315,540],[316,531],[317,531],[318,531],[319,540],[321,531],[322,531],[328,542],[323,531],[324,531],[325,531],[326,531],[327,531],[366,543],[330,544],[329,540],[331,531],[335,545],[332,531],[333,531],[334,531],[336,540],[339,546],[337,531],[338,531],[343,531],[344,531],[350,547],[345,531],[346,531],[347,531],[348,531],[349,531],[365,548],[351,531],[352,531],[353,531],[354,531],[355,531],[356,531],[357,531],[358,531],[359,531],[360,531],[361,531],[362,531],[363,531],[340,531],[342,549],[341,531],[364,531],[371,550],[370,551],[369,552],[367,553],[368,554],[372,555],[374,556],[373,557],[380,558],[375,559],[376,560],[377,561],[378,562],[379,563],[381,564],[382,565],[389,566],[383,567],[384,568],[385,569],[386,570],[387,571],[388,572],[390,573],[391,574],[397,575],[392,576],[393,577],[394,578],[395,579],[396,580],[435,581],[399,582],[398,583],[400,584],[404,585],[401,586],[402,587],[403,588],[405,589],[408,590],[406,591],[407,592],[412,593],[413,594],[419,595],[414,596],[415,597],[416,598],[417,599],[418,600],[434,601],[420,602],[421,603],[422,604],[423,605],[424,606],[425,607],[426,608],[427,609],[428,610],[429,611],[430,612],[431,613],[432,614],[409,615],[411,616],[410,617],[433,618],[436,619],[663,501],[437,620],[262,2],[274,2],[263,2],[275,2],[264,503],[270,504],[268,505],[269,506],[267,507],[265,508],[266,508],[278,509],[277,510],[276,511],[272,512],[271,513],[273,10],[279,514]],"semanticDiagnosticsPerFile":[667,665,237,236,243,238,239,242,240,241,245,247,248,246,226,227,249,224,230,229,231,228,149,148,147,152,151,157,158,193,194,195,196,144,145,146,143,171,172,173,175,174,159,197,201,199,198,200,164,166,169,167,168,202,160,154,153,150,181,182,177,183,184,185,176,192,187,186,188,178,189,190,180,191,179,209,207,208,210,205,204,203,165,206,211,212,214,213,155,215,170,156,163,161,162,530,523,533,522,529,520,528,532,521,531,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,34,39,40,35,36,37,38,8,44,41,42,43,1,45,110,99,111,100,127,113,128,121,114,125,118,116,117,120,119,124,123,115,126,122,106,103,104,102,109,108,107,105,223,222,220,221,254,253,257,256,255,664,112,670,666,668,669,671,673,677,678,296,232,679,680,681,682,683,685,691,684,689,686,687,688,690,692,693,694,695,672,696,536,697,706,707,717,718,719,720,722,723,721,525,728,724,727,725,729,701,705,730,731,735,736,732,733,734,737,738,675,739,950,930,932,931,934,936,937,938,939,940,941,942,943,944,945,946,947,948,935,949,933,951,952,953,954,964,965,726,966,967,698,970,968,969,971,973,974,972,975,976,977,978,979,980,981,982,983,984,985,986,716,712,710,713,711,715,709,714,708,703,702,244,46,524,988,989,990,994,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,50,97,66,67,68,98,69,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,995,996,997,998,999,1000,700,699,1005,1010,1007,1011,1009,1006,1008,1001,1004,993,991,1012,676,1013,1003,1014,1039,1040,1015,1018,1037,1038,1028,1027,1025,1020,1033,1031,1035,1019,1032,1036,1021,1022,1034,1016,1023,1024,1026,1030,1041,1029,1017,1054,1053,1048,1050,1049,1042,1043,1045,1047,1051,1052,1044,1046,704,1055,235,234,233,1056,1057,1058,929,1059,992,1060,1061,1065,1070,1069,1071,1066,1072,1067,1064,1062,1063,1068,1073,1074,1075,1076,1077,101,955,1002,250,251,252,217,218,219,216,987,225,547,613,612,611,552,568,566,567,553,636,538,540,541,542,545,548,565,543,560,546,561,564,562,559,539,544,563,569,557,551,549,558,555,554,550,556,632,626,619,618,627,628,620,633,614,615,616,635,617,621,622,629,630,631,634,623,570,624,625,610,608,609,574,575,576,577,578,579,580,581,600,582,583,584,585,586,587,607,588,589,590,605,591,606,592,603,604,593,594,595,601,602,596,597,598,599,573,572,571,537,260,259,258,142,141,140,131,130,129,294,132,136,138,137,47,135,139,133,134,519,956,960,962,961,959,963,674,534,637,535,518,467,480,442,494,496,495,469,468,470,497,501,499,478,477,486,445,473,514,489,491,509,444,461,476,511,482,498,502,500,515,484,458,450,449,474,475,448,481,443,460,488,516,455,456,503,505,504,440,459,466,457,487,454,513,453,451,452,490,483,510,464,462,463,479,446,506,508,507,493,492,485,472,512,517,441,471,465,447,958,957,928,901,879,877,927,892,891,792,743,899,900,902,903,904,803,905,876,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,742,745,746,747,748,749,750,751,752,754,755,753,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,777,776,778,779,780,781,782,783,784,798,786,787,788,789,790,791,793,794,795,796,797,799,800,801,802,804,805,806,807,808,809,810,811,812,813,814,815,816,821,817,818,819,820,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,878,926,863,862,886,885,881,880,882,871,869,884,883,870,872,785,741,740,875,867,868,865,866,864,873,744,893,894,887,890,889,895,896,888,897,898,861,874,527,526,261,289,283,281,285,286,280,293,292,282,291,287,284,290,288,439,438,639,638,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,661,660,662,295,302,301,300,298,299,303,305,304,311,306,307,308,309,310,312,297,313,320,314,315,316,317,318,319,321,322,328,323,324,325,326,327,366,330,329,331,335,332,333,334,336,339,337,338,343,344,350,345,346,347,348,349,365,351,352,353,354,355,356,357,358,359,360,361,362,363,340,342,341,364,371,370,369,367,368,372,374,373,380,375,376,377,378,379,381,382,389,383,384,385,386,387,388,390,391,397,392,393,394,395,396,435,399,398,400,404,401,402,403,405,408,406,407,412,413,419,414,415,416,417,418,434,420,421,422,423,424,425,426,427,428,429,430,431,432,409,411,410,433,436,663,437,262,274,263,275,264,270,268,269,267,265,266,278,277,276,272,271,273,279],"latestChangedDtsFile":"./test/simple-mock-numeric-wrapper/simple-mock-numeric.test.d.ts"},"version":"4.8.3"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts new file mode 100644 index 00000000..11d0df31 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts @@ -0,0 +1,3 @@ +import type * as src from "./src"; +export type { src }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts.map new file mode 100644 index 00000000..d0194803 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/@chainlink/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,GAAG,MAAM,OAAO,CAAC;AAClC,YAAY,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js.map new file mode 100644 index 00000000..771679ca --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/@chainlink/contracts/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts new file mode 100644 index 00000000..3a2acd44 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts @@ -0,0 +1,3 @@ +import type * as v08 from "./v0.8"; +export type { v08 }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts.map new file mode 100644 index 00000000..a51189b3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/@chainlink/contracts/src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,GAAG,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js.map new file mode 100644 index 00000000..16ad6603 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/@chainlink/contracts/src/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts new file mode 100644 index 00000000..2c1195f8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts @@ -0,0 +1,3 @@ +import type * as interfaces from "./interfaces"; +export type { interfaces }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts.map new file mode 100644 index 00000000..69292e52 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/@chainlink/contracts/src/v0.8/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,UAAU,MAAM,cAAc,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js.map new file mode 100644 index 00000000..f0dec7a0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/@chainlink/contracts/src/v0.8/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts new file mode 100644 index 00000000..a35b40c1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts @@ -0,0 +1,147 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../../../common"; +export interface AggregatorV3InterfaceInterface extends utils.Interface { + functions: { + "decimals()": FunctionFragment; + "description()": FunctionFragment; + "getRoundData(uint80)": FunctionFragment; + "latestRoundData()": FunctionFragment; + "version()": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "decimals" | "description" | "getRoundData" | "latestRoundData" | "version"): FunctionFragment; + encodeFunctionData(functionFragment: "decimals", values?: undefined): string; + encodeFunctionData(functionFragment: "description", values?: undefined): string; + encodeFunctionData(functionFragment: "getRoundData", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "latestRoundData", values?: undefined): string; + encodeFunctionData(functionFragment: "version", values?: undefined): string; + decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "description", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getRoundData", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "latestRoundData", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; + events: {}; +} +export interface AggregatorV3Interface extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: AggregatorV3InterfaceInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + decimals(overrides?: CallOverrides): Promise<[number]>; + description(overrides?: CallOverrides): Promise<[string]>; + getRoundData(_roundId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + latestRoundData(overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + version(overrides?: CallOverrides): Promise<[BigNumber]>; + }; + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + getRoundData(_roundId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + latestRoundData(overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + version(overrides?: CallOverrides): Promise; + callStatic: { + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + getRoundData(_roundId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + latestRoundData(overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + version(overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + getRoundData(_roundId: PromiseOrValue, overrides?: CallOverrides): Promise; + latestRoundData(overrides?: CallOverrides): Promise; + version(overrides?: CallOverrides): Promise; + }; + populateTransaction: { + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + getRoundData(_roundId: PromiseOrValue, overrides?: CallOverrides): Promise; + latestRoundData(overrides?: CallOverrides): Promise; + version(overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=AggregatorV3Interface.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts.map new file mode 100644 index 00000000..62e4740b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AggregatorV3Interface.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,8BAA+B,SAAQ,KAAK,CAAC,SAAS;IACrE,SAAS,EAAE;QACT,YAAY,EAAE,gBAAgB,CAAC;QAC/B,eAAe,EAAE,gBAAgB,CAAC;QAClC,sBAAsB,EAAE,gBAAgB,CAAC;QACzC,mBAAmB,EAAE,gBAAgB,CAAC;QACtC,WAAW,EAAE,gBAAgB,CAAC;KAC/B,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,UAAU,GACV,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,SAAS,GACZ,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AAO,CAAC,SAAS,CAAC,CAAC;QAE3D,YAAY,CACV,QAAQ,EAAE,cAAc,CAAC,YAAY,CAAC,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAE/D,OAAO,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;KACxD,CAAC;IAEF,mBAAmB,EAAE;QACnB,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEnE,WAAW,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEtE,YAAY,CACV,QAAQ,EAAE,cAAc,CAAC,YAAY,CAAC,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAE1E,OAAO,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;KACnE,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js new file mode 100644 index 00000000..1c094885 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=AggregatorV3Interface.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map new file mode 100644 index 00000000..67e46e9c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AggregatorV3Interface.js","sourceRoot":"","sources":["../../../../../../../typechain-types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts new file mode 100644 index 00000000..9b50b6e3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts @@ -0,0 +1,2 @@ +export type { AggregatorV3Interface } from "./AggregatorV3Interface"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map new file mode 100644 index 00000000..a038575c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js.map new file mode 100644 index 00000000..40f8e024 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain-types/@chainlink/contracts/src/v0.8/interfaces/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts new file mode 100644 index 00000000..d16eef53 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts @@ -0,0 +1,3 @@ +import type * as contracts from "./contracts"; +export type { contracts }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts.map new file mode 100644 index 00000000..467c9556 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../typechain-types/@chainlink/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,SAAS,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js.map new file mode 100644 index 00000000..deac5728 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@chainlink/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../typechain-types/@chainlink/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts new file mode 100644 index 00000000..03a2c1be --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts @@ -0,0 +1,90 @@ +import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface OwnableInterface extends utils.Interface { + functions: { + "owner()": FunctionFragment; + "renounceOwnership()": FunctionFragment; + "transferOwnership(address)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "owner" | "renounceOwnership" | "transferOwnership"): FunctionFragment; + encodeFunctionData(functionFragment: "owner", values?: undefined): string; + encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; + encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; + events: { + "OwnershipTransferred(address,address)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; +} +export interface OwnershipTransferredEventObject { + previousOwner: string; + newOwner: string; +} +export declare type OwnershipTransferredEvent = TypedEvent<[ + string, + string +], OwnershipTransferredEventObject>; +export declare type OwnershipTransferredEventFilter = TypedEventFilter; +export interface Ownable extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: OwnableInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + owner(overrides?: CallOverrides): Promise<[string]>; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: CallOverrides): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + OwnershipTransferred(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + }; + estimateGas: { + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=Ownable.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts.map new file mode 100644 index 00000000..1391c1c2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Ownable.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/@openzeppelin/contracts/access/Ownable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,SAAS;IACvD,SAAS,EAAE;QACT,SAAS,EAAE,gBAAgB,CAAC;QAC5B,qBAAqB,EAAE,gBAAgB,CAAC;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AAW,EAAE;QACX,KAAK,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAErD,iBAAiB,CACf,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,iBAAiB,CACf,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,EAChC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,KAAK,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEhE,iBAAiB,CACf,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,EAChC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js new file mode 100644 index 00000000..17f21629 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=Ownable.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js.map new file mode 100644 index 00000000..a18ef943 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/Ownable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Ownable.js","sourceRoot":"","sources":["../../../../../typechain-types/@openzeppelin/contracts/access/Ownable.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts new file mode 100644 index 00000000..a577bedd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts @@ -0,0 +1,2 @@ +export type { Ownable } from "./Ownable"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts.map new file mode 100644 index 00000000..277905b1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/@openzeppelin/contracts/access/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js.map new file mode 100644 index 00000000..2b94cb62 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/access/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/@openzeppelin/contracts/access/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts new file mode 100644 index 00000000..196028f3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts @@ -0,0 +1,5 @@ +import type * as access from "./access"; +export type { access }; +import type * as token from "./token"; +export type { token }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts.map new file mode 100644 index 00000000..1ad17bc1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/@openzeppelin/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,YAAY,EAAE,MAAM,EAAE,CAAC;AACvB,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,YAAY,EAAE,KAAK,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js.map new file mode 100644 index 00000000..9c0fbd1f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/@openzeppelin/contracts/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts new file mode 100644 index 00000000..06e6a05f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts @@ -0,0 +1,143 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../../common"; +export interface IERC20Interface extends utils.Interface { + functions: { + "allowance(address,address)": FunctionFragment; + "approve(address,uint256)": FunctionFragment; + "balanceOf(address)": FunctionFragment; + "totalSupply()": FunctionFragment; + "transfer(address,uint256)": FunctionFragment; + "transferFrom(address,address,uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "allowance" | "approve" | "balanceOf" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment; + encodeFunctionData(functionFragment: "allowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "approve", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; + encodeFunctionData(functionFragment: "transfer", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "transferFrom", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; + events: { + "Approval(address,address,uint256)": EventFragment; + "Transfer(address,address,uint256)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; + getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; +} +export interface ApprovalEventObject { + owner: string; + spender: string; + value: BigNumber; +} +export declare type ApprovalEvent = TypedEvent<[ + string, + string, + BigNumber +], ApprovalEventObject>; +export declare type ApprovalEventFilter = TypedEventFilter; +export interface TransferEventObject { + from: string; + to: string; + value: BigNumber; +} +export declare type TransferEvent = TypedEvent<[ + string, + string, + BigNumber +], TransferEventObject>; +export declare type TransferEventFilter = TypedEventFilter; +export interface IERC20 extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: IERC20Interface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "Approval(address,address,uint256)"(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + Approval(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + "Transfer(address,address,uint256)"(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + Transfer(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + }; + estimateGas: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=IERC20.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts.map new file mode 100644 index 00000000..05840ec1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20.d.ts","sourceRoot":"","sources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,cAAc,CAAC,YAAY,CAAC,EACpC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,YAAY,CACV,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,EAC5B,EAAE,EAAE,cAAc,CAAC,MAAM,CAAC,EAC1B,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EACpC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js new file mode 100644 index 00000000..36b0dfee --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=IERC20.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js.map new file mode 100644 index 00000000..67e9b7dd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20.js","sourceRoot":"","sources":["../../../../../../typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts new file mode 100644 index 00000000..59defb4b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts @@ -0,0 +1,167 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../../../common"; +export interface IERC20MetadataInterface extends utils.Interface { + functions: { + "allowance(address,address)": FunctionFragment; + "approve(address,uint256)": FunctionFragment; + "balanceOf(address)": FunctionFragment; + "decimals()": FunctionFragment; + "name()": FunctionFragment; + "symbol()": FunctionFragment; + "totalSupply()": FunctionFragment; + "transfer(address,uint256)": FunctionFragment; + "transferFrom(address,address,uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "allowance" | "approve" | "balanceOf" | "decimals" | "name" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment; + encodeFunctionData(functionFragment: "allowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "approve", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "decimals", values?: undefined): string; + encodeFunctionData(functionFragment: "name", values?: undefined): string; + encodeFunctionData(functionFragment: "symbol", values?: undefined): string; + encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; + encodeFunctionData(functionFragment: "transfer", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "transferFrom", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; + events: { + "Approval(address,address,uint256)": EventFragment; + "Transfer(address,address,uint256)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; + getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; +} +export interface ApprovalEventObject { + owner: string; + spender: string; + value: BigNumber; +} +export declare type ApprovalEvent = TypedEvent<[ + string, + string, + BigNumber +], ApprovalEventObject>; +export declare type ApprovalEventFilter = TypedEventFilter; +export interface TransferEventObject { + from: string; + to: string; + value: BigNumber; +} +export declare type TransferEvent = TypedEvent<[ + string, + string, + BigNumber +], TransferEventObject>; +export declare type TransferEventFilter = TypedEventFilter; +export interface IERC20Metadata extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: IERC20MetadataInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + decimals(overrides?: CallOverrides): Promise<[number]>; + name(overrides?: CallOverrides): Promise<[string]>; + symbol(overrides?: CallOverrides): Promise<[string]>; + totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "Approval(address,address,uint256)"(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + Approval(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + "Transfer(address,address,uint256)"(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + Transfer(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + }; + estimateGas: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(from: PromiseOrValue, to: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=IERC20Metadata.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts.map new file mode 100644 index 00000000..bdfc3b7e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20Metadata.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,SAAS;IAC9D,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,0BAA0B,EAAE,gBAAgB,CAAC;QAC7C,oBAAoB,EAAE,gBAAgB,CAAC;QACvC,YAAY,EAAE,gBAAgB,CAAC;QAC/B,QAAQ,EAAE,gBAAgB,CAAC;QAC3B,UAAU,EAAE,gBAAgB,CAAC;QAC7B,eAAe,EAAE,gBAAgB,CAAC;QAClC,2BAA2B,EAAE,gBAAgB,CAAC;QAC9C,uCAAuC,EAAE,gBAAgB,CAAC;KAC3D,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,WAAW,GACX,SAAS,GACT,WAAW,GACX,UAAU,GACV,MAAM,GACN,QAAQ,GACR,aAAa,GACb,UAAU,GACV,cAAc,GACjB,gBAAgB,CAAC;IAEpB,kBAAkB,CAChB,gBAAgB,EAAE,WAA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AAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js new file mode 100644 index 00000000..05c0b0e4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=IERC20Metadata.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js.map new file mode 100644 index 00000000..2308a540 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20Metadata.js","sourceRoot":"","sources":["../../../../../../../typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts new file mode 100644 index 00000000..163c80c1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts @@ -0,0 +1,2 @@ +export type { IERC20Metadata } from "./IERC20Metadata"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map new file mode 100644 index 00000000..114cb10f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js.map new file mode 100644 index 00000000..33fc8f81 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts new file mode 100644 index 00000000..4be658f6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts @@ -0,0 +1,4 @@ +import type * as extensions from "./extensions"; +export type { extensions }; +export type { IERC20 } from "./IERC20"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts.map new file mode 100644 index 00000000..9b54c956 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/@openzeppelin/contracts/token/ERC20/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,UAAU,MAAM,cAAc,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,CAAC;AAC3B,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js.map new file mode 100644 index 00000000..7790b7ad --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/ERC20/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/@openzeppelin/contracts/token/ERC20/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts new file mode 100644 index 00000000..59ec4dc8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts @@ -0,0 +1,3 @@ +import type * as erc20 from "./ERC20"; +export type { erc20 }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts.map new file mode 100644 index 00000000..45482761 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/@openzeppelin/contracts/token/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,YAAY,EAAE,KAAK,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js.map new file mode 100644 index 00000000..b876c698 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/contracts/token/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/@openzeppelin/contracts/token/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts new file mode 100644 index 00000000..d16eef53 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts @@ -0,0 +1,3 @@ +import type * as contracts from "./contracts"; +export type { contracts }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts.map new file mode 100644 index 00000000..a1f77c19 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../typechain-types/@openzeppelin/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,SAAS,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js.map new file mode 100644 index 00000000..633f9b89 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/@openzeppelin/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../typechain-types/@openzeppelin/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts new file mode 100644 index 00000000..81a7d63c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts @@ -0,0 +1,23 @@ +import type { Listener } from "@ethersproject/providers"; +import type { Event, EventFilter } from "ethers"; +export interface TypedEvent = any, TArgsObject = any> extends Event { + args: TArgsArray & TArgsObject; +} +export interface TypedEventFilter<_TEvent extends TypedEvent> extends EventFilter { +} +export interface TypedListener { + (...listenerArg: [...__TypechainArgsArray, TEvent]): void; +} +declare type __TypechainArgsArray = T extends TypedEvent ? U : never; +export interface OnEvent { + (eventFilter: TypedEventFilter, listener: TypedListener): TRes; + (eventName: string, listener: Listener): TRes; +} +export declare type MinEthersFactory = { + deploy(...a: ARGS[]): Promise; +}; +export declare type GetContractTypeFromFactory = F extends MinEthersFactory ? C : never; +export declare type GetARGsTypeFromFactory = F extends MinEthersFactory ? Parameters : never; +export declare type PromiseOrValue = T | Promise; +export {}; +//# sourceMappingURL=common.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts.map new file mode 100644 index 00000000..f0587cfb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/common.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../typechain-types/common.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,WAAW,UA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AAC,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/common.js b/lib/redstone-finance/evm-connector/dist/typechain-types/common.js new file mode 100644 index 00000000..023264ff --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/common.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=common.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/common.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/common.js.map new file mode 100644 index 00000000..b0664e80 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/common.js.map @@ -0,0 +1 @@ +{"version":3,"file":"common.js","sourceRoot":"","sources":["../../typechain-types/common.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts new file mode 100644 index 00000000..efe0720a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts @@ -0,0 +1,28 @@ +import type { BaseContract, Signer, utils } from "ethers"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common"; +export interface CalldataExtractorInterface extends utils.Interface { + functions: {}; + events: {}; +} +export interface CalldataExtractor extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: CalldataExtractorInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: {}; + callStatic: {}; + filters: {}; + estimateGas: {}; + populateTransaction: {}; +} +//# sourceMappingURL=CalldataExtractor.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts.map new file mode 100644 index 00000000..9dce1f2c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CalldataExtractor.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/CalldataExtractor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EAER,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CAAC,SAAS;IACjE,SAAS,EAAE,EAAE,CAAC;IAEd,MAAM,EAAE,EAAE,CAAC;CACZ;AAED,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5D,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B,SAAS,EAAE,0BAA0B,CAAC;IAEtC,WAAW,CAAC,MAAM,SAAS,UAAU,EACnC,KAAK,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAC/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1B,SAAS,CAAC,MAAM,SAAS,UAAU,EACjC,WAAW,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACrC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/C,kBAAkB,CAAC,MAAM,SAAS,UAAU,EAC1C,WAAW,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACpC,IAAI,CAAC;IACR,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,SAAS,EAAE,EAAE,CAAC;IAEd,UAAU,EAAE,EAAE,CAAC;IAEf,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE,EAAE,CAAC;IAEhB,mBAAmB,EAAE,EAAE,CAAC;CACzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js new file mode 100644 index 00000000..67c57fd0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=CalldataExtractor.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js.map new file mode 100644 index 00000000..ce6e3396 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/CalldataExtractor.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CalldataExtractor.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/CalldataExtractor.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts new file mode 100644 index 00000000..5619f8c9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts @@ -0,0 +1,28 @@ +import type { BaseContract, Signer, utils } from "ethers"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common"; +export interface ProxyConnectorInterface extends utils.Interface { + functions: {}; + events: {}; +} +export interface ProxyConnector extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: ProxyConnectorInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: {}; + callStatic: {}; + filters: {}; + estimateGas: {}; + populateTransaction: {}; +} +//# sourceMappingURL=ProxyConnector.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts.map new file mode 100644 index 00000000..e1fbb021 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ProxyConnector.d.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AC,GACpC,IAAI,CAAC;IACR,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,SAAS,EAAE,EAAE,CAAC;IAEd,UAAU,EAAE,EAAE,CAAC;IAEf,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE,EAAE,CAAC;IAEhB,mBAAmB,EAAE,EAAE,CAAC;CACzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js new file mode 100644 index 00000000..6279f803 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=ProxyConnector.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js.map new file mode 100644 index 00000000..0ca0640c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/ProxyConnector.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ProxyConnector.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/ProxyConnector.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts new file mode 100644 index 00000000..1d543ce2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts @@ -0,0 +1,28 @@ +import type { BaseContract, Signer, utils } from "ethers"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common"; +export interface RedstoneConstantsInterface extends utils.Interface { + functions: {}; + events: {}; +} +export interface RedstoneConstants extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RedstoneConstantsInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: {}; + callStatic: {}; + filters: {}; + estimateGas: {}; + populateTransaction: {}; +} +//# sourceMappingURL=RedstoneConstants.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts.map new file mode 100644 index 00000000..d4f910ad --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConstants.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConstants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EAER,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CA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AO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE,EAAE,CAAC;IAEhB,mBAAmB,EAAE,EAAE,CAAC;CACzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js new file mode 100644 index 00000000..b85a0297 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RedstoneConstants.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js.map new file mode 100644 index 00000000..7b48feb8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConstants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConstants.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConstants.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts new file mode 100644 index 00000000..7a38d7c5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface RedstoneConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface RedstoneConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RedstoneConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=RedstoneConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts.map new file mode 100644 index 00000000..07daa1f8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,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AAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js new file mode 100644 index 00000000..7f36dacf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RedstoneConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js.map new file mode 100644 index 00000000..38c11435 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts new file mode 100644 index 00000000..1ac84d01 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts @@ -0,0 +1,77 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface RedstoneConsumerBytesBaseInterface extends utils.Interface { + functions: { + "aggregateByteValues(uint256[])": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateByteValues" | "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateByteValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateByteValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface RedstoneConsumerBytesBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RedstoneConsumerBytesBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[string]>; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber] & { + pointerToResultBytesInMemory: BigNumber; + }>; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=RedstoneConsumerBytesBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts.map new file mode 100644 index 00000000..e6b05fdc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConsumerBytesBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,kCAAmC,SAAQ,KAAK,CAAC,SAAS;IACzE,SAAS,EAAE;QACT,gCAAgC,EAAE,gBAAgB,CAAC;QACnD,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,qBAAqB,GACrB,iBAAiB,GACjB,0BAA0B,GAC1B,2BAA2B,GAC3B,mBAAmB,GACtB,gBAAgB,CAAC;IAEpB,kBAAkB,CAChB,gBAAgB,EAAE,qBAAq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CAAC,CAAC;QAEjC,wBAAwB,CACtB,cAAc,EAAE,cAAc,CAAC,MAAM,CAAC,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js new file mode 100644 index 00000000..157ac342 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RedstoneConsumerBytesBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js.map new file mode 100644 index 00000000..0ab55191 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerBytesBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConsumerBytesBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts new file mode 100644 index 00000000..741290b7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface RedstoneConsumerNumericBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface RedstoneConsumerNumericBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RedstoneConsumerNumericBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(receivedSigner: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=RedstoneConsumerNumericBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts.map new file mode 100644 index 00000000..439f34ae --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConsumerNumericBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,oCAAqC,SAAQ,KAAK,CAAC,SAAS;IAC3E,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,iBAAiB,GACjB,0BAA0B,GAC1B,2BAA2B,GAC3B,mBAAmB,GACtB,gBAAgB,CAAC;IAEpB,kBAAkB,CAChB,gBAAgB,EAAE,iBAAiB,EACnC,MAAM,EAAE,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,CAAC,GACvC,MAAM,CAAC;IACV,kBAAkB,CAChB,gBAAgB,EAAE,0BAA0B,EAC5C,MAAM,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,GAC/B,MAAM,CAAC;IACV,kBAAkB,CAChB,gBA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,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,cAAc,EAAE,cAAc,CAAC,MAAM,CAAC,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js new file mode 100644 index 00000000..122f055d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RedstoneConsumerNumericBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js.map new file mode 100644 index 00000000..84721f95 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneConsumerNumericBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneConsumerNumericBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts new file mode 100644 index 00000000..a158b29b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts @@ -0,0 +1,28 @@ +import type { BaseContract, Signer, utils } from "ethers"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common"; +export interface RedstoneDefaultsLibInterface extends utils.Interface { + functions: {}; + events: {}; +} +export interface RedstoneDefaultsLib extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RedstoneDefaultsLibInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: {}; + callStatic: {}; + filters: {}; + estimateGas: {}; + populateTransaction: {}; +} +//# sourceMappingURL=RedstoneDefaultsLib.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts.map new file mode 100644 index 00000000..5d2a407a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneDefaultsLib.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneDefaultsLib.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;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CAAC,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,SAAS,EAAE,EAAE,CAAC;IAEd,UAAU,EAAE,EAAE,CAAC;IAEf,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE,EAAE,CAAC;IAEhB,mBAAmB,EAAE,EAAE,CAAC;CACzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js new file mode 100644 index 00000000..4681be01 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RedstoneDefaultsLib.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js.map new file mode 100644 index 00000000..38b57c2e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/RedstoneDefaultsLib.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneDefaultsLib.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/RedstoneDefaultsLib.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts new file mode 100644 index 00000000..5539fe31 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts @@ -0,0 +1,8 @@ +export type { CalldataExtractor } from "./CalldataExtractor"; +export type { ProxyConnector } from "./ProxyConnector"; +export type { RedstoneConstants } from "./RedstoneConstants"; +export type { RedstoneConsumerBase } from "./RedstoneConsumerBase"; +export type { RedstoneConsumerBytesBase } from "./RedstoneConsumerBytesBase"; +export type { RedstoneConsumerNumericBase } from "./RedstoneConsumerNumericBase"; +export type { RedstoneDefaultsLib } from "./RedstoneDefaultsLib"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts.map new file mode 100644 index 00000000..e601fcb5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js.map new file mode 100644 index 00000000..739c47f0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/core/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/core/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts new file mode 100644 index 00000000..d4814935 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface AvalancheDataServiceConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface AvalancheDataServiceConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: AvalancheDataServiceConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=AvalancheDataServiceConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts.map new file mode 100644 index 00000000..acc1fc20 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AvalancheDataServiceConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,yCACf,SAAQ,KAAK,CAAC,SAAS;IACvB,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAs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C,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,yBAAyB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js new file mode 100644 index 00000000..2d016b66 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=AvalancheDataServiceConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js.map new file mode 100644 index 00000000..5db62523 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AvalancheDataServiceConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/AvalancheDataServiceConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts new file mode 100644 index 00000000..d2a3b04b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface CustomUrlsConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface CustomUrlsConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: CustomUrlsConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=CustomUrlsConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts.map new file mode 100644 index 00000000..5f460bc5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomUrlsConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/CustomUrlsConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,+BAAgC,SAAQ,KAAK,CAAC,SAAS;IACtE,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,mCAAmC,EAAE,gBAAgB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AAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,yBAAyB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js new file mode 100644 index 00000000..2b6ac1be --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=CustomUrlsConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js.map new file mode 100644 index 00000000..63a7d5d7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/CustomUrlsConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomUrlsConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/CustomUrlsConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts new file mode 100644 index 00000000..b58bc7d9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface KydServiceConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface KydServiceConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: KydServiceConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=KydServiceConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts.map new file mode 100644 index 00000000..220dab14 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"KydServiceConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/KydServiceConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,+BAAgC,SAAQ,KAAK,CAAC,SAAS;IACtE,SAAS,EAAE;QACT,4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,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,yBAAyB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js new file mode 100644 index 00000000..e548f751 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=KydServiceConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js.map new file mode 100644 index 00000000..56755f8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/KydServiceConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"KydServiceConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/KydServiceConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts new file mode 100644 index 00000000..632934a8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface MainDemoConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface MainDemoConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: MainDemoConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=MainDemoConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts.map new file mode 100644 index 00000000..29ea3ad3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MainDemoConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/MainDemoConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,6BAA8B,SAAQ,KAAK,CAAC,S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,WAAW,EAAE;QACX,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,yBAAyB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js new file mode 100644 index 00000000..77a3b5d3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=MainDemoConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js.map new file mode 100644 index 00000000..0e2e41c4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/MainDemoConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MainDemoConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/MainDemoConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts new file mode 100644 index 00000000..ef45d82f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface RapidDemoConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface RapidDemoConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RapidDemoConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=RapidDemoConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts.map new file mode 100644 index 00000000..adbd714c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RapidDemoConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/RapidDemoConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;A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AClB,CAAC;IAEF,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE;QACX,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,yBAAyB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js new file mode 100644 index 00000000..92ff2cbe --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RapidDemoConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js.map new file mode 100644 index 00000000..fb5c7b59 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/RapidDemoConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RapidDemoConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/RapidDemoConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts new file mode 100644 index 00000000..1cd0480d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface StocksDemoConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface StocksDemoConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: StocksDemoConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=StocksDemoConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts.map new file mode 100644 index 00000000..955a47d1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StocksDemoConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/StocksDemoConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU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AS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,IAAI,CAAC,CAAC;KAClB,CAAC;IAEF,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE;QACX,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,yBAAyB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js new file mode 100644 index 00000000..ada77841 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=StocksDemoConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js.map new file mode 100644 index 00000000..7a43445c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/StocksDemoConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StocksDemoConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/StocksDemoConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts new file mode 100644 index 00000000..611cb439 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface TwapsDemoConsumerBaseInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface TwapsDemoConsumerBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: TwapsDemoConsumerBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=TwapsDemoConsumerBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts.map new file mode 100644 index 00000000..9f28498c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TwapsDemoConsumerBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/TwapsDemoConsumerBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAA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E,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,IAAI,CAAC,CAAC;KAClB,CAAC;IAEF,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE;QACX,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,yBAAyB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAEzE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js new file mode 100644 index 00000000..74eb9d5b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=TwapsDemoConsumerBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js.map new file mode 100644 index 00000000..4436406d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/TwapsDemoConsumerBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TwapsDemoConsumerBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/TwapsDemoConsumerBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts new file mode 100644 index 00000000..4189f1b4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts @@ -0,0 +1,8 @@ +export type { AvalancheDataServiceConsumerBase } from "./AvalancheDataServiceConsumerBase"; +export type { CustomUrlsConsumerBase } from "./CustomUrlsConsumerBase"; +export type { KydServiceConsumerBase } from "./KydServiceConsumerBase"; +export type { MainDemoConsumerBase } from "./MainDemoConsumerBase"; +export type { RapidDemoConsumerBase } from "./RapidDemoConsumerBase"; +export type { StocksDemoConsumerBase } from "./StocksDemoConsumerBase"; +export type { TwapsDemoConsumerBase } from "./TwapsDemoConsumerBase"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts.map new file mode 100644 index 00000000..eb60fe4f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js.map new file mode 100644 index 00000000..ccf4558c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/data-services/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/data-services/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts new file mode 100644 index 00000000..324d1ea8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts @@ -0,0 +1,13 @@ +import type * as core from "./core"; +export type { core }; +import type * as dataServices from "./data-services"; +export type { dataServices }; +import type * as libs from "./libs"; +export type { libs }; +import type * as mocks from "./mocks"; +export type { mocks }; +import type * as priceFeeds from "./price-feeds"; +export type { priceFeeds }; +import type * as samples from "./samples"; +export type { samples }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts.map new file mode 100644 index 00000000..a02ea397 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../typechain-types/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,IAAI,MAAM,QAAQ,CAAC;AACpC,YAAY,EAAE,IAAI,EAAE,CAAC;AACrB,OAAO,KAAK,KAAK,YAAY,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,YAAY,EAAE,CAAC;AAC7B,OAAO,KAAK,KAAK,IAAI,MAAM,QAAQ,CAAC;AACpC,YAAY,EAAE,IAAI,EAAE,CAAC;AACrB,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,YAAY,EAAE,KAAK,EAAE,CAAC;AACtB,OAAO,KAAK,KAAK,UAAU,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,CAAC;AAC3B,OAAO,KAAK,KAAK,OAAO,MAAM,WAAW,CAAC;AAC1C,YAAY,EAAE,OAAO,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js.map new file mode 100644 index 00000000..ca4a103c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../typechain-types/contracts/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts new file mode 100644 index 00000000..69240371 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts @@ -0,0 +1,28 @@ +import type { BaseContract, Signer, utils } from "ethers"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common"; +export interface NumericArrayLibInterface extends utils.Interface { + functions: {}; + events: {}; +} +export interface NumericArrayLib extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: NumericArrayLibInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: {}; + callStatic: {}; + filters: {}; + estimateGas: {}; + populateTransaction: {}; +} +//# sourceMappingURL=NumericArrayLib.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts.map new file mode 100644 index 00000000..932bed48 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"NumericArrayLib.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/libs/NumericArrayLib.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EAER,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,SAAS;IAC/D,SAAS,EAAE,EAAE,CAAC;IAEd,MAAM,EAAE,EAAE,CAAC;CACZ;AAED,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5D,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B,SAAS,EAAE,wBAAwB,CAAC;IAEpC,WAAW,CAAC,MAAM,SAAS,UAAU,EACnC,KAAK,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAC/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1B,SAAS,CAAC,MAAM,SAAS,UAAU,EACjC,WAAW,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACrC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/C,kBAAkB,CAAC,MAAM,SAAS,UAAU,EAC1C,WAAW,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACpC,IAAI,CAAC;IACR,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,SAAS,EAAE,EAAE,CAAC;IAEd,UAAU,EAAE,EAAE,CAAC;IAEf,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE,EAAE,CAAC;IAEhB,mBAAmB,EAAE,EAAE,CAAC;CACzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js new file mode 100644 index 00000000..6533f33e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=NumericArrayLib.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js.map new file mode 100644 index 00000000..379a103d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/NumericArrayLib.js.map @@ -0,0 +1 @@ +{"version":3,"file":"NumericArrayLib.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/libs/NumericArrayLib.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts new file mode 100644 index 00000000..7b52675a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts @@ -0,0 +1,2 @@ +export type { NumericArrayLib } from "./NumericArrayLib"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts.map new file mode 100644 index 00000000..e234e03f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/libs/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js.map new file mode 100644 index 00000000..d024fc95 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/libs/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/libs/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts new file mode 100644 index 00000000..47dc0a0c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts @@ -0,0 +1,59 @@ +import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface AuthorisedMockSignersBaseInterface extends utils.Interface { + functions: { + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex"): FunctionFragment; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + events: {}; +} +export interface AuthorisedMockSignersBase extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: AuthorisedMockSignersBaseInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + }; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=AuthorisedMockSignersBase.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts.map new file mode 100644 index 00000000..6746b1f2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AuthorisedMockSignersBase.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/AuthorisedMockSignersBase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,kCAAmC,SAAQ,KAAK,CAAC,SAAS;IACzE,SAAS,EAAE;QACT,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;KAC3D,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,sBAAsB,GACtB,mCAAmC,GACnC,8BAA8B,GACjC,gBAAgB,CAAC;IAEpB,kBAAkB,CAChB,gBAAgB,EAAE,sBAAsB,EACxC,MAAM,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,GAC/B,MAAM,CAAC;IACV,kBAAkB,CAChB,gBAAgB,EAAE,mCAAmC,EACrD,MAAM,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,GAC/B,MAAM,CAAC;IACV,kBAAkB,CAChB,gBAAgB,EAAE,8BAA8B,EAChD,MAAM,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC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CAAC;QAEnB,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC;IAEF,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE;QACX,oBAAoB,CAClB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,iCAAiC,CAC/B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,oBAAoB,CAClB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iCAAiC,CAC/B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js new file mode 100644 index 00000000..e0f733e6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=AuthorisedMockSignersBase.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js.map new file mode 100644 index 00000000..3e7a59a4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/AuthorisedMockSignersBase.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AuthorisedMockSignersBase.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/AuthorisedMockSignersBase.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts new file mode 100644 index 00000000..6a8b3039 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts @@ -0,0 +1,274 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface PriceFeedsManagerMockInterface extends utils.Interface { + functions: { + "addDataFeedIdAndUpdateValues(bytes32,uint256)": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getDataFeedsIds()": FunctionFragment; + "getLastRound()": FunctionFragment; + "getLastRoundParams()": FunctionFragment; + "getLastUpdateTimestamp()": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "getValueForDataFeed(bytes32)": FunctionFragment; + "getValueForDataFeedAndLastRoundParams(bytes32)": FunctionFragment; + "getValuesForDataFeeds(bytes32[])": FunctionFragment; + "lastRound()": FunctionFragment; + "lastUpdateTimestampMilliseconds()": FunctionFragment; + "owner()": FunctionFragment; + "renounceOwnership()": FunctionFragment; + "transferOwnership(address)": FunctionFragment; + "updateDataFeedValues(uint256,uint256)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "addDataFeedIdAndUpdateValues" | "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getDataFeedsIds" | "getLastRound" | "getLastRoundParams" | "getLastUpdateTimestamp" | "getUniqueSignersThreshold" | "getValueForDataFeed" | "getValueForDataFeedAndLastRoundParams" | "getValuesForDataFeeds" | "lastRound" | "lastUpdateTimestampMilliseconds" | "owner" | "renounceOwnership" | "transferOwnership" | "updateDataFeedValues" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "addDataFeedIdAndUpdateValues", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getDataFeedsIds", values?: undefined): string; + encodeFunctionData(functionFragment: "getLastRound", values?: undefined): string; + encodeFunctionData(functionFragment: "getLastRoundParams", values?: undefined): string; + encodeFunctionData(functionFragment: "getLastUpdateTimestamp", values?: undefined): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "getValueForDataFeed", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getValueForDataFeedAndLastRoundParams", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getValuesForDataFeeds", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "lastRound", values?: undefined): string; + encodeFunctionData(functionFragment: "lastUpdateTimestampMilliseconds", values?: undefined): string; + encodeFunctionData(functionFragment: "owner", values?: undefined): string; + encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; + encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "updateDataFeedValues", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "addDataFeedIdAndUpdateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getDataFeedsIds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getLastRound", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getLastRoundParams", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getLastUpdateTimestamp", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueForDataFeed", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueForDataFeedAndLastRoundParams", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValuesForDataFeeds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "lastRound", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "lastUpdateTimestampMilliseconds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "updateDataFeedValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: { + "OwnershipTransferred(address,address)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; +} +export interface OwnershipTransferredEventObject { + previousOwner: string; + newOwner: string; +} +export declare type OwnershipTransferredEvent = TypedEvent<[ + string, + string +], OwnershipTransferredEventObject>; +export declare type OwnershipTransferredEventFilter = TypedEventFilter; +export interface PriceFeedsManagerMock extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: PriceFeedsManagerMockInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getDataFeedsIds(overrides?: CallOverrides): Promise<[string[]]>; + getLastRound(overrides?: CallOverrides): Promise<[BigNumber]>; + getLastRoundParams(overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise<[BigNumber]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber + ] & { + dataFeedValue: BigNumber; + lastRoundNumber: BigNumber; + lastUpdateTimestampInMilliseconds: BigNumber; + }>; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; + lastRound(overrides?: CallOverrides): Promise<[BigNumber]>; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise<[BigNumber]>; + owner(overrides?: CallOverrides): Promise<[string]>; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber + ] & { + dataFeedValue: BigNumber; + lastRoundNumber: BigNumber; + lastUpdateTimestampInMilliseconds: BigNumber; + }>; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: CallOverrides): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber + ] & { + dataFeedValue: BigNumber; + lastRoundNumber: BigNumber; + lastUpdateTimestampInMilliseconds: BigNumber; + }>; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: CallOverrides): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: CallOverrides): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + OwnershipTransferred(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + }; + estimateGas: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=PriceFeedsManagerMock.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts.map new file mode 100644 index 00000000..ce2347b7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManagerMock.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/PriceFeedsManagerMock.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB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cAAc,CAAC,SAAS,CAAC,EAAE,EAClD,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,SAAS,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEpE,+BAA+B,CAC7B,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,KAAK,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEhE,iBAAiB,CACf,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,EAChC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,aAAa,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3C,iBAAiB,EAAE,cAAc,CAAC,YAAY,CAAC,EAC/C,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js new file mode 100644 index 00000000..18eaa1e6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=PriceFeedsManagerMock.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js.map new file mode 100644 index 00000000..443b5d36 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/PriceFeedsManagerMock.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManagerMock.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/PriceFeedsManagerMock.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts new file mode 100644 index 00000000..80a4cc37 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts @@ -0,0 +1,101 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface RedstoneConsumerBytesMockInterface extends utils.Interface { + functions: { + "aggregateByteValues(uint256[])": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateByteValues" | "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateByteValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateByteValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface RedstoneConsumerBytesMock extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RedstoneConsumerBytesMockInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[string]>; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber] & { + pointerToResultBytesInMemory: BigNumber; + }>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=RedstoneConsumerBytesMock.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts.map new file mode 100644 index 00000000..f6fc70eb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesMock.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/RedstoneConsumerBytesMock.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,kCAAmC,SAAQ,KAAK,CAAC,SAAS;IACzE,SAAS,EAAE;QACT,gCAAgC,EAAE,gBAAgB,CAAC;QACnD,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;QAC1D,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,mCAAmC,GACnC,8BAA8B,GAC9B,0BAA0B,G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BAAoB,CAAC,CAAC;QAEjC,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js new file mode 100644 index 00000000..18b1ce0a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RedstoneConsumerBytesMock.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js.map new file mode 100644 index 00000000..fd3c7fe6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerBytesMock.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesMock.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/RedstoneConsumerBytesMock.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts new file mode 100644 index 00000000..362906a2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts @@ -0,0 +1,91 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface RedstoneConsumerNumericMockInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface RedstoneConsumerNumericMock extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: RedstoneConsumerNumericMockInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=RedstoneConsumerNumericMock.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts.map new file mode 100644 index 00000000..fbbfdaa4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericMock.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/RedstoneConsumerNumericMock.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,oCAAqC,SAAQ,KAAK,CAAC,SAAS;IAC3E,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;QAC1D,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4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GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iCAAiC,CAC/B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js new file mode 100644 index 00000000..a43a19c0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=RedstoneConsumerNumericMock.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js.map new file mode 100644 index 00000000..2d760587 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/RedstoneConsumerNumericMock.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericMock.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/RedstoneConsumerNumericMock.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts new file mode 100644 index 00000000..92b9fd50 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts @@ -0,0 +1,5 @@ +export type { AuthorisedMockSignersBase } from "./AuthorisedMockSignersBase"; +export type { PriceFeedsManagerMock } from "./PriceFeedsManagerMock"; +export type { RedstoneConsumerBytesMock } from "./RedstoneConsumerBytesMock"; +export type { RedstoneConsumerNumericMock } from "./RedstoneConsumerNumericMock"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts.map new file mode 100644 index 00000000..d0832125 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,YAAY,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js.map new file mode 100644 index 00000000..f8649a55 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/mocks/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/mocks/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts new file mode 100644 index 00000000..71f7388f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts @@ -0,0 +1,28 @@ +import type { BaseContract, Signer, utils } from "ethers"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common"; +export interface CustomErrorsInterface extends utils.Interface { + functions: {}; + events: {}; +} +export interface CustomErrors extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: CustomErrorsInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: {}; + callStatic: {}; + filters: {}; + estimateGas: {}; + populateTransaction: {}; +} +//# sourceMappingURL=CustomErrors.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts.map new file mode 100644 index 00000000..0eb3a0d1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomErrors.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/CustomErrors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EAER,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,SAAS;IAC5D,SAAS,EAAE,EAAE,CAAC;IAEd,MAAM,EAAE,EAAE,CAAC;CACZ;AAED,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5D,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B,SAAS,EAAE,qBAAqB,CAAC;IAEjC,WAAW,CAAC,MAAM,SAAS,UAAU,EACnC,KAAK,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAC/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1B,SAAS,CAAC,MAAM,SAAS,UAAU,EACjC,WAAW,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACrC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/C,kBAAkB,CAAC,MAAM,SAAS,UAAU,EAC1C,WAAW,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACpC,IAAI,CAAC;IACR,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,SAAS,EAAE,EAAE,CAAC;IAEd,UAAU,EAAE,EAAE,CAAC;IAEf,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE,EAAE,CAAC;IAEhB,mBAAmB,EAAE,EAAE,CAAC;CACzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js new file mode 100644 index 00000000..adff03aa --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=CustomErrors.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js.map new file mode 100644 index 00000000..46702020 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/CustomErrors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomErrors.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/CustomErrors.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts new file mode 100644 index 00000000..ba7cd292 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts @@ -0,0 +1,135 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface PriceFeedInterface extends utils.Interface { + functions: { + "dataFeedId()": FunctionFragment; + "decimals()": FunctionFragment; + "description()": FunctionFragment; + "descriptionText()": FunctionFragment; + "getDataFeedId()": FunctionFragment; + "getRoundData(uint80)": FunctionFragment; + "latestRoundData()": FunctionFragment; + "version()": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "dataFeedId" | "decimals" | "description" | "descriptionText" | "getDataFeedId" | "getRoundData" | "latestRoundData" | "version"): FunctionFragment; + encodeFunctionData(functionFragment: "dataFeedId", values?: undefined): string; + encodeFunctionData(functionFragment: "decimals", values?: undefined): string; + encodeFunctionData(functionFragment: "description", values?: undefined): string; + encodeFunctionData(functionFragment: "descriptionText", values?: undefined): string; + encodeFunctionData(functionFragment: "getDataFeedId", values?: undefined): string; + encodeFunctionData(functionFragment: "getRoundData", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "latestRoundData", values?: undefined): string; + encodeFunctionData(functionFragment: "version", values?: undefined): string; + decodeFunctionResult(functionFragment: "dataFeedId", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "description", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "descriptionText", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getDataFeedId", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getRoundData", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "latestRoundData", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; + events: {}; +} +export interface PriceFeed extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: PriceFeedInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + dataFeedId(overrides?: CallOverrides): Promise<[string]>; + decimals(overrides?: CallOverrides): Promise<[number]>; + description(overrides?: CallOverrides): Promise<[string]>; + descriptionText(overrides?: CallOverrides): Promise<[string]>; + getDataFeedId(overrides?: CallOverrides): Promise<[string]>; + getRoundData(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber]>; + latestRoundData(overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + version(overrides?: CallOverrides): Promise<[BigNumber]>; + }; + dataFeedId(overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + descriptionText(overrides?: CallOverrides): Promise; + getDataFeedId(overrides?: CallOverrides): Promise; + getRoundData(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber]>; + latestRoundData(overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + version(overrides?: CallOverrides): Promise; + callStatic: { + dataFeedId(overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + descriptionText(overrides?: CallOverrides): Promise; + getDataFeedId(overrides?: CallOverrides): Promise; + getRoundData(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber]>; + latestRoundData(overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber, + BigNumber, + BigNumber + ] & { + roundId: BigNumber; + answer: BigNumber; + startedAt: BigNumber; + updatedAt: BigNumber; + answeredInRound: BigNumber; + }>; + version(overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + dataFeedId(overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + descriptionText(overrides?: CallOverrides): Promise; + getDataFeedId(overrides?: CallOverrides): Promise; + getRoundData(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + latestRoundData(overrides?: CallOverrides): Promise; + version(overrides?: CallOverrides): Promise; + }; + populateTransaction: { + dataFeedId(overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + description(overrides?: CallOverrides): Promise; + descriptionText(overrides?: CallOverrides): Promise; + getDataFeedId(overrides?: CallOverrides): Promise; + getRoundData(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + latestRoundData(overrides?: CallOverrides): Promise; + version(overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=PriceFeed.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts.map new file mode 100644 index 00000000..1fdc96de --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeed.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/PriceFeed.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,SAAS;IACzD,SAAS,EAAE;QACT,cAAc,EAAE,gBAAgB,CAAC;QACjC,YAAY,EAAE,gBAAgB,CAAC;QAC/B,eAAe,EAAE,gBAAgB,CAAC;QAClC,mBAAmB,EAAE,gBAAgB,CAAC;QACtC,iBAAiB,EAAE,gBAAgB,CAAC;QACpC,sBAAsB,EAAE,gBAAgB,CAAC;QACzC,mBAAmB,EAAE,gBAAgB,CAAC;QACtC,WAAW,EAAE,gBAAgB,CAAC;KAC/B,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,YA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OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAE/D,OAAO,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;KACxD,CAAC;IAEF,mBAAmB,EAAE;QACnB,UAAU,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAErE,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEnE,WAAW,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEtE,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAE1E,aAAa,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAExE,YAAY,CACV,IAAI,EAAE,cAAc,CAAC,YAAY,CAAC,EAClC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAE1E,OAAO,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;KACnE,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js new file mode 100644 index 00000000..75d73a35 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=PriceFeed.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js.map new file mode 100644 index 00000000..61054c20 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeed.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeed.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/PriceFeed.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts new file mode 100644 index 00000000..ecd50a60 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts @@ -0,0 +1,250 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface PriceFeedsManagerInterface extends utils.Interface { + functions: { + "addDataFeedIdAndUpdateValues(bytes32,uint256)": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getDataFeedsIds()": FunctionFragment; + "getLastRound()": FunctionFragment; + "getLastRoundParams()": FunctionFragment; + "getLastUpdateTimestamp()": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "getValueForDataFeed(bytes32)": FunctionFragment; + "getValueForDataFeedAndLastRoundParams(bytes32)": FunctionFragment; + "getValuesForDataFeeds(bytes32[])": FunctionFragment; + "lastRound()": FunctionFragment; + "lastUpdateTimestampMilliseconds()": FunctionFragment; + "owner()": FunctionFragment; + "renounceOwnership()": FunctionFragment; + "transferOwnership(address)": FunctionFragment; + "updateDataFeedValues(uint256,uint256)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "addDataFeedIdAndUpdateValues" | "aggregateValues" | "getAuthorisedSignerIndex" | "getDataFeedsIds" | "getLastRound" | "getLastRoundParams" | "getLastUpdateTimestamp" | "getUniqueSignersThreshold" | "getValueForDataFeed" | "getValueForDataFeedAndLastRoundParams" | "getValuesForDataFeeds" | "lastRound" | "lastUpdateTimestampMilliseconds" | "owner" | "renounceOwnership" | "transferOwnership" | "updateDataFeedValues" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "addDataFeedIdAndUpdateValues", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getDataFeedsIds", values?: undefined): string; + encodeFunctionData(functionFragment: "getLastRound", values?: undefined): string; + encodeFunctionData(functionFragment: "getLastRoundParams", values?: undefined): string; + encodeFunctionData(functionFragment: "getLastUpdateTimestamp", values?: undefined): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "getValueForDataFeed", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getValueForDataFeedAndLastRoundParams", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getValuesForDataFeeds", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "lastRound", values?: undefined): string; + encodeFunctionData(functionFragment: "lastUpdateTimestampMilliseconds", values?: undefined): string; + encodeFunctionData(functionFragment: "owner", values?: undefined): string; + encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; + encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "updateDataFeedValues", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "addDataFeedIdAndUpdateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getDataFeedsIds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getLastRound", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getLastRoundParams", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getLastUpdateTimestamp", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueForDataFeed", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueForDataFeedAndLastRoundParams", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValuesForDataFeeds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "lastRound", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "lastUpdateTimestampMilliseconds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "updateDataFeedValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: { + "OwnershipTransferred(address,address)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; +} +export interface OwnershipTransferredEventObject { + previousOwner: string; + newOwner: string; +} +export declare type OwnershipTransferredEvent = TypedEvent<[ + string, + string +], OwnershipTransferredEventObject>; +export declare type OwnershipTransferredEventFilter = TypedEventFilter; +export interface PriceFeedsManager extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: PriceFeedsManagerInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getDataFeedsIds(overrides?: CallOverrides): Promise<[string[]]>; + getLastRound(overrides?: CallOverrides): Promise<[BigNumber]>; + getLastRoundParams(overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise<[BigNumber]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber + ] & { + dataFeedValue: BigNumber; + lastRoundNumber: BigNumber; + lastUpdateTimestampInMilliseconds: BigNumber; + }>; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; + lastRound(overrides?: CallOverrides): Promise<[BigNumber]>; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise<[BigNumber]>; + owner(overrides?: CallOverrides): Promise<[string]>; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber + ] & { + dataFeedValue: BigNumber; + lastRoundNumber: BigNumber; + lastUpdateTimestampInMilliseconds: BigNumber; + }>; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: CallOverrides): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[ + BigNumber, + BigNumber, + BigNumber + ] & { + dataFeedValue: BigNumber; + lastRoundNumber: BigNumber; + lastUpdateTimestampInMilliseconds: BigNumber; + }>; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: CallOverrides): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: CallOverrides): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + OwnershipTransferred(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + }; + estimateGas: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + addDataFeedIdAndUpdateValues(newDataFeedId: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getDataFeedsIds(overrides?: CallOverrides): Promise; + getLastRound(overrides?: CallOverrides): Promise; + getLastRoundParams(overrides?: CallOverrides): Promise; + getLastUpdateTimestamp(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeed(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueForDataFeedAndLastRoundParams(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeeds(requestedDataFeedsIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + lastRound(overrides?: CallOverrides): Promise; + lastUpdateTimestampMilliseconds(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateDataFeedValues(proposedRound: PromiseOrValue, proposedTimestamp: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=PriceFeedsManager.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts.map new file mode 100644 index 00000000..f8baea3b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManager.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/PriceFeedsManager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA2B,SAA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CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,EAChC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,aAAa,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3C,iBAAiB,EAAE,cAAc,CAAC,YAAY,CAAC,EAC/C,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js new file mode 100644 index 00000000..b3204bf6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=PriceFeedsManager.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js.map new file mode 100644 index 00000000..be97e501 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/PriceFeedsManager.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManager.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/PriceFeedsManager.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts new file mode 100644 index 00000000..d388290a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts @@ -0,0 +1,4 @@ +export type { CustomErrors } from "./CustomErrors"; +export type { PriceFeed } from "./PriceFeed"; +export type { PriceFeedsManager } from "./PriceFeedsManager"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts.map new file mode 100644 index 00000000..80b3444b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js.map new file mode 100644 index 00000000..11dfd853 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/price-feeds/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/price-feeds/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts new file mode 100644 index 00000000..5f854ee2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts @@ -0,0 +1,51 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleBitmapLibInterface extends utils.Interface { + functions: { + "getBitFromBitmap(uint256,uint256)": FunctionFragment; + "setBitInBitmap(uint256,uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "getBitFromBitmap" | "setBitInBitmap"): FunctionFragment; + encodeFunctionData(functionFragment: "getBitFromBitmap", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "setBitInBitmap", values: [PromiseOrValue, PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "getBitFromBitmap", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "setBitInBitmap", data: BytesLike): Result; + events: {}; +} +export interface SampleBitmapLib extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleBitmapLibInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + getBitFromBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; + setBitInBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + }; + getBitFromBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + setBitInBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + getBitFromBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + setBitInBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + getBitFromBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + setBitInBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + getBitFromBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + setBitInBitmap(bitmap: PromiseOrValue, bitIndex: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleBitmapLib.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts.map new file mode 100644 index 00000000..94955629 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleBitmapLib.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleBitmapLib.ts"],"names":[],"mappings":"AAGA,OA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CAAC,YAAY,CAAC,EACpC,QAAQ,EAAE,cAAc,CAAC,YAAY,CAAC,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,cAAc,CACZ,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EACpC,QAAQ,EAAE,cAAc,CAAC,YAAY,CAAC,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js new file mode 100644 index 00000000..e0cf346e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleBitmapLib.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js.map new file mode 100644 index 00000000..acee5800 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleBitmapLib.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleBitmapLib.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleBitmapLib.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts new file mode 100644 index 00000000..5c141f2e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts @@ -0,0 +1,115 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleDuplicatedDataFeedsInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "getValuesFromStorage()": FunctionFragment; + "saveOracleValuesInStorage(bytes32[])": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "getValuesFromStorage" | "saveOracleValuesInStorage" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "getValuesFromStorage", values?: undefined): string; + encodeFunctionData(functionFragment: "saveOracleValuesInStorage", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValuesFromStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValuesInStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleDuplicatedDataFeeds extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleDuplicatedDataFeedsInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + getValuesFromStorage(overrides?: CallOverrides): Promise<[BigNumber[]]>; + saveOracleValuesInStorage(dataFeedIdsWithDuplicates: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValuesFromStorage(overrides?: CallOverrides): Promise; + saveOracleValuesInStorage(dataFeedIdsWithDuplicates: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValuesFromStorage(overrides?: CallOverrides): Promise; + saveOracleValuesInStorage(dataFeedIdsWithDuplicates: PromiseOrValue[], overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValuesFromStorage(overrides?: CallOverrides): Promise; + saveOracleValuesInStorage(dataFeedIdsWithDuplicates: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValuesFromStorage(overrides?: CallOverrides): Promise; + saveOracleValuesInStorage(dataFeedIdsWithDuplicates: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleDuplicatedDataFeeds.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts.map new file mode 100644 index 00000000..5797dba4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleDuplicatedDataFeeds.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleDuplicatedDataFeeds.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ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c,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iCAAiC,CAC/B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,yBAAyB,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACtD,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js new file mode 100644 index 00000000..e4028316 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleDuplicatedDataFeeds.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js.map new file mode 100644 index 00000000..8ae023f6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleDuplicatedDataFeeds.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleDuplicatedDataFeeds.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleDuplicatedDataFeeds.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts new file mode 100644 index 00000000..1ced4356 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts @@ -0,0 +1,91 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleKydServiceConsumerInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "executeActionPassingKYD()": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getPassedKYDValue()": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "executeActionPassingKYD" | "getAuthorisedSignerIndex" | "getPassedKYDValue" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "executeActionPassingKYD", values?: undefined): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getPassedKYDValue", values?: undefined): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "executeActionPassingKYD", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getPassedKYDValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleKydServiceConsumer extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleKydServiceConsumerInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + executeActionPassingKYD(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getPassedKYDValue(overrides?: CallOverrides): Promise<[boolean]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeActionPassingKYD(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getPassedKYDValue(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeActionPassingKYD(overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getPassedKYDValue(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeActionPassingKYD(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getPassedKYDValue(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeActionPassingKYD(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getPassedKYDValue(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleKydServiceConsumer.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts.map new file mode 100644 index 00000000..b0f3ca34 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleKydServiceConsumer.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleKydServiceConsumer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,iCAAkC,SAAQ,KAAK,CAAC,SAAS;IACxE,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,2BAA2B,EAAE,gBAAgB,CAAC;QAC9C,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,qBAAqB,EAAE,gBAAgB,CAAC;QACxC,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,iBAAiB,GACjB,yBAAyB,GACzB,0BAA0B,GAC1B,mBAAmB,GACnB,2BAA2B,GAC3B,mBAAmB,GACtB,gBAAgB,CAAC;IAEpB,kBAAkB,CAChB,gBAAgB,EAAE,iBAAiB,EACnC,MAAM,EAAE,CA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CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,uBAAuB,CACrB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAE5E,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js new file mode 100644 index 00000000..14d421dc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleKydServiceConsumer.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js.map new file mode 100644 index 00000000..cda7f7c7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleKydServiceConsumer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleKydServiceConsumer.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleKydServiceConsumer.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts new file mode 100644 index 00000000..c75dffa3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts @@ -0,0 +1,99 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleNumericArrayLibInterface extends utils.Interface { + functions: { + "cachedMedian()": FunctionFragment; + "getCachedArray()": FunctionFragment; + "testArrayUpdatingInStorage(uint256[])": FunctionFragment; + "testMedianSelection(uint256[])": FunctionFragment; + "testSortTx(uint256[])": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "cachedMedian" | "getCachedArray" | "testArrayUpdatingInStorage" | "testMedianSelection" | "testSortTx"): FunctionFragment; + encodeFunctionData(functionFragment: "cachedMedian", values?: undefined): string; + encodeFunctionData(functionFragment: "getCachedArray", values?: undefined): string; + encodeFunctionData(functionFragment: "testArrayUpdatingInStorage", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "testMedianSelection", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "testSortTx", values: [PromiseOrValue[]]): string; + decodeFunctionResult(functionFragment: "cachedMedian", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getCachedArray", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "testArrayUpdatingInStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "testMedianSelection", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "testSortTx", data: BytesLike): Result; + events: {}; +} +export interface SampleNumericArrayLib extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleNumericArrayLibInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + cachedMedian(overrides?: CallOverrides): Promise<[BigNumber]>; + getCachedArray(overrides?: CallOverrides): Promise<[BigNumber[]]>; + testArrayUpdatingInStorage(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testMedianSelection(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testSortTx(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + cachedMedian(overrides?: CallOverrides): Promise; + getCachedArray(overrides?: CallOverrides): Promise; + testArrayUpdatingInStorage(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testMedianSelection(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testSortTx(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + cachedMedian(overrides?: CallOverrides): Promise; + getCachedArray(overrides?: CallOverrides): Promise; + testArrayUpdatingInStorage(arr: PromiseOrValue[], overrides?: CallOverrides): Promise; + testMedianSelection(arr: PromiseOrValue[], overrides?: CallOverrides): Promise; + testSortTx(arr: PromiseOrValue[], overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + cachedMedian(overrides?: CallOverrides): Promise; + getCachedArray(overrides?: CallOverrides): Promise; + testArrayUpdatingInStorage(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testMedianSelection(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testSortTx(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + cachedMedian(overrides?: CallOverrides): Promise; + getCachedArray(overrides?: CallOverrides): Promise; + testArrayUpdatingInStorage(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testMedianSelection(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + testSortTx(arr: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=SampleNumericArrayLib.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts.map new file mode 100644 index 00000000..7d9c0a6f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleNumericArrayLib.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleNumericArrayLib.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,O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AAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,UAAU,CACR,GAAG,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACnC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js new file mode 100644 index 00000000..3fada72f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleNumericArrayLib.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js.map new file mode 100644 index 00000000..9b79034f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleNumericArrayLib.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleNumericArrayLib.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleNumericArrayLib.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts new file mode 100644 index 00000000..6c4c658a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts @@ -0,0 +1,99 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleProxyConnectorInterface extends utils.Interface { + functions: { + "checkOracleValue(bytes32,uint256)": FunctionFragment; + "checkOracleValueLongEncodedFunction(bytes32,uint256)": FunctionFragment; + "getOracleValueUsingProxy(bytes32)": FunctionFragment; + "proxyEmptyError()": FunctionFragment; + "proxyTestStringError()": FunctionFragment; + "requireValueForward()": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "checkOracleValue" | "checkOracleValueLongEncodedFunction" | "getOracleValueUsingProxy" | "proxyEmptyError" | "proxyTestStringError" | "requireValueForward"): FunctionFragment; + encodeFunctionData(functionFragment: "checkOracleValue", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "checkOracleValueLongEncodedFunction", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getOracleValueUsingProxy", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "proxyEmptyError", values?: undefined): string; + encodeFunctionData(functionFragment: "proxyTestStringError", values?: undefined): string; + encodeFunctionData(functionFragment: "requireValueForward", values?: undefined): string; + decodeFunctionResult(functionFragment: "checkOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "checkOracleValueLongEncodedFunction", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getOracleValueUsingProxy", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "proxyEmptyError", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "proxyTestStringError", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "requireValueForward", data: BytesLike): Result; + events: {}; +} +export interface SampleProxyConnector extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleProxyConnectorInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + checkOracleValueLongEncodedFunction(asset: PromiseOrValue, price: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getOracleValueUsingProxy(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + proxyEmptyError(overrides?: CallOverrides): Promise<[void]>; + proxyTestStringError(overrides?: CallOverrides): Promise<[void]>; + requireValueForward(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + }; + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValueLongEncodedFunction(asset: PromiseOrValue, price: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getOracleValueUsingProxy(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + proxyEmptyError(overrides?: CallOverrides): Promise; + proxyTestStringError(overrides?: CallOverrides): Promise; + requireValueForward(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValueLongEncodedFunction(asset: PromiseOrValue, price: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValueUsingProxy(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + proxyEmptyError(overrides?: CallOverrides): Promise; + proxyTestStringError(overrides?: CallOverrides): Promise; + requireValueForward(overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValueLongEncodedFunction(asset: PromiseOrValue, price: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getOracleValueUsingProxy(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + proxyEmptyError(overrides?: CallOverrides): Promise; + proxyTestStringError(overrides?: CallOverrides): Promise; + requireValueForward(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValueLongEncodedFunction(asset: PromiseOrValue, price: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getOracleValueUsingProxy(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + proxyEmptyError(overrides?: CallOverrides): Promise; + proxyTestStringError(overrides?: CallOverrides): Promise; + requireValueForward(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=SampleProxyConnector.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts.map new file mode 100644 index 00000000..dbd9a823 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnector.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleProxyConnector.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,o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AE,gBAAgB,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GAC/D,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,gBAAgB,CACd,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,aAAa,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3C,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,mCAAmC,CACjC,KAAK,EAAE,cAAc,CAAC,SAAS,CAAC,EAChC,KAAK,EAAE,cAAc,CAAC,YAAY,CAAC,EACnC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,eAAe,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAE1E,oBAAoB,CAClB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,mBAAmB,CACjB,SAAS,CAAC,EAAE,gBAAgB,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GAC/D,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js new file mode 100644 index 00000000..834b2615 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleProxyConnector.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js.map new file mode 100644 index 00000000..cf60bb44 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleProxyConnector.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnector.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleProxyConnector.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts new file mode 100644 index 00000000..7e6b843a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts @@ -0,0 +1,133 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleRedstoneConsumerBytesMockInterface extends utils.Interface { + functions: { + "aggregateByteValues(uint256[])": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "getValueSecurely(bytes32)": FunctionFragment; + "latestSavedValue()": FunctionFragment; + "saveOracleValueInContractStorage(bytes32)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateByteValues" | "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "getValueSecurely" | "latestSavedValue" | "saveOracleValueInContractStorage" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateByteValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "getValueSecurely", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "latestSavedValue", values?: undefined): string; + encodeFunctionData(functionFragment: "saveOracleValueInContractStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateByteValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueSecurely", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "latestSavedValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValueInContractStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleRedstoneConsumerBytesMock extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleRedstoneConsumerBytesMockInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[string]>; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber] & { + pointerToResultBytesInMemory: BigNumber; + }>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + getValueSecurely(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + latestSavedValue(overrides?: CallOverrides): Promise<[BigNumber]>; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueSecurely(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueSecurely(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueSecurely(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueSecurely(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleRedstoneConsumerBytesMock.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts.map new file mode 100644 index 00000000..ce232728 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMock.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,wCACf,SAAQ,KAAK,CAAC,SAAS;IACvB,SAAS,EAAE;QACT,gCAAgC,EAAE,gBAAgB,CAAC;QACnD,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;QAC1D,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,2BAA2B,EAAE,gBAAgB,CAAC;QAC9C,oBAAoB,EAAE,gBAAgB,CAAC;QACvC,2CAA2C,EAAE,gBAAgB,CAAC;QAC9D,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,mCAAmC,G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yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,gBAAgB,CACd,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,gBAAgB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAE3E,gCAAgC,CAC9B,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js new file mode 100644 index 00000000..247435a5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleRedstoneConsumerBytesMock.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js.map new file mode 100644 index 00000000..e4efa1f9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMock.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerBytesMock.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts new file mode 100644 index 00000000..0cbd98e5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts @@ -0,0 +1,133 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleRedstoneConsumerBytesMockManyDataFeedsInterface extends utils.Interface { + functions: { + "aggregateByteValues(uint256[])": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "firstValue()": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "save2ValuesInStorage(bytes32[])": FunctionFragment; + "secondValue()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateByteValues" | "aggregateValues" | "firstValue" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "save2ValuesInStorage" | "secondValue" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateByteValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "firstValue", values?: undefined): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "save2ValuesInStorage", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "secondValue", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateByteValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "firstValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "save2ValuesInStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "secondValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleRedstoneConsumerBytesMockManyDataFeeds extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleRedstoneConsumerBytesMockManyDataFeedsInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[string]>; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber] & { + pointerToResultBytesInMemory: BigNumber; + }>; + firstValue(overrides?: CallOverrides): Promise<[string]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise<[string]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts.map new file mode 100644 index 00000000..507d60f9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockManyDataFeeds.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT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H"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js new file mode 100644 index 00000000..88e6559d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleRedstoneConsumerBytesMockManyDataFeeds.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js.map new file mode 100644 index 00000000..d3373255 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockManyDataFeeds.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts new file mode 100644 index 00000000..bfd8a147 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts @@ -0,0 +1,125 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleRedstoneConsumerBytesMockStringsInterface extends utils.Interface { + functions: { + "aggregateByteValues(uint256[])": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "latestString()": FunctionFragment; + "saveLatestValueInStorage(bytes32)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateByteValues" | "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "latestString" | "saveLatestValueInStorage" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateByteValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "latestString", values?: undefined): string; + encodeFunctionData(functionFragment: "saveLatestValueInStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateByteValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "latestString", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveLatestValueInStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleRedstoneConsumerBytesMockStrings extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleRedstoneConsumerBytesMockStringsInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[string]>; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber] & { + pointerToResultBytesInMemory: BigNumber; + }>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + latestString(overrides?: CallOverrides): Promise<[string]>; + saveLatestValueInStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + latestString(overrides?: CallOverrides): Promise; + saveLatestValueInStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + latestString(overrides?: CallOverrides): Promise; + saveLatestValueInStorage(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + latestString(overrides?: CallOverrides): Promise; + saveLatestValueInStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateByteValues(calldataPointersForValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + aggregateValues(calldataPointersToValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + latestString(overrides?: CallOverrides): Promise; + saveLatestValueInStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleRedstoneConsumerBytesMockStrings.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts.map new file mode 100644 index 00000000..ba936cf3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockStrings.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,+CACf,SAAQ,KAAK,CAAC,SAAS;IACvB,SAAS,EAAE;QACT,gCAAgC,EAAE,gBAAgB,CAAC;QACnD,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;QAC1D,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,mCAAmC,GACnC,8BAA8B,GAC9B,0BAA0B,GAC1B,2BAA2B,GAC3B,cAAc,G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AC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iCAAiC,CAC/B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,YAAY,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEvE,wBAAwB,CACtB,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js new file mode 100644 index 00000000..5f4a82c5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleRedstoneConsumerBytesMockStrings.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js.map new file mode 100644 index 00000000..84675673 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockStrings.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerBytesMockStrings.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts new file mode 100644 index 00000000..ebe24b61 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts @@ -0,0 +1,179 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleRedstoneConsumerNumericMockInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "getValueForDataFeedId(bytes32)": FunctionFragment; + "getValueManyParams(bytes32,uint256,string,string,string,string,string)": FunctionFragment; + "getValuesForDataFeedIds(bytes32[])": FunctionFragment; + "latestSavedValue()": FunctionFragment; + "returnMsgValue()": FunctionFragment; + "revertWithTestMessage()": FunctionFragment; + "revertWithoutMessage()": FunctionFragment; + "saveOracleValueInContractStorage(bytes32)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "getValueForDataFeedId" | "getValueManyParams" | "getValuesForDataFeedIds" | "latestSavedValue" | "returnMsgValue" | "revertWithTestMessage" | "revertWithoutMessage" | "saveOracleValueInContractStorage" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "getValueForDataFeedId", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getValueManyParams", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "getValuesForDataFeedIds", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "latestSavedValue", values?: undefined): string; + encodeFunctionData(functionFragment: "returnMsgValue", values?: undefined): string; + encodeFunctionData(functionFragment: "revertWithTestMessage", values?: undefined): string; + encodeFunctionData(functionFragment: "revertWithoutMessage", values?: undefined): string; + encodeFunctionData(functionFragment: "saveOracleValueInContractStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueForDataFeedId", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueManyParams", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValuesForDataFeedIds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "latestSavedValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "returnMsgValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "revertWithTestMessage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "revertWithoutMessage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValueInContractStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleRedstoneConsumerNumericMock extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleRedstoneConsumerNumericMockInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; + latestSavedValue(overrides?: CallOverrides): Promise<[BigNumber]>; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise<[void]>; + revertWithoutMessage(overrides?: CallOverrides): Promise<[void]>; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + returnMsgValue(overrides?: CallOverrides): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleRedstoneConsumerNumericMock.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts.map new file mode 100644 index 00000000..23b49207 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMock.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,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AQ,EAAE,cAAc,CAAC,MAAM,CAAC,EAChC,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,EAChC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,uBAAuB,CACrB,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACxC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,gBAAgB,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAE3E,cAAc,CACZ,SAAS,CAAC,EAAE,gBAAgB,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GAC/D,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,qBAAqB,CACnB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,gCAAgC,CAC9B,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js new file mode 100644 index 00000000..94550f43 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleRedstoneConsumerNumericMock.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js.map new file mode 100644 index 00000000..11df7660 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMock.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerNumericMock.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts new file mode 100644 index 00000000..3e371e1a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts @@ -0,0 +1,123 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleRedstoneConsumerNumericMockManyDataFeedsInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "firstValue()": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "save2ValuesInStorage(bytes32[])": FunctionFragment; + "secondValue()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "firstValue" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "save2ValuesInStorage" | "secondValue" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "firstValue", values?: undefined): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "save2ValuesInStorage", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "secondValue", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "firstValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "save2ValuesInStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "secondValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleRedstoneConsumerNumericMockManyDataFeeds extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleRedstoneConsumerNumericMockManyDataFeedsInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + firstValue(overrides?: CallOverrides): Promise<[BigNumber]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise<[BigNumber]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + firstValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + save2ValuesInStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + secondValue(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts.map new file mode 100644 index 00000000..0ce8d746 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMockManyDataFeeds.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM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CAAC;QAEtE,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js new file mode 100644 index 00000000..9c366676 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleRedstoneConsumerNumericMockManyDataFeeds.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js.map new file mode 100644 index 00000000..a6c616dd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMockManyDataFeeds.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts new file mode 100644 index 00000000..72ce960d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts @@ -0,0 +1,51 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleRedstoneDefaultsLibInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleRedstoneDefaultsLib extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleRedstoneDefaultsLibInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleRedstoneDefaultsLib.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts.map new file mode 100644 index 00000000..8d8f9cd2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneDefaultsLib.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneDefaultsLib.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,kCAAmC,SAAQ,KAAK,CAAC,SAAS;IACzE,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAAE,iBAAiB,GAAG,mBA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AAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtB,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,eAAe,CACb,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js new file mode 100644 index 00000000..07d85232 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleRedstoneDefaultsLib.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js.map new file mode 100644 index 00000000..dfcceaf7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleRedstoneDefaultsLib.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneDefaultsLib.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleRedstoneDefaultsLib.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts new file mode 100644 index 00000000..6aa38a84 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts @@ -0,0 +1,261 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export declare namespace SampleStorageProxy { + type SamplePointStruct = { + name: PromiseOrValue; + dataValue: PromiseOrValue; + }; + type SamplePointStructOutput = [string, BigNumber] & { + name: string; + dataValue: BigNumber; + }; + type SamplePointsStruct = { + names: PromiseOrValue[]; + dataValues: PromiseOrValue[]; + }; + type SamplePointsStructOutput = [string[], BigNumber[]] & { + names: string[]; + dataValues: BigNumber[]; + }; +} +export interface SampleStorageProxyInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "fetchArrayOfStructsUsingProxyDryRun(bytes32[])": FunctionFragment; + "fetchStructOfArraysUsingProxyDryRun(bytes32[])": FunctionFragment; + "fetchStructUsingProxyDryRun(bytes32)": FunctionFragment; + "fetchValueUsingProxyDryRun(bytes32)": FunctionFragment; + "fetchValuesUsingProxyDryRun(bytes32[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getOracleValue(bytes32)": FunctionFragment; + "getOracleValues(bytes32[])": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "oracleValues(bytes32)": FunctionFragment; + "register(address)": FunctionFragment; + "saveOracleValueInContractStorage(bytes32)": FunctionFragment; + "saveOracleValuesInContractStorage(bytes32[])": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "fetchArrayOfStructsUsingProxyDryRun" | "fetchStructOfArraysUsingProxyDryRun" | "fetchStructUsingProxyDryRun" | "fetchValueUsingProxyDryRun" | "fetchValuesUsingProxyDryRun" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getOracleValue" | "getOracleValues" | "getUniqueSignersThreshold" | "oracleValues" | "register" | "saveOracleValueInContractStorage" | "saveOracleValuesInContractStorage" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "fetchArrayOfStructsUsingProxyDryRun", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "fetchStructOfArraysUsingProxyDryRun", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "fetchStructUsingProxyDryRun", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "fetchValueUsingProxyDryRun", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "fetchValuesUsingProxyDryRun", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getOracleValue", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "oracleValues", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "register", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "saveOracleValueInContractStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "saveOracleValuesInContractStorage", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "fetchArrayOfStructsUsingProxyDryRun", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "fetchStructOfArraysUsingProxyDryRun", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "fetchStructUsingProxyDryRun", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "fetchValueUsingProxyDryRun", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "fetchValuesUsingProxyDryRun", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "oracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "register", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValueInContractStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValuesInContractStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleStorageProxy extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleStorageProxyInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + fetchArrayOfStructsUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructOfArraysUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValueUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValuesUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + fetchArrayOfStructsUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructOfArraysUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValueUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValuesUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + fetchArrayOfStructsUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + fetchStructOfArraysUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + fetchStructUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + fetchValueUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + fetchValuesUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + register(_sampleContract: PromiseOrValue, overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + fetchArrayOfStructsUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructOfArraysUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValueUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValuesUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + fetchArrayOfStructsUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructOfArraysUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchStructUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValueUsingProxyDryRun(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + fetchValuesUsingProxyDryRun(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleStorageProxy.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts.map new file mode 100644 index 00000000..52e7d8d9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxy.d.ts","sourceRoot":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QAEjC,QAAQ,CACN,eAAe,EAAE,cAAc,CAAC,MAAM,CAAC,EACvC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,gCAAgC,CAC9B,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iCAAiC,CAC/B,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACxC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js new file mode 100644 index 00000000..31c03ab7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleStorageProxy.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js.map new file mode 100644 index 00000000..544eaa07 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxy.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleStorageProxy.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts new file mode 100644 index 00000000..1437a455 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts @@ -0,0 +1,67 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleStorageProxyConsumerInterface extends utils.Interface { + functions: { + "checkOracleValue(bytes32,uint256)": FunctionFragment; + "checkOracleValues(bytes32[],uint256[])": FunctionFragment; + "getOracleValue(bytes32)": FunctionFragment; + "getOracleValues(bytes32[])": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "checkOracleValue" | "checkOracleValues" | "getOracleValue" | "getOracleValues"): FunctionFragment; + encodeFunctionData(functionFragment: "checkOracleValue", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "checkOracleValues", values: [PromiseOrValue[], PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getOracleValue", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getOracleValues", values: [PromiseOrValue[]]): string; + decodeFunctionResult(functionFragment: "checkOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "checkOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getOracleValues", data: BytesLike): Result; + events: {}; +} +export interface SampleStorageProxyConsumer extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleStorageProxyConsumerInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + checkOracleValues(dataFeedIds: PromiseOrValue[], expectedValues: PromiseOrValue[], overrides?: CallOverrides): Promise<[void]>; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; + }; + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValues(dataFeedIds: PromiseOrValue[], expectedValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + callStatic: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValues(dataFeedIds: PromiseOrValue[], expectedValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValues(dataFeedIds: PromiseOrValue[], expectedValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + }; + populateTransaction: { + checkOracleValue(dataFeedId: PromiseOrValue, expectedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + checkOracleValues(dataFeedIds: PromiseOrValue[], expectedValues: PromiseOrValue[], overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleStorageProxyConsumer.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts.map new file mode 100644 index 00000000..1ae6fbd0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxyConsumer.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleStorageProxyConsumer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,mCAAoC,SAAQ,KAAK,CAAC,SAAS;IA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CAAC,EAC3C,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACxC,cAAc,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,EAC9C,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,cAAc,CACZ,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,eAAe,CACb,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACxC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js new file mode 100644 index 00000000..304e7a6b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleStorageProxyConsumer.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js.map new file mode 100644 index 00000000..ecf3d96d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleStorageProxyConsumer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxyConsumer.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleStorageProxyConsumer.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts new file mode 100644 index 00000000..251ed056 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts @@ -0,0 +1,199 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface ERC20InitializableInterface extends utils.Interface { + functions: { + "allowance(address,address)": FunctionFragment; + "approve(address,uint256)": FunctionFragment; + "balanceOf(address)": FunctionFragment; + "decimals()": FunctionFragment; + "decreaseAllowance(address,uint256)": FunctionFragment; + "increaseAllowance(address,uint256)": FunctionFragment; + "name()": FunctionFragment; + "symbol()": FunctionFragment; + "totalSupply()": FunctionFragment; + "transfer(address,uint256)": FunctionFragment; + "transferFrom(address,address,uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "allowance" | "approve" | "balanceOf" | "decimals" | "decreaseAllowance" | "increaseAllowance" | "name" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment; + encodeFunctionData(functionFragment: "allowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "approve", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "decimals", values?: undefined): string; + encodeFunctionData(functionFragment: "decreaseAllowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "increaseAllowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "name", values?: undefined): string; + encodeFunctionData(functionFragment: "symbol", values?: undefined): string; + encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; + encodeFunctionData(functionFragment: "transfer", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "transferFrom", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "decreaseAllowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "increaseAllowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; + events: { + "Approval(address,address,uint256)": EventFragment; + "Transfer(address,address,uint256)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; + getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; +} +export interface ApprovalEventObject { + owner: string; + spender: string; + value: BigNumber; +} +export declare type ApprovalEvent = TypedEvent<[ + string, + string, + BigNumber +], ApprovalEventObject>; +export declare type ApprovalEventFilter = TypedEventFilter; +export interface TransferEventObject { + from: string; + to: string; + value: BigNumber; +} +export declare type TransferEvent = TypedEvent<[ + string, + string, + BigNumber +], TransferEventObject>; +export declare type TransferEventFilter = TypedEventFilter; +export interface ERC20Initializable extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: ERC20InitializableInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + decimals(overrides?: CallOverrides): Promise<[number]>; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise<[string]>; + symbol(overrides?: CallOverrides): Promise<[string]>; + totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "Approval(address,address,uint256)"(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + Approval(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + "Transfer(address,address,uint256)"(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + Transfer(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + }; + estimateGas: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=ERC20Initializable.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts.map new file mode 100644 index 00000000..4e05e386 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ERC20Initializable.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,2BAA4B,SAAQ,KAAK,CAAC,SAAS;IAClE,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,0BAA0B,EAAE,gBAAgB,CAAC;QAC7C,oBAAoB,EAAE,gBAAgB,CAAC;QACvC,YAAY,EAAE,gBAAgB,CAAC;QAC/B,oCAAoC,EAAE,gBAAgB,CAAC;QACvD,oCAAoC,EAAE,gBAAgB,CAAC;QACvD,QAAQ,EAAE,gBAAgB,CAAC;QAC3B,UAAU,EAAE,gBAAgB,CAAC;QAC7B,eAAe,EAAE,gBAAgB,CAAC;QAClC,2BAA2B,EAAE,gBAAgB,CAAC;QAC9C,uCAAuC,EAAE,gBAAgB,CAAC;KAC3D,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,WAAW,GACX,SAAS,GACT,WAAW,GACX,UAAU,GACV,mBAAmB,GACnB,mBAAmB,GACnB,MAAM,GACN,QAAQ,GACR,aAAa,GACb,UAAU,GACV,cAAc,GACjB,gBAAgB,CAAC;IAEpB,kBAAkB,CAChB,gBAAgB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AE,cAAc,CAAC,MAAM,CAAC,EAC9B,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EACpC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js new file mode 100644 index 00000000..908aabfd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=ERC20Initializable.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js.map new file mode 100644 index 00000000..98e7322b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ERC20Initializable.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts new file mode 100644 index 00000000..4106783c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts @@ -0,0 +1,566 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface SampleSyntheticTokenInterface extends utils.Interface { + functions: { + "COLLATERAL_TOKEN()": FunctionFragment; + "LIQUIDATION_BONUS()": FunctionFragment; + "MAX_SOLVENCY()": FunctionFragment; + "MIN_SOLVENCY()": FunctionFragment; + "SOLVENCY_PRECISION()": FunctionFragment; + "addCollateral()": FunctionFragment; + "aggregateValues(uint256[])": FunctionFragment; + "allowance(address,address)": FunctionFragment; + "approve(address,uint256)": FunctionFragment; + "asset()": FunctionFragment; + "balanceOf(address)": FunctionFragment; + "balanceValueOf(address)": FunctionFragment; + "broker()": FunctionFragment; + "burn(uint256)": FunctionFragment; + "collateral(address)": FunctionFragment; + "collateralOf(address)": FunctionFragment; + "collateralValueOf(address)": FunctionFragment; + "debt(address)": FunctionFragment; + "debtOf(address)": FunctionFragment; + "debtValueOf(address)": FunctionFragment; + "decimals()": FunctionFragment; + "decreaseAllowance(address,uint256)": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "increaseAllowance(address,uint256)": FunctionFragment; + "initialize(bytes32,string,string)": FunctionFragment; + "liquidate(address,uint256)": FunctionFragment; + "mint(uint256)": FunctionFragment; + "name()": FunctionFragment; + "owner()": FunctionFragment; + "removeCollateral(uint256)": FunctionFragment; + "renounceOwnership()": FunctionFragment; + "solvencyOf(address)": FunctionFragment; + "symbol()": FunctionFragment; + "totalSupply()": FunctionFragment; + "totalValue()": FunctionFragment; + "transfer(address,uint256)": FunctionFragment; + "transferFrom(address,address,uint256)": FunctionFragment; + "transferOwnership(address)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "COLLATERAL_TOKEN" | "LIQUIDATION_BONUS" | "MAX_SOLVENCY" | "MIN_SOLVENCY" | "SOLVENCY_PRECISION" | "addCollateral" | "aggregateValues" | "allowance" | "approve" | "asset" | "balanceOf" | "balanceValueOf" | "broker" | "burn" | "collateral" | "collateralOf" | "collateralValueOf" | "debt" | "debtOf" | "debtValueOf" | "decimals" | "decreaseAllowance" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "increaseAllowance" | "initialize" | "liquidate" | "mint" | "name" | "owner" | "removeCollateral" | "renounceOwnership" | "solvencyOf" | "symbol" | "totalSupply" | "totalValue" | "transfer" | "transferFrom" | "transferOwnership" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "COLLATERAL_TOKEN", values?: undefined): string; + encodeFunctionData(functionFragment: "LIQUIDATION_BONUS", values?: undefined): string; + encodeFunctionData(functionFragment: "MAX_SOLVENCY", values?: undefined): string; + encodeFunctionData(functionFragment: "MIN_SOLVENCY", values?: undefined): string; + encodeFunctionData(functionFragment: "SOLVENCY_PRECISION", values?: undefined): string; + encodeFunctionData(functionFragment: "addCollateral", values?: undefined): string; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "allowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "approve", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "asset", values?: undefined): string; + encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "balanceValueOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "broker", values?: undefined): string; + encodeFunctionData(functionFragment: "burn", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "collateral", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "collateralOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "collateralValueOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "debt", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "debtOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "debtValueOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "decimals", values?: undefined): string; + encodeFunctionData(functionFragment: "decreaseAllowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "increaseAllowance", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "initialize", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "liquidate", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "mint", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "name", values?: undefined): string; + encodeFunctionData(functionFragment: "owner", values?: undefined): string; + encodeFunctionData(functionFragment: "removeCollateral", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; + encodeFunctionData(functionFragment: "solvencyOf", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "symbol", values?: undefined): string; + encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string; + encodeFunctionData(functionFragment: "totalValue", values?: undefined): string; + encodeFunctionData(functionFragment: "transfer", values: [PromiseOrValue, PromiseOrValue]): string; + encodeFunctionData(functionFragment: "transferFrom", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "COLLATERAL_TOKEN", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "LIQUIDATION_BONUS", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "MAX_SOLVENCY", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "MIN_SOLVENCY", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "SOLVENCY_PRECISION", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "addCollateral", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "asset", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "balanceValueOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "broker", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "collateral", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "collateralOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "collateralValueOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "debt", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "debtOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "debtValueOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "decreaseAllowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "increaseAllowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "liquidate", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "removeCollateral", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "solvencyOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "totalValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: { + "Approval(address,address,uint256)": EventFragment; + "CollateralAdded(address,uint256,uint256)": EventFragment; + "CollateralRemoved(address,uint256,uint256)": EventFragment; + "OwnershipTransferred(address,address)": EventFragment; + "Transfer(address,address,uint256)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; + getEvent(nameOrSignatureOrTopic: "CollateralAdded"): EventFragment; + getEvent(nameOrSignatureOrTopic: "CollateralRemoved"): EventFragment; + getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; + getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; +} +export interface ApprovalEventObject { + owner: string; + spender: string; + value: BigNumber; +} +export declare type ApprovalEvent = TypedEvent<[ + string, + string, + BigNumber +], ApprovalEventObject>; +export declare type ApprovalEventFilter = TypedEventFilter; +export interface CollateralAddedEventObject { + account: string; + val: BigNumber; + time: BigNumber; +} +export declare type CollateralAddedEvent = TypedEvent<[ + string, + BigNumber, + BigNumber +], CollateralAddedEventObject>; +export declare type CollateralAddedEventFilter = TypedEventFilter; +export interface CollateralRemovedEventObject { + account: string; + val: BigNumber; + time: BigNumber; +} +export declare type CollateralRemovedEvent = TypedEvent<[ + string, + BigNumber, + BigNumber +], CollateralRemovedEventObject>; +export declare type CollateralRemovedEventFilter = TypedEventFilter; +export interface OwnershipTransferredEventObject { + previousOwner: string; + newOwner: string; +} +export declare type OwnershipTransferredEvent = TypedEvent<[ + string, + string +], OwnershipTransferredEventObject>; +export declare type OwnershipTransferredEventFilter = TypedEventFilter; +export interface TransferEventObject { + from: string; + to: string; + value: BigNumber; +} +export declare type TransferEvent = TypedEvent<[ + string, + string, + BigNumber +], TransferEventObject>; +export declare type TransferEventFilter = TypedEventFilter; +export interface SampleSyntheticToken extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleSyntheticTokenInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + COLLATERAL_TOKEN(overrides?: CallOverrides): Promise<[string]>; + LIQUIDATION_BONUS(overrides?: CallOverrides): Promise<[BigNumber]>; + MAX_SOLVENCY(overrides?: CallOverrides): Promise<[BigNumber]>; + MIN_SOLVENCY(overrides?: CallOverrides): Promise<[BigNumber]>; + SOLVENCY_PRECISION(overrides?: CallOverrides): Promise<[BigNumber]>; + addCollateral(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + asset(overrides?: CallOverrides): Promise<[string]>; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + balanceValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + broker(overrides?: CallOverrides): Promise<[string]>; + burn(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + collateral(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + collateralOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + collateralValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + debt(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + debtOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + debtValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + decimals(overrides?: CallOverrides): Promise<[number]>; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + initialize(asset_: PromiseOrValue, name_: PromiseOrValue, symbol_: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + liquidate(account: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + mint(amount: PromiseOrValue, overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise<[string]>; + owner(overrides?: CallOverrides): Promise<[string]>; + removeCollateral(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + solvencyOf(account: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + symbol(overrides?: CallOverrides): Promise<[string]>; + totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; + totalValue(overrides?: CallOverrides): Promise<[BigNumber]>; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + COLLATERAL_TOKEN(overrides?: CallOverrides): Promise; + LIQUIDATION_BONUS(overrides?: CallOverrides): Promise; + MAX_SOLVENCY(overrides?: CallOverrides): Promise; + MIN_SOLVENCY(overrides?: CallOverrides): Promise; + SOLVENCY_PRECISION(overrides?: CallOverrides): Promise; + addCollateral(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + asset(overrides?: CallOverrides): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + balanceValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + broker(overrides?: CallOverrides): Promise; + burn(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + collateral(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debt(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + debtOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debtValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + initialize(asset_: PromiseOrValue, name_: PromiseOrValue, symbol_: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + liquidate(account: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + mint(amount: PromiseOrValue, overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + removeCollateral(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + solvencyOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + totalValue(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + COLLATERAL_TOKEN(overrides?: CallOverrides): Promise; + LIQUIDATION_BONUS(overrides?: CallOverrides): Promise; + MAX_SOLVENCY(overrides?: CallOverrides): Promise; + MIN_SOLVENCY(overrides?: CallOverrides): Promise; + SOLVENCY_PRECISION(overrides?: CallOverrides): Promise; + addCollateral(overrides?: CallOverrides): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + asset(overrides?: CallOverrides): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + balanceValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + broker(overrides?: CallOverrides): Promise; + burn(amount: PromiseOrValue, overrides?: CallOverrides): Promise; + collateral(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debt(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + debtOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debtValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: CallOverrides): Promise; + initialize(asset_: PromiseOrValue, name_: PromiseOrValue, symbol_: PromiseOrValue, overrides?: CallOverrides): Promise; + liquidate(account: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + mint(amount: PromiseOrValue, overrides?: CallOverrides): Promise; + name(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + removeCollateral(amount: PromiseOrValue, overrides?: CallOverrides): Promise; + renounceOwnership(overrides?: CallOverrides): Promise; + solvencyOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + totalValue(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "Approval(address,address,uint256)"(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + Approval(owner?: PromiseOrValue | null, spender?: PromiseOrValue | null, value?: null): ApprovalEventFilter; + "CollateralAdded(address,uint256,uint256)"(account?: null, val?: null, time?: null): CollateralAddedEventFilter; + CollateralAdded(account?: null, val?: null, time?: null): CollateralAddedEventFilter; + "CollateralRemoved(address,uint256,uint256)"(account?: null, val?: null, time?: null): CollateralRemovedEventFilter; + CollateralRemoved(account?: null, val?: null, time?: null): CollateralRemovedEventFilter; + "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + OwnershipTransferred(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; + "Transfer(address,address,uint256)"(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + Transfer(from?: PromiseOrValue | null, to?: PromiseOrValue | null, value?: null): TransferEventFilter; + }; + estimateGas: { + COLLATERAL_TOKEN(overrides?: CallOverrides): Promise; + LIQUIDATION_BONUS(overrides?: CallOverrides): Promise; + MAX_SOLVENCY(overrides?: CallOverrides): Promise; + MIN_SOLVENCY(overrides?: CallOverrides): Promise; + SOLVENCY_PRECISION(overrides?: CallOverrides): Promise; + addCollateral(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + asset(overrides?: CallOverrides): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + balanceValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + broker(overrides?: CallOverrides): Promise; + burn(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + collateral(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debt(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + debtOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debtValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + initialize(asset_: PromiseOrValue, name_: PromiseOrValue, symbol_: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + liquidate(account: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + mint(amount: PromiseOrValue, overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + removeCollateral(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + solvencyOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + totalValue(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + COLLATERAL_TOKEN(overrides?: CallOverrides): Promise; + LIQUIDATION_BONUS(overrides?: CallOverrides): Promise; + MAX_SOLVENCY(overrides?: CallOverrides): Promise; + MIN_SOLVENCY(overrides?: CallOverrides): Promise; + SOLVENCY_PRECISION(overrides?: CallOverrides): Promise; + addCollateral(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + allowance(owner: PromiseOrValue, spender: PromiseOrValue, overrides?: CallOverrides): Promise; + approve(spender: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + asset(overrides?: CallOverrides): Promise; + balanceOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + balanceValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + broker(overrides?: CallOverrides): Promise; + burn(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + collateral(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + collateralValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debt(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + debtOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + debtValueOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + decimals(overrides?: CallOverrides): Promise; + decreaseAllowance(spender: PromiseOrValue, subtractedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + increaseAllowance(spender: PromiseOrValue, addedValue: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + initialize(asset_: PromiseOrValue, name_: PromiseOrValue, symbol_: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + liquidate(account: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + mint(amount: PromiseOrValue, overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + name(overrides?: CallOverrides): Promise; + owner(overrides?: CallOverrides): Promise; + removeCollateral(amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + renounceOwnership(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + solvencyOf(account: PromiseOrValue, overrides?: CallOverrides): Promise; + symbol(overrides?: CallOverrides): Promise; + totalSupply(overrides?: CallOverrides): Promise; + totalValue(overrides?: CallOverrides): Promise; + transfer(recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferFrom(sender: PromiseOrValue, recipient: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleSyntheticToken.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts.map new file mode 100644 index 00000000..a2ecd8ae --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleSyntheticToken.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,6BAA8B,SAAQ,KAAK,CAAC,SAAS;IACpE,SAAS,EAAE;QACT,oBAAoB,EAAE,gBAAgB,CAAC;QACvC,qBAAqB,EAAE,gBAAgB,CAAC;QACxC,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,sBAAsB,EAAE,gBAAgB,CAAC;QACzC,iBAAiB,EAAE,gBAAgB,CAAC;QACpC,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,0BAA0B,EAAE,gBAAgB,CAAC;QAC7C,SAAS,EAAE,gBAAgB,CAAC;QAC5B,oBAAoB,EAAE,gBAAgB,CAAC;QACvC,yBAAyB,EAAE,gBAAgB,CAAC;QAC5C,UAAU,EAAE,gBAAgB,CAAC;QAC7B,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AAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,YAAY,CACV,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,EAC9B,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,MAAM,EAAE,cAAc,CAAC,YAAY,CAAC,EACpC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC,EAChC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js new file mode 100644 index 00000000..be4996af --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleSyntheticToken.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js.map new file mode 100644 index 00000000..df9f557b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleSyntheticToken.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts new file mode 100644 index 00000000..c94f509d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts @@ -0,0 +1,3 @@ +export type { ERC20Initializable } from "./ERC20Initializable"; +export type { SampleSyntheticToken } from "./SampleSyntheticToken"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map new file mode 100644 index 00000000..6aae072b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/SampleSyntheticToken.sol/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js.map new file mode 100644 index 00000000..da0cf835 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleSyntheticToken.sol/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/SampleSyntheticToken.sol/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts new file mode 100644 index 00000000..b01208ec --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts @@ -0,0 +1,120 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; +export interface SampleWithEventsInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "emitEventWithLatestOracleValue()": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "emitEventWithLatestOracleValue" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "emitEventWithLatestOracleValue", values?: undefined): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "emitEventWithLatestOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: { + "ValueUpdated(uint256)": EventFragment; + }; + getEvent(nameOrSignatureOrTopic: "ValueUpdated"): EventFragment; +} +export interface ValueUpdatedEventObject { + _updatedValue: BigNumber; +} +export declare type ValueUpdatedEvent = TypedEvent<[ + BigNumber +], ValueUpdatedEventObject>; +export declare type ValueUpdatedEventFilter = TypedEventFilter; +export interface SampleWithEvents extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleWithEventsInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + emitEventWithLatestOracleValue(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emitEventWithLatestOracleValue(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emitEventWithLatestOracleValue(overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: { + "ValueUpdated(uint256)"(_updatedValue?: null): ValueUpdatedEventFilter; + ValueUpdated(_updatedValue?: null): ValueUpdatedEventFilter; + }; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emitEventWithLatestOracleValue(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emitEventWithLatestOracleValue(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleWithEvents.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts.map new file mode 100644 index 00000000..ccedbdad --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleWithEvents.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleWithEvents.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,yBAA0B,SAAQ,KAAK,CAAC,SAAS;IAChE,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,kCAAkC,EAAE,gBAAgB,CAAC;QACrD,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;QAC1D,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,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ACtC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,8BAA8B,CAC5B,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iCAAiC,CAC/B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,4BAA4B,CAC1B,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,wBAAwB,CACtB,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,yBAAyB,CACvB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js new file mode 100644 index 00000000..0567f70a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleWithEvents.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js.map new file mode 100644 index 00000000..4c34909d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/SampleWithEvents.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleWithEvents.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/SampleWithEvents.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts new file mode 100644 index 00000000..2bb4a68f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts @@ -0,0 +1,139 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface BenchmarkInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "emptyExtractOracleValues(bytes32[])": FunctionFragment; + "extractOracleValues(bytes32[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "updateUniqueSignersThreshold(uint8)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "emptyExtractOracleValues" | "extractOracleValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "updateUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "emptyExtractOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "extractOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "updateUniqueSignersThreshold", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "emptyExtractOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "extractOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "updateUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface Benchmark extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: BenchmarkInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + emptyExtractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + extractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(_signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emptyExtractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + extractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(_signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emptyExtractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + extractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(_signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emptyExtractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + extractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(_signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + emptyExtractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + extractOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(_signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=Benchmark.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts.map new file mode 100644 index 00000000..a39f3f95 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Benchmark.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/Benchmark.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SA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AAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js new file mode 100644 index 00000000..4dbe5b3f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=Benchmark.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js.map new file mode 100644 index 00000000..a71ca8fd --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/Benchmark.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Benchmark.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/Benchmark.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts new file mode 100644 index 00000000..a93f2e41 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts @@ -0,0 +1,259 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface HashCalldataModelInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "executeRequestWith10ArgsWithPrices(uint256,address,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32)": FunctionFragment; + "executeRequestWith3ArgsWithPrices(uint256,address,bytes32,bytes32,bytes32)": FunctionFragment; + "executeRequestWith5ArgsWithPrices(uint256,address,bytes32,bytes32,bytes32,bytes32,bytes32)": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "requests(bytes32)": FunctionFragment; + "sendRequestWith10Args(bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32)": FunctionFragment; + "sendRequestWith3Args(bytes32,bytes32,bytes32)": FunctionFragment; + "sendRequestWith5Args(bytes32,bytes32,bytes32,bytes32,bytes32)": FunctionFragment; + "setDeleteFromStorage(bool)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "executeRequestWith10ArgsWithPrices" | "executeRequestWith3ArgsWithPrices" | "executeRequestWith5ArgsWithPrices" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "requests" | "sendRequestWith10Args" | "sendRequestWith3Args" | "sendRequestWith5Args" | "setDeleteFromStorage" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "executeRequestWith10ArgsWithPrices", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "executeRequestWith3ArgsWithPrices", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "executeRequestWith5ArgsWithPrices", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "requests", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "sendRequestWith10Args", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "sendRequestWith3Args", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "sendRequestWith5Args", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "setDeleteFromStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "executeRequestWith10ArgsWithPrices", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "executeRequestWith3ArgsWithPrices", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "executeRequestWith5ArgsWithPrices", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "requests", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "sendRequestWith10Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "sendRequestWith3Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "sendRequestWith5Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "setDeleteFromStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface HashCalldataModel extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: HashCalldataModelInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + executeRequestWith10ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + requests(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requests(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: CallOverrides): Promise; + executeRequestWith3ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: CallOverrides): Promise; + executeRequestWith5ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requests(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: CallOverrides): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requests(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(blockNumber: PromiseOrValue, sender: PromiseOrValue, arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requests(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=HashCalldataModel.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts.map new file mode 100644 index 00000000..268dd661 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"HashCalldataModel.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/HashCalldataModel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CAAC,SAAS;IACjE,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,qIAAqI,EAAE,gBAAgB,CAAC;QACxJ,4EAA4E,EAAE,gBAAgB,CAAC;QAC/F,4FAA4F,EAAE,gBAAgB,CAAC;QAC/G,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;QAC1D,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,mBAAmB,EAAE,gBAAgB,CAAC;QACtC,wGAAwG,EAAE,gBAAgB,CAAC;QAC3H,+CAA+C,EAAE,gBAAgB,CAAC;QAClE,+DAA+D,EAAE,gBAAgB,CAAC;QAClF,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,iBAAiB,GACjB,oCAAoC,GACpC,mCAAmC,GACnC,mCAAmC,GACnC,sBAAsB,GACtB,mCAAmC,GACnC,8BAA8B,GAC9B,0BAA0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BAAoB,CAClB,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,kBAAkB,EAAE,cAAc,CAAC,OAAO,CAAC,EAC3C,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js new file mode 100644 index 00000000..a25d9dba --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=HashCalldataModel.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js.map new file mode 100644 index 00000000..a0009f7e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/HashCalldataModel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"HashCalldataModel.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/HashCalldataModel.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts new file mode 100644 index 00000000..cbc276a3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts @@ -0,0 +1,99 @@ +import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface SampleChainableProxyConnectorInterface extends utils.Interface { + functions: { + "processOracleValue(bytes32)": FunctionFragment; + "processOracleValues(bytes32[])": FunctionFragment; + "registerConsumer(address)": FunctionFragment; + "registerNextConnector(address)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "processOracleValue" | "processOracleValues" | "registerConsumer" | "registerNextConnector"): FunctionFragment; + encodeFunctionData(functionFragment: "processOracleValue", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "processOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "registerConsumer", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "registerNextConnector", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "processOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "processOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "registerConsumer", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "registerNextConnector", data: BytesLike): Result; + events: {}; +} +export interface SampleChainableProxyConnector extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleChainableProxyConnectorInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerConsumer(_sampleProxyConnectorConsumer: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerNextConnector(_sampleProxyConnector: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerConsumer(_sampleProxyConnectorConsumer: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerNextConnector(_sampleProxyConnector: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + processOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + registerConsumer(_sampleProxyConnectorConsumer: PromiseOrValue, overrides?: CallOverrides): Promise; + registerNextConnector(_sampleProxyConnector: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerConsumer(_sampleProxyConnectorConsumer: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerNextConnector(_sampleProxyConnector: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerConsumer(_sampleProxyConnectorConsumer: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + registerNextConnector(_sampleProxyConnector: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=SampleChainableProxyConnector.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts.map new file mode 100644 index 00000000..4b6b49ca --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableProxyConnector.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.ts"],"names":[],"mappings":"AAGA,OAAO,KA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C,oBAAoB,CAAC,CAAC;QAEjC,qBAAqB,CACnB,qBAAqB,EAAE,cAAc,CAAC,MAAM,CAAC,EAC7C,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js new file mode 100644 index 00000000..b47b58fe --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleChainableProxyConnector.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js.map new file mode 100644 index 00000000..c687172f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableProxyConnector.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleChainableProxyConnector.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts new file mode 100644 index 00000000..03f8dc8d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts @@ -0,0 +1,211 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface SampleChainableStorageProxyInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getOracleValue(bytes32)": FunctionFragment; + "getOracleValues(bytes32[])": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "oracleValues(bytes32)": FunctionFragment; + "processOracleValue(bytes32)": FunctionFragment; + "processOracleValues(bytes32[])": FunctionFragment; + "register(address)": FunctionFragment; + "saveOracleValueInContractStorage(bytes32)": FunctionFragment; + "saveOracleValuesInContractStorage(bytes32[])": FunctionFragment; + "updateUniqueSignersThreshold(uint8)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getOracleValue" | "getOracleValues" | "getUniqueSignersThreshold" | "oracleValues" | "processOracleValue" | "processOracleValues" | "register" | "saveOracleValueInContractStorage" | "saveOracleValuesInContractStorage" | "updateUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getOracleValue", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "oracleValues", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "processOracleValue", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "processOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "register", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "saveOracleValueInContractStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "saveOracleValuesInContractStorage", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "updateUniqueSignersThreshold", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "oracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "processOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "processOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "register", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValueInContractStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValuesInContractStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "updateUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleChainableStorageProxy extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleChainableStorageProxyInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + register(_sampleContract: PromiseOrValue, overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + oracleValues(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_sampleContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + saveOracleValuesInContractStorage(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleChainableStorageProxy.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts.map new file mode 100644 index 00000000..9f61d123 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxy.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,oCAAqC,SAAQ,KAAK,CAAC,SAAS;IAC3E,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE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E,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,gCAAgC,CAC9B,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC,EACrC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iCAAiC,CAC/B,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACxC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,4BAA4B,CAC1B,yBAAyB,EAAE,cAAc,CAAC,YAAY,CAAC,EACvD,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js new file mode 100644 index 00000000..8c6ff0d3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleChainableStorageProxy.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js.map new file mode 100644 index 00000000..a957b740 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxy.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxy.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts new file mode 100644 index 00000000..a7795476 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts @@ -0,0 +1,91 @@ +import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface SampleChainableStorageProxyConsumerInterface extends utils.Interface { + functions: { + "getComputationResult()": FunctionFragment; + "processOracleValue(bytes32)": FunctionFragment; + "processOracleValues(bytes32[])": FunctionFragment; + "register(address)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "getComputationResult" | "processOracleValue" | "processOracleValues" | "register"): FunctionFragment; + encodeFunctionData(functionFragment: "getComputationResult", values?: undefined): string; + encodeFunctionData(functionFragment: "processOracleValue", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "processOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "register", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "getComputationResult", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "processOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "processOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "register", data: BytesLike): Result; + events: {}; +} +export interface SampleChainableStorageProxyConsumer extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleChainableStorageProxyConsumerInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + getComputationResult(overrides?: CallOverrides): Promise<[BigNumber]>; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_nextContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + getComputationResult(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_nextContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + callStatic: { + getComputationResult(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + register(_nextContract: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + getComputationResult(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_nextContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; + populateTransaction: { + getComputationResult(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + register(_nextContract: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + }; +} +//# sourceMappingURL=SampleChainableStorageProxyConsumer.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts.map new file mode 100644 index 00000000..be76b7fa --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxyConsumer.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,4CACf,SAAQ,KAAK,CAAC,SA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AAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,mBAAmB,CACjB,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACxC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,QAAQ,CACN,aAAa,EAAE,cAAc,CAAC,MAAM,CAAC,EACrC,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js new file mode 100644 index 00000000..d79b4a06 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleChainableStorageProxyConsumer.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js.map new file mode 100644 index 00000000..7c30b5fa --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxyConsumer.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts new file mode 100644 index 00000000..3f0f7929 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts @@ -0,0 +1,235 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface SampleProxyConnectorConsumerInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getComputationResult()": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "getValueForDataFeedId(bytes32)": FunctionFragment; + "getValueManyParams(bytes32,uint256,string,string,string,string,string)": FunctionFragment; + "getValuesForDataFeedIds(bytes32[])": FunctionFragment; + "latestSavedValue()": FunctionFragment; + "processOracleValue(bytes32)": FunctionFragment; + "processOracleValues(bytes32[])": FunctionFragment; + "returnMsgValue()": FunctionFragment; + "revertWithTestMessage()": FunctionFragment; + "revertWithoutMessage()": FunctionFragment; + "saveOracleValueInContractStorage(bytes32)": FunctionFragment; + "updateUniqueSignersThreshold(uint8)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getComputationResult" | "getUniqueSignersThreshold" | "getValueForDataFeedId" | "getValueManyParams" | "getValuesForDataFeedIds" | "latestSavedValue" | "processOracleValue" | "processOracleValues" | "returnMsgValue" | "revertWithTestMessage" | "revertWithoutMessage" | "saveOracleValueInContractStorage" | "updateUniqueSignersThreshold" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getComputationResult", values?: undefined): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "getValueForDataFeedId", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getValueManyParams", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "getValuesForDataFeedIds", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "latestSavedValue", values?: undefined): string; + encodeFunctionData(functionFragment: "processOracleValue", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "processOracleValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "returnMsgValue", values?: undefined): string; + encodeFunctionData(functionFragment: "revertWithTestMessage", values?: undefined): string; + encodeFunctionData(functionFragment: "revertWithoutMessage", values?: undefined): string; + encodeFunctionData(functionFragment: "saveOracleValueInContractStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "updateUniqueSignersThreshold", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getComputationResult", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueForDataFeedId", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValueManyParams", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getValuesForDataFeedIds", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "latestSavedValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "processOracleValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "processOracleValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "returnMsgValue", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "revertWithTestMessage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "revertWithoutMessage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "saveOracleValueInContractStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "updateUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface SampleProxyConnectorConsumer extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: SampleProxyConnectorConsumerInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getComputationResult(overrides?: CallOverrides): Promise<[BigNumber]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; + latestSavedValue(overrides?: CallOverrides): Promise<[BigNumber]>; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise<[void]>; + revertWithoutMessage(overrides?: CallOverrides): Promise<[void]>; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getComputationResult(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getComputationResult(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + returnMsgValue(overrides?: CallOverrides): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getComputationResult(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getComputationResult(overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + getValueForDataFeedId(dataFeedId: PromiseOrValue, overrides?: CallOverrides): Promise; + getValueManyParams(dataFeedId: PromiseOrValue, mockArg1: PromiseOrValue, mockArg2: PromiseOrValue, mockArg3: PromiseOrValue, mockArg4: PromiseOrValue, mockArg5: PromiseOrValue, mockArg6: PromiseOrValue, overrides?: CallOverrides): Promise; + getValuesForDataFeedIds(dataFeedIds: PromiseOrValue[], overrides?: CallOverrides): Promise; + latestSavedValue(overrides?: CallOverrides): Promise; + processOracleValue(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + processOracleValues(dataFeedIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + returnMsgValue(overrides?: PayableOverrides & { + from?: PromiseOrValue; + }): Promise; + revertWithTestMessage(overrides?: CallOverrides): Promise; + revertWithoutMessage(overrides?: CallOverrides): Promise; + saveOracleValueInContractStorage(dataFeedId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + updateUniqueSignersThreshold(newUniqueSignersThreshold: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=SampleProxyConnectorConsumer.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts.map new file mode 100644 index 00000000..014f48ec --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnectorConsumer.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,E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AAC,YAAY,CAAC,EACvD,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js new file mode 100644 index 00000000..ecb06b97 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=SampleProxyConnectorConsumer.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js.map new file mode 100644 index 00000000..385c363f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnectorConsumer.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/SampleProxyConnectorConsumer.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts new file mode 100644 index 00000000..a5ed137c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts @@ -0,0 +1,410 @@ +import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; +import type { FunctionFragment, Result } from "@ethersproject/abi"; +import type { Listener, Provider } from "@ethersproject/providers"; +import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; +export interface StorageStructureModelInterface extends utils.Interface { + functions: { + "aggregateValues(uint256[])": FunctionFragment; + "executeRequestWith10ArgsWithPrices(uint256)": FunctionFragment; + "executeRequestWith3ArgsWithPrices(uint256)": FunctionFragment; + "executeRequestWith5ArgsWithPrices(uint256)": FunctionFragment; + "getAllMockAuthorised(address)": FunctionFragment; + "getAllMockExceptLastOneAuthorised(address)": FunctionFragment; + "getAuthorisedMockSignerIndex(address)": FunctionFragment; + "getAuthorisedSignerIndex(address)": FunctionFragment; + "getUniqueSignersThreshold()": FunctionFragment; + "requestsWith10Args(uint256)": FunctionFragment; + "requestsWith3Args(uint256)": FunctionFragment; + "requestsWith5Args(uint256)": FunctionFragment; + "sendRequestWith10Args(bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32,bytes32)": FunctionFragment; + "sendRequestWith3Args(bytes32,bytes32,bytes32)": FunctionFragment; + "sendRequestWith5Args(bytes32,bytes32,bytes32,bytes32,bytes32)": FunctionFragment; + "setDeleteFromStorage(bool)": FunctionFragment; + "validateTimestamp(uint256)": FunctionFragment; + }; + getFunction(nameOrSignatureOrTopic: "aggregateValues" | "executeRequestWith10ArgsWithPrices" | "executeRequestWith3ArgsWithPrices" | "executeRequestWith5ArgsWithPrices" | "getAllMockAuthorised" | "getAllMockExceptLastOneAuthorised" | "getAuthorisedMockSignerIndex" | "getAuthorisedSignerIndex" | "getUniqueSignersThreshold" | "requestsWith10Args" | "requestsWith3Args" | "requestsWith5Args" | "sendRequestWith10Args" | "sendRequestWith3Args" | "sendRequestWith5Args" | "setDeleteFromStorage" | "validateTimestamp"): FunctionFragment; + encodeFunctionData(functionFragment: "aggregateValues", values: [PromiseOrValue[]]): string; + encodeFunctionData(functionFragment: "executeRequestWith10ArgsWithPrices", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "executeRequestWith3ArgsWithPrices", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "executeRequestWith5ArgsWithPrices", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAllMockExceptLastOneAuthorised", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedMockSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getAuthorisedSignerIndex", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "getUniqueSignersThreshold", values?: undefined): string; + encodeFunctionData(functionFragment: "requestsWith10Args", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "requestsWith3Args", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "requestsWith5Args", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "sendRequestWith10Args", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "sendRequestWith3Args", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "sendRequestWith5Args", values: [ + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue, + PromiseOrValue + ]): string; + encodeFunctionData(functionFragment: "setDeleteFromStorage", values: [PromiseOrValue]): string; + encodeFunctionData(functionFragment: "validateTimestamp", values: [PromiseOrValue]): string; + decodeFunctionResult(functionFragment: "aggregateValues", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "executeRequestWith10ArgsWithPrices", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "executeRequestWith3ArgsWithPrices", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "executeRequestWith5ArgsWithPrices", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAllMockExceptLastOneAuthorised", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedMockSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getAuthorisedSignerIndex", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getUniqueSignersThreshold", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "requestsWith10Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "requestsWith3Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "requestsWith5Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "sendRequestWith10Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "sendRequestWith3Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "sendRequestWith5Args", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "setDeleteFromStorage", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "validateTimestamp", data: BytesLike): Result; + events: {}; +} +export interface StorageStructureModel extends BaseContract { + connect(signerOrProvider: Signer | Provider | string): this; + attach(addressOrName: string): this; + deployed(): Promise; + interface: StorageStructureModelInterface; + queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; + listeners(eventFilter?: TypedEventFilter): Array>; + listeners(eventName?: string): Array; + removeAllListeners(eventFilter: TypedEventFilter): this; + removeAllListeners(eventName?: string): this; + off: OnEvent; + on: OnEvent; + once: OnEvent; + removeListener: OnEvent; + functions: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber]>; + executeRequestWith10ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise<[number]>; + requestsWith10Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + string, + string, + string, + string, + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + arg4: string; + arg5: string; + arg6: string; + arg7: string; + arg8: string; + arg9: string; + arg10: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + requestsWith3Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + requestsWith5Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + arg4: string; + arg5: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise<[void]>; + }; + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requestsWith10Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + string, + string, + string, + string, + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + arg4: string; + arg5: string; + arg6: string; + arg7: string; + arg8: string; + arg9: string; + arg10: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + requestsWith3Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + requestsWith5Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + arg4: string; + arg5: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + callStatic: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(requestId: PromiseOrValue, overrides?: CallOverrides): Promise; + executeRequestWith3ArgsWithPrices(requestId: PromiseOrValue, overrides?: CallOverrides): Promise; + executeRequestWith5ArgsWithPrices(requestId: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requestsWith10Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + string, + string, + string, + string, + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + arg4: string; + arg5: string; + arg6: string; + arg7: string; + arg8: string; + arg9: string; + arg10: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + requestsWith3Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + requestsWith5Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[ + string, + string, + string, + string, + string, + BigNumber, + string + ] & { + arg1: string; + arg2: string; + arg3: string; + arg4: string; + arg5: string; + blockNumber: BigNumber; + requesterAddress: string; + }>; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: CallOverrides): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: CallOverrides): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + filters: {}; + estimateGas: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requestsWith10Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + requestsWith3Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + requestsWith5Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; + populateTransaction: { + aggregateValues(values: PromiseOrValue[], overrides?: CallOverrides): Promise; + executeRequestWith10ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith3ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + executeRequestWith5ArgsWithPrices(requestId: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getAllMockAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAllMockExceptLastOneAuthorised(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedMockSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getAuthorisedSignerIndex(signerAddress: PromiseOrValue, overrides?: CallOverrides): Promise; + getUniqueSignersThreshold(overrides?: CallOverrides): Promise; + requestsWith10Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + requestsWith3Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + requestsWith5Args(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; + sendRequestWith10Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, arg6: PromiseOrValue, arg7: PromiseOrValue, arg8: PromiseOrValue, arg9: PromiseOrValue, arg10: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith3Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + sendRequestWith5Args(arg1: PromiseOrValue, arg2: PromiseOrValue, arg3: PromiseOrValue, arg4: PromiseOrValue, arg5: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + setDeleteFromStorage(_deleteFromStorage: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + validateTimestamp(receivedTimestampMilliseconds: PromiseOrValue, overrides?: CallOverrides): Promise; + }; +} +//# sourceMappingURL=StorageStructureModel.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts.map new file mode 100644 index 00000000..76f6ea2d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StorageStructureModel.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/StorageStructureModel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACP,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,8BAA+B,SAAQ,KAAK,CAAC,SAAS;IACrE,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,6CAA6C,EAAE,gBAAgB,CAAC;QAChE,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,+BAA+B,EAAE,gBAAgB,CAAC;QAClD,4CAA4C,EAAE,gBAAgB,CAAC;QAC/D,uCAAuC,EAAE,gBAAgB,CAAC;QAC1D,mCAAmC,EAAE,gBAAgB,CAAC;QACtD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,6BAA6B,EAAE,gBAAgB,CAAC;QAChD,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,4BAA4B,EAAE,gBAAgB,CAAC;QAC/C,wGAAwG,EAAE,gBAAgB,CAAC;QAC3H,+CAA+C,EAAE,gBAAgB,CAAC;QAClE,+DAA+D,EAAE,gBAAgB,CAAC;QAClF,4BAA4B,EAAE,gBAAgB,CAAC;QAC/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cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,EAC/B,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,oBAAoB,CAClB,kBAAkB,EAAE,cAAc,CAAC,OAAO,CAAC,EAC3C,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;SAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,iBAAiB,CACf,6BAA6B,EAAE,cAAc,CAAC,YAAY,CAAC,EAC3D,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js new file mode 100644 index 00000000..40c9d147 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=StorageStructureModel.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js.map new file mode 100644 index 00000000..8f42292a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/StorageStructureModel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StorageStructureModel.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/StorageStructureModel.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts new file mode 100644 index 00000000..8b6f59e4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts @@ -0,0 +1,8 @@ +export type { Benchmark } from "./Benchmark"; +export type { HashCalldataModel } from "./HashCalldataModel"; +export type { SampleChainableProxyConnector } from "./SampleChainableProxyConnector"; +export type { SampleChainableStorageProxy } from "./SampleChainableStorageProxy"; +export type { SampleChainableStorageProxyConsumer } from "./SampleChainableStorageProxyConsumer"; +export type { SampleProxyConnectorConsumer } from "./SampleProxyConnectorConsumer"; +export type { StorageStructureModel } from "./StorageStructureModel"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts.map new file mode 100644 index 00000000..18306f43 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AACrF,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AACjG,YAAY,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js.map new file mode 100644 index 00000000..f44dc9bf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/benchmarks/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/contracts/samples/benchmarks/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts new file mode 100644 index 00000000..458d53b7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts @@ -0,0 +1,19 @@ +import type * as sampleSyntheticTokenSol from "./SampleSyntheticToken.sol"; +export type { sampleSyntheticTokenSol }; +import type * as benchmarks from "./benchmarks"; +export type { benchmarks }; +export type { SampleBitmapLib } from "./SampleBitmapLib"; +export type { SampleDuplicatedDataFeeds } from "./SampleDuplicatedDataFeeds"; +export type { SampleKydServiceConsumer } from "./SampleKydServiceConsumer"; +export type { SampleNumericArrayLib } from "./SampleNumericArrayLib"; +export type { SampleProxyConnector } from "./SampleProxyConnector"; +export type { SampleRedstoneConsumerBytesMock } from "./SampleRedstoneConsumerBytesMock"; +export type { SampleRedstoneConsumerBytesMockManyDataFeeds } from "./SampleRedstoneConsumerBytesMockManyDataFeeds"; +export type { SampleRedstoneConsumerBytesMockStrings } from "./SampleRedstoneConsumerBytesMockStrings"; +export type { SampleRedstoneConsumerNumericMock } from "./SampleRedstoneConsumerNumericMock"; +export type { SampleRedstoneConsumerNumericMockManyDataFeeds } from "./SampleRedstoneConsumerNumericMockManyDataFeeds"; +export type { SampleRedstoneDefaultsLib } from "./SampleRedstoneDefaultsLib"; +export type { SampleStorageProxy } from "./SampleStorageProxy"; +export type { SampleStorageProxyConsumer } from "./SampleStorageProxyConsumer"; +export type { SampleWithEvents } from "./SampleWithEvents"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts.map new file mode 100644 index 00000000..004e2839 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,uBAAuB,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,uBAAuB,EAAE,CAAC;AACxC,OAAO,KAAK,KAAK,UAAU,MAAM,cAAc,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,CAAC;AAC3B,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,YAAY,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,YAAY,EAAE,4CAA4C,EAAE,MAAM,gDAAgD,CAAC;AACnH,YAAY,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AACvG,YAAY,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAC7F,YAAY,EAAE,8CAA8C,EAAE,MAAM,kDAAkD,CAAC;AACvH,YAAY,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js new file mode 100644 index 00000000..aa219d8f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js.map new file mode 100644 index 00000000..3dee1a0b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/contracts/samples/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/contracts/samples/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts new file mode 100644 index 00000000..f83478b5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts @@ -0,0 +1,2 @@ +export * as src from "./src"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts.map new file mode 100644 index 00000000..a8c5e445 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/@chainlink/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js new file mode 100644 index 00000000..c13e53e7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js @@ -0,0 +1,31 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.src = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.src = __importStar(require("./src")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js.map new file mode 100644 index 00000000..7017704b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/@chainlink/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,6CAA6B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts new file mode 100644 index 00000000..55395d5b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts @@ -0,0 +1,2 @@ +export * as v08 from "./v0.8"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts.map new file mode 100644 index 00000000..7f195a86 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@chainlink/contracts/src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js new file mode 100644 index 00000000..775d70dc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js @@ -0,0 +1,31 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.v08 = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.v08 = __importStar(require("./v0.8")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js.map new file mode 100644 index 00000000..919756af --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@chainlink/contracts/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,8CAA8B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts new file mode 100644 index 00000000..3f4ce49d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts @@ -0,0 +1,2 @@ +export * as interfaces from "./interfaces"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts.map new file mode 100644 index 00000000..a1929f00 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@chainlink/contracts/src/v0.8/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js new file mode 100644 index 00000000..0a8a9bee --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js @@ -0,0 +1,31 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.interfaces = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.interfaces = __importStar(require("./interfaces")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js.map new file mode 100644 index 00000000..64ee6edb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@chainlink/contracts/src/v0.8/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,2DAA2C"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts new file mode 100644 index 00000000..5f0bb837 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts @@ -0,0 +1,23 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { AggregatorV3Interface, AggregatorV3InterfaceInterface } from "../../../../../../@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface"; +export declare class AggregatorV3Interface__factory { + static readonly abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + }[]; + static createInterface(): AggregatorV3InterfaceInterface; + static connect(address: string, signerOrProvider: Signer | Provider): AggregatorV3Interface; +} +//# sourceMappingURL=AggregatorV3Interface__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts.map new file mode 100644 index 00000000..43c1012a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AggregatorV3Interface__factory.d.ts","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC/B,MAAM,kFAAkF,CAAC;AAoH1F,qBAAa,8BAA8B;IACzC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,8BAA8B;IAGxD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,qBAAqB;CAOzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js new file mode 100644 index 00000000..a308082d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js @@ -0,0 +1,131 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AggregatorV3Interface__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "decimals", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "description", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint80", + name: "_roundId", + type: "uint80", + }, + ], + name: "getRoundData", + outputs: [ + { + internalType: "uint80", + name: "roundId", + type: "uint80", + }, + { + internalType: "int256", + name: "answer", + type: "int256", + }, + { + internalType: "uint256", + name: "startedAt", + type: "uint256", + }, + { + internalType: "uint256", + name: "updatedAt", + type: "uint256", + }, + { + internalType: "uint80", + name: "answeredInRound", + type: "uint80", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "latestRoundData", + outputs: [ + { + internalType: "uint80", + name: "roundId", + type: "uint80", + }, + { + internalType: "int256", + name: "answer", + type: "int256", + }, + { + internalType: "uint256", + name: "startedAt", + type: "uint256", + }, + { + internalType: "uint256", + name: "updatedAt", + type: "uint256", + }, + { + internalType: "uint80", + name: "answeredInRound", + type: "uint80", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "version", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, +]; +class AggregatorV3Interface__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.AggregatorV3Interface__factory = AggregatorV3Interface__factory; +AggregatorV3Interface__factory.abi = _abi; +//# sourceMappingURL=AggregatorV3Interface__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map new file mode 100644 index 00000000..33ce14d9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AggregatorV3Interface__factory.js","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,OAAO;aACd;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAA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AS;QACf,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,8BAA8B;IAEzC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAmC,CAAC;IACrE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACQ,CAAC;IAC7B,CAAC;;AAdH,wEAeC;AAdiB,kCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts new file mode 100644 index 00000000..342ed2a9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts @@ -0,0 +1,2 @@ +export { AggregatorV3Interface__factory } from "./AggregatorV3Interface__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map new file mode 100644 index 00000000..4909ac33 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js new file mode 100644 index 00000000..ff5238db --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AggregatorV3Interface__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var AggregatorV3Interface__factory_1 = require("./AggregatorV3Interface__factory"); +Object.defineProperty(exports, "AggregatorV3Interface__factory", { enumerable: true, get: function () { return AggregatorV3Interface__factory_1.AggregatorV3Interface__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map new file mode 100644 index 00000000..6f701970 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@chainlink/contracts/src/v0.8/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mFAAkF;AAAzE,gJAAA,8BAA8B,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts new file mode 100644 index 00000000..0687b2ab --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts @@ -0,0 +1,2 @@ +export * as contracts from "./contracts"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts.map new file mode 100644 index 00000000..6daaeefb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/factories/@chainlink/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js new file mode 100644 index 00000000..57295fd6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js @@ -0,0 +1,31 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.contracts = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.contracts = __importStar(require("./contracts")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js.map new file mode 100644 index 00000000..f7e30df3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@chainlink/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/factories/@chainlink/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,yDAAyC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts new file mode 100644 index 00000000..e6dc3ee9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts @@ -0,0 +1,43 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { Ownable, OwnableInterface } from "../../../../@openzeppelin/contracts/access/Ownable"; +export declare class Ownable__factory { + static readonly abi: ({ + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: never[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: never[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): OwnableInterface; + static connect(address: string, signerOrProvider: Signer | Provider): Ownable; +} +//# sourceMappingURL=Ownable__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts.map new file mode 100644 index 00000000..09a3ed37 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Ownable__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,OAAO,EACP,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAyD5D,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,gBAAgB;IAG1C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,OAAO;CAGX"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js new file mode 100644 index 00000000..41699eb4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js @@ -0,0 +1,72 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Ownable__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "previousOwner", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "newOwner", + type: "address", + }, + ], + name: "OwnershipTransferred", + type: "event", + }, + { + inputs: [], + name: "owner", + outputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "renounceOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "newOwner", + type: "address", + }, + ], + name: "transferOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, +]; +class Ownable__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.Ownable__factory = Ownable__factory; +Ownable__factory.abi = _abi; +//# sourceMappingURL=Ownable__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js.map new file mode 100644 index 00000000..8d1ab259 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Ownable__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,OAAO;QACb,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,gBAAgB;IAE3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAqB,CAAC;IACvD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAY,CAAC;IAClE,CAAC;;AAVH,4CAWC;AAViB,oBAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts new file mode 100644 index 00000000..05bb19ed --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts @@ -0,0 +1,2 @@ +export { Ownable__factory } from "./Ownable__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts.map new file mode 100644 index 00000000..579f7941 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/access/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js new file mode 100644 index 00000000..b7f90674 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Ownable__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var Ownable__factory_1 = require("./Ownable__factory"); +Object.defineProperty(exports, "Ownable__factory", { enumerable: true, get: function () { return Ownable__factory_1.Ownable__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js.map new file mode 100644 index 00000000..ca3728cb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/access/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/access/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts new file mode 100644 index 00000000..af38b9af --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts @@ -0,0 +1,3 @@ +export * as access from "./access"; +export * as token from "./token"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts.map new file mode 100644 index 00000000..cb18fe13 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/@openzeppelin/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js new file mode 100644 index 00000000..0c633a67 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js @@ -0,0 +1,32 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.token = exports.access = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.access = __importStar(require("./access")); +exports.token = __importStar(require("./token")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js.map new file mode 100644 index 00000000..561915b4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/@openzeppelin/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mDAAmC;AACnC,iDAAiC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts new file mode 100644 index 00000000..0f989ce6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts @@ -0,0 +1,36 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { IERC20, IERC20Interface } from "../../../../../@openzeppelin/contracts/token/ERC20/IERC20"; +export declare class IERC20__factory { + static readonly abi: ({ + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): IERC20Interface; + static connect(address: string, signerOrProvider: Signer | Provider): IERC20; +} +//# sourceMappingURL=IERC20__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts.map new file mode 100644 index 00000000..d27a4a3a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20__factory.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,MAAM,EACN,eAAe,EAChB,MAAM,2DAA2D,CAAC;AA4LnE,qBAAa,eAAe;IAC1B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,eAAe;IAGzC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM;CAG7E"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js new file mode 100644 index 00000000..da258f8e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js @@ -0,0 +1,203 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.IERC20__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "owner", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "spender", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + name: "Approval", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "from", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "to", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + name: "Transfer", + type: "event", + }, + { + inputs: [ + { + internalType: "address", + name: "owner", + type: "address", + }, + { + internalType: "address", + name: "spender", + type: "address", + }, + ], + name: "allowance", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "approve", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "balanceOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "totalSupply", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "to", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transfer", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "from", + type: "address", + }, + { + internalType: "address", + name: "to", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transferFrom", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, +]; +class IERC20__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.IERC20__factory = IERC20__factory; +IERC20__factory.abi = _abi; +//# sourceMappingURL=IERC20__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js.map new file mode 100644 index 00000000..d5837498 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20__factory.js","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OA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AAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,eAAe;IAE1B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAoB,CAAC;IACtD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,gBAAmC;QACjE,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAW,CAAC;IACjE,CAAC;;AAPH,0CAQC;AAPiB,mBAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts new file mode 100644 index 00000000..5cefeb1b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts @@ -0,0 +1,36 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { IERC20Metadata, IERC20MetadataInterface } from "../../../../../../@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata"; +export declare class IERC20Metadata__factory { + static readonly abi: ({ + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): IERC20MetadataInterface; + static connect(address: string, signerOrProvider: Signer | Provider): IERC20Metadata; +} +//# sourceMappingURL=IERC20Metadata__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts.map new file mode 100644 index 00000000..d4929ab9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20Metadata__factory.d.ts","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,iFAAiF,CAAC;AAmOzF,qBAAa,uBAAuB;IAClC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,uBAAuB;IAGjD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,cAAc;CAGlB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js new file mode 100644 index 00000000..32cd4dc5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js @@ -0,0 +1,242 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.IERC20Metadata__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "owner", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "spender", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + name: "Approval", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "from", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "to", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + name: "Transfer", + type: "event", + }, + { + inputs: [ + { + internalType: "address", + name: "owner", + type: "address", + }, + { + internalType: "address", + name: "spender", + type: "address", + }, + ], + name: "allowance", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "approve", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "balanceOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "decimals", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "name", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "symbol", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "totalSupply", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "to", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transfer", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "from", + type: "address", + }, + { + internalType: "address", + name: "to", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transferFrom", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, +]; +class IERC20Metadata__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.IERC20Metadata__factory = IERC20Metadata__factory; +IERC20Metadata__factory.abi = _abi; +//# sourceMappingURL=IERC20Metadata__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js.map new file mode 100644 index 00000000..d234fc47 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IERC20Metadata__factory.js","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts"],"names":[],"mapp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EF,MAAa,uBAAuB;IAElC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA4B,CAAC;IAC9D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAmB,CAAC;IACzE,CAAC;;AAVH,0DAWC;AAViB,2BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts new file mode 100644 index 00000000..5d24f12a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts @@ -0,0 +1,2 @@ +export { IERC20Metadata__factory } from "./IERC20Metadata__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map new file mode 100644 index 00000000..8cc2913a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js new file mode 100644 index 00000000..5708a55d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.IERC20Metadata__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var IERC20Metadata__factory_1 = require("./IERC20Metadata__factory"); +Object.defineProperty(exports, "IERC20Metadata__factory", { enumerable: true, get: function () { return IERC20Metadata__factory_1.IERC20Metadata__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map new file mode 100644 index 00000000..ca68ccb9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts new file mode 100644 index 00000000..65abd3ce --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts @@ -0,0 +1,3 @@ +export * as extensions from "./extensions"; +export { IERC20__factory } from "./IERC20__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts.map new file mode 100644 index 00000000..f4345c4e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js new file mode 100644 index 00000000..aab52978 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js @@ -0,0 +1,33 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.IERC20__factory = exports.extensions = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.extensions = __importStar(require("./extensions")); +var IERC20__factory_1 = require("./IERC20__factory"); +Object.defineProperty(exports, "IERC20__factory", { enumerable: true, get: function () { return IERC20__factory_1.IERC20__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js.map new file mode 100644 index 00000000..be1db5ce --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,2DAA2C;AAC3C,qDAAoD;AAA3C,kHAAA,eAAe,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts new file mode 100644 index 00000000..e2e97739 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts @@ -0,0 +1,2 @@ +export * as erc20 from "./ERC20"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts.map new file mode 100644 index 00000000..56faf747 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/token/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js new file mode 100644 index 00000000..8c2abc2a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js @@ -0,0 +1,31 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.erc20 = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.erc20 = __importStar(require("./ERC20")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js.map new file mode 100644 index 00000000..825815bb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/contracts/token/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/@openzeppelin/contracts/token/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,iDAAiC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts new file mode 100644 index 00000000..0687b2ab --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts @@ -0,0 +1,2 @@ +export * as contracts from "./contracts"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts.map new file mode 100644 index 00000000..d608b77c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/factories/@openzeppelin/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js new file mode 100644 index 00000000..57295fd6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js @@ -0,0 +1,31 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.contracts = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.contracts = __importStar(require("./contracts")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js.map new file mode 100644 index 00000000..d2a90675 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/@openzeppelin/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/factories/@openzeppelin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,yDAAyC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts new file mode 100644 index 00000000..975e7131 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts @@ -0,0 +1,30 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { CalldataExtractor, CalldataExtractorInterface } from "../../../contracts/core/CalldataExtractor"; +declare type CalldataExtractorConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class CalldataExtractor__factory extends ContractFactory { + constructor(...args: CalldataExtractorConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): CalldataExtractor; + connect(signer: Signer): CalldataExtractor__factory; + static readonly bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220c8607b1c6c1bc59b48b6314f8f17a811bb982a9d2c005dc4b7c1058c94acda1664736f6c63430008040033"; + static readonly abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + }[]; + static createInterface(): CalldataExtractorInterface; + static connect(address: string, signerOrProvider: Signer | Provider): CalldataExtractor; +} +export {}; +//# sourceMappingURL=CalldataExtractor__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts.map new file mode 100644 index 00000000..8fabf271 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CalldataExtractor__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/CalldataExtractor__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,2CAA2C,CAAC;AAiEnD,aAAK,kCAAkC,GACnC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,0BAA2B,SAAQ,eAAe;gBACjD,GAAG,IAAI,EAAE,kCAAkC;IAQ9C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,iBAAiB,CAAC;IAGpB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB;IAG1C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,0BAA0B;IAI5D,MAAM,CAAC,QAAQ,CAAC,QAAQ,gMAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iBAAiB;CAGrB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js new file mode 100644 index 00000000..9a6e2308 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js @@ -0,0 +1,100 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CalldataExtractor__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, +]; +const _bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220c8607b1c6c1bc59b48b6314f8f17a811bb982a9d2c005dc4b7c1058c94acda1664736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class CalldataExtractor__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.CalldataExtractor__factory = CalldataExtractor__factory; +CalldataExtractor__factory.bytecode = _bytecode; +CalldataExtractor__factory.abi = _abi; +//# sourceMappingURL=CalldataExtractor__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js.map new file mode 100644 index 00000000..863de3af --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/CalldataExtractor__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CalldataExtractor__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/CalldataExtractor__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,S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AC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts new file mode 100644 index 00000000..03d385e2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts @@ -0,0 +1,30 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { ProxyConnector, ProxyConnectorInterface } from "../../../contracts/core/ProxyConnector"; +declare type ProxyConnectorConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class ProxyConnector__factory extends ContractFactory { + constructor(...args: ProxyConnectorConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): ProxyConnector; + connect(signer: Signer): ProxyConnector__factory; + static readonly bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212201699bf1ffa96e9a94c912366da77867681765ce6d9803c82d1099044b7b2ce3564736f6c63430008040033"; + static readonly abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + }[]; + static createInterface(): ProxyConnectorInterface; + static connect(address: string, signerOrProvider: Signer | Provider): ProxyConnector; +} +export {}; +//# sourceMappingURL=ProxyConnector__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts.map new file mode 100644 index 00000000..939fae48 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ProxyConnector__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/ProxyConnector__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,wCAAwC,CAAC;AA4FhD,aAAK,+BAA+B,GAChC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,uBAAwB,SAAQ,eAAe;gBAC9C,GAAG,IAAI,EAAE,+BAA+B;IAQ3C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,cAAc,CAAC;IAGjB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc;IAGvC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,uBAAuB;IAIzD,MAAM,CAAC,QAAQ,CAAC,QAAQ,gMAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,uBAAuB;IAGjD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,cAAc;CAGlB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js new file mode 100644 index 00000000..be4bcc7c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js @@ -0,0 +1,127 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProxyConnector__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes", + name: "result", + type: "bytes", + }, + ], + name: "ProxyCalldataFailedWithCustomError", + type: "error", + }, + { + inputs: [ + { + internalType: "string", + name: "message", + type: "string", + }, + ], + name: "ProxyCalldataFailedWithStringMessage", + type: "error", + }, + { + inputs: [], + name: "ProxyCalldataFailedWithoutErrMsg", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, +]; +const _bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212201699bf1ffa96e9a94c912366da77867681765ce6d9803c82d1099044b7b2ce3564736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class ProxyConnector__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.ProxyConnector__factory = ProxyConnector__factory; +ProxyConnector__factory.bytecode = _bytecode; +ProxyConnector__factory.abi = _abi; +//# sourceMappingURL=ProxyConnector__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js.map new file mode 100644 index 00000000..c3a00425 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/ProxyConnector__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ProxyConnector__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/ProxyConnector__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MA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AI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAA4B,CAAC;IAClE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAmB,CAAC;IACjD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA4B,CAAC;IAC1D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA4B,CAAC;IAC9D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAmB,CAAC;IACzE,CAAC;;AApCH,0DAqCC;AAXiB,gCAAQ,GAAG,SAAS,CAAC;AACrB,2BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts new file mode 100644 index 00000000..9d690067 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts @@ -0,0 +1,30 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { RedstoneConstants, RedstoneConstantsInterface } from "../../../contracts/core/RedstoneConstants"; +declare type RedstoneConstantsConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class RedstoneConstants__factory extends ContractFactory { + constructor(...args: RedstoneConstantsConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): RedstoneConstants; + connect(signer: Signer): RedstoneConstants__factory; + static readonly bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220ba877f9705182d1df9f87499f420a811588acead94fe3242e62f8b1bb87188f064736f6c63430008040033"; + static readonly abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + }[]; + static createInterface(): RedstoneConstantsInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConstants; +} +export {}; +//# sourceMappingURL=RedstoneConstants__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts.map new file mode 100644 index 00000000..7490ca38 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConstants__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConstants__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,2CAA2C,CAAC;AAiEnD,aAAK,kCAAkC,GACnC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,0BAA2B,SAAQ,eAAe;gBACjD,GAAG,IAAI,EAAE,kCAAkC;IAQ9C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,iBAAiB,CAAC;IAGpB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB;IAG1C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,0BAA0B;IAI5D,MAAM,CAAC,QAAQ,CAAC,QAAQ,gMAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iBAAiB;CAGrB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js new file mode 100644 index 00000000..ee0fbfb3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js @@ -0,0 +1,100 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneConstants__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, +]; +const _bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220ba877f9705182d1df9f87499f420a811588acead94fe3242e62f8b1bb87188f064736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class RedstoneConstants__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RedstoneConstants__factory = RedstoneConstants__factory; +RedstoneConstants__factory.bytecode = _bytecode; +RedstoneConstants__factory.abi = _abi; +//# sourceMappingURL=RedstoneConstants__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js.map new file mode 100644 index 00000000..9e433f9f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConstants__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConstants__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConstants__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,SAAS,GACb,4LAA4L,CAAC;AAM/L,MAAM,WAAW,GAAG,CAClB,EAAsC,EACe,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,0BAA2B,SAAQ,wBAAe;IAC7D,YAAY,GAAG,IAAwC;QACrD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAA+B,CAAC;IACrE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAsB,CAAC;IACpD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA+B,CAAC;IAC7D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA+B,CAAC;IACjE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAsB,CAAC;IAC5E,CAAC;;AApCH,gEAqCC;AAXiB,mCAAQ,GAAG,SAAS,CAAC;AACrB,8BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts new file mode 100644 index 00000000..5bc256ab --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts @@ -0,0 +1,33 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { RedstoneConsumerBase, RedstoneConsumerBaseInterface } from "../../../contracts/core/RedstoneConsumerBase"; +export declare class RedstoneConsumerBase__factory { + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): RedstoneConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConsumerBase; +} +//# sourceMappingURL=RedstoneConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..f2b8ac49 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC9B,MAAM,8CAA8C,CAAC;AAmKtD,qBAAa,6BAA6B;IACxC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,6BAA6B;IAGvD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,oBAAoB;CAOxB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js new file mode 100644 index 00000000..9b5e1674 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js @@ -0,0 +1,178 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneConsumerBase__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +class RedstoneConsumerBase__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RedstoneConsumerBase__factory = RedstoneConsumerBase__factory; +RedstoneConsumerBase__factory.abi = _abi; +//# sourceMappingURL=RedstoneConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js.map new file mode 100644 index 00000000..b2aeb563 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConsumerBase__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;Q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AAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,6BAA6B;IAExC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAkC,CAAC;IACpE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACO,CAAC;IAC5B,CAAC;;AAdH,sEAeC;AAdiB,iCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts new file mode 100644 index 00000000..36fec301 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts @@ -0,0 +1,33 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { RedstoneConsumerBytesBase, RedstoneConsumerBytesBaseInterface } from "../../../contracts/core/RedstoneConsumerBytesBase"; +export declare class RedstoneConsumerBytesBase__factory { + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): RedstoneConsumerBytesBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConsumerBytesBase; +} +//# sourceMappingURL=RedstoneConsumerBytesBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts.map new file mode 100644 index 00000000..c6bd7e91 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,mDAAmD,CAAC;AAiL3D,qBAAa,kCAAkC;IAC7C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js new file mode 100644 index 00000000..daf29602 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js @@ -0,0 +1,192 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneConsumerBytesBase__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersForValues", + type: "uint256[]", + }, + ], + name: "aggregateByteValues", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersToValues", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "pointerToResultBytesInMemory", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +class RedstoneConsumerBytesBase__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RedstoneConsumerBytesBase__factory = RedstoneConsumerBytesBase__factory; +RedstoneConsumerBytesBase__factory.abi = _abi; +//# sourceMappingURL=RedstoneConsumerBytesBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js.map new file mode 100644 index 00000000..08f8e1ce --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConsumerBytesBase__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE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AAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACY,CAAC;IACjC,CAAC;;AAdH,gFAeC;AAdiB,sCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts new file mode 100644 index 00000000..c6a41662 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts @@ -0,0 +1,33 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { RedstoneConsumerNumericBase, RedstoneConsumerNumericBaseInterface } from "../../../contracts/core/RedstoneConsumerNumericBase"; +export declare class RedstoneConsumerNumericBase__factory { + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): RedstoneConsumerNumericBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConsumerNumericBase; +} +//# sourceMappingURL=RedstoneConsumerNumericBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts.map new file mode 100644 index 00000000..0e04e5c1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,qDAAqD,CAAC;AAmK7D,qBAAa,oCAAoC;IAC/C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oCAAoC;IAG9D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,2BAA2B;CAO/B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js new file mode 100644 index 00000000..0ec721ba --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js @@ -0,0 +1,178 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneConsumerNumericBase__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +class RedstoneConsumerNumericBase__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RedstoneConsumerNumericBase__factory = RedstoneConsumerNumericBase__factory; +RedstoneConsumerNumericBase__factory.abi = _abi; +//# sourceMappingURL=RedstoneConsumerNumericBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js.map new file mode 100644 index 00000000..1e9b21cf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneConsumerNumericBase__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;I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AY,EAAE,OAAO;gBACrB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,OAAO;aACd;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,2BAA2B;QACjC,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,OAAO;aACd;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,+BAA+B;gBACrC,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,oCAAoC;IAE/C,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAyC,CAAC;IAC3E,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACc,CAAC;IACnC,CAAC;;AAdH,oFAeC;AAdiB,wCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts new file mode 100644 index 00000000..f883cf43 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts @@ -0,0 +1,30 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { RedstoneDefaultsLib, RedstoneDefaultsLibInterface } from "../../../contracts/core/RedstoneDefaultsLib"; +declare type RedstoneDefaultsLibConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class RedstoneDefaultsLib__factory extends ContractFactory { + constructor(...args: RedstoneDefaultsLibConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): RedstoneDefaultsLib; + connect(signer: Signer): RedstoneDefaultsLib__factory; + static readonly bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220319dc6952c5cb841bfe520adcf116c0d80c801a4f3249633571f3616584c554164736f6c63430008040033"; + static readonly abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + }[]; + static createInterface(): RedstoneDefaultsLibInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RedstoneDefaultsLib; +} +export {}; +//# sourceMappingURL=RedstoneDefaultsLib__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts.map new file mode 100644 index 00000000..81990139 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneDefaultsLib__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,mBAAmB,EACnB,4BAA4B,EAC7B,MAAM,6CAA6C,CAAC;AAwCrD,aAAK,oCAAoC,GACrC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,4BAA6B,SAAQ,eAAe;gBACnD,GAAG,IAAI,EAAE,oCAAoC;IAQhD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,mBAAmB,CAAC;IAGtB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,mBAAmB;IAG5C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,4BAA4B;IAI9D,MAAM,CAAC,QAAQ,CAAC,QAAQ,kSAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,4BAA4B;IAGtD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,mBAAmB;CAGvB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js new file mode 100644 index 00000000..36ed33a3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js @@ -0,0 +1,75 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneDefaultsLib__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, +]; +const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220319dc6952c5cb841bfe520adcf116c0d80c801a4f3249633571f3616584c554164736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class RedstoneDefaultsLib__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RedstoneDefaultsLib__factory = RedstoneDefaultsLib__factory; +RedstoneDefaultsLib__factory.bytecode = _bytecode; +RedstoneDefaultsLib__factory.abi = _abi; +//# sourceMappingURL=RedstoneDefaultsLib__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js.map new file mode 100644 index 00000000..43847092 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneDefaultsLib__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/RedstoneDefaultsLib__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,0BAA0B;gBAChC,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,4BAA4B;QAClC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,0BAA0B;gBAChC,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,SAAS,GACb,8RAA8R,CAAC;AAMjS,MAAM,WAAW,GAAG,CAClB,EAAwC,EACa,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,4BAA6B,SAAQ,wBAAe;IAC/D,YAAY,GAAG,IAA0C;QACvD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAAiC,CAAC;IACvE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAwB,CAAC;IACtD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAiC,CAAC;IAC/D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAiC,CAAC;IACnE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAwB,CAAC;IAC9E,CAAC;;AApCH,oEAqCC;AAXiB,qCAAQ,GAAG,SAAS,CAAC;AACrB,gCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts new file mode 100644 index 00000000..ccacffe0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts @@ -0,0 +1,8 @@ +export { CalldataExtractor__factory } from "./CalldataExtractor__factory"; +export { ProxyConnector__factory } from "./ProxyConnector__factory"; +export { RedstoneConstants__factory } from "./RedstoneConstants__factory"; +export { RedstoneConsumerBase__factory } from "./RedstoneConsumerBase__factory"; +export { RedstoneConsumerBytesBase__factory } from "./RedstoneConsumerBytesBase__factory"; +export { RedstoneConsumerNumericBase__factory } from "./RedstoneConsumerNumericBase__factory"; +export { RedstoneDefaultsLib__factory } from "./RedstoneDefaultsLib__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts.map new file mode 100644 index 00000000..3f347adf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js new file mode 100644 index 00000000..af185934 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneDefaultsLib__factory = exports.RedstoneConsumerNumericBase__factory = exports.RedstoneConsumerBytesBase__factory = exports.RedstoneConsumerBase__factory = exports.RedstoneConstants__factory = exports.ProxyConnector__factory = exports.CalldataExtractor__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var CalldataExtractor__factory_1 = require("./CalldataExtractor__factory"); +Object.defineProperty(exports, "CalldataExtractor__factory", { enumerable: true, get: function () { return CalldataExtractor__factory_1.CalldataExtractor__factory; } }); +var ProxyConnector__factory_1 = require("./ProxyConnector__factory"); +Object.defineProperty(exports, "ProxyConnector__factory", { enumerable: true, get: function () { return ProxyConnector__factory_1.ProxyConnector__factory; } }); +var RedstoneConstants__factory_1 = require("./RedstoneConstants__factory"); +Object.defineProperty(exports, "RedstoneConstants__factory", { enumerable: true, get: function () { return RedstoneConstants__factory_1.RedstoneConstants__factory; } }); +var RedstoneConsumerBase__factory_1 = require("./RedstoneConsumerBase__factory"); +Object.defineProperty(exports, "RedstoneConsumerBase__factory", { enumerable: true, get: function () { return RedstoneConsumerBase__factory_1.RedstoneConsumerBase__factory; } }); +var RedstoneConsumerBytesBase__factory_1 = require("./RedstoneConsumerBytesBase__factory"); +Object.defineProperty(exports, "RedstoneConsumerBytesBase__factory", { enumerable: true, get: function () { return RedstoneConsumerBytesBase__factory_1.RedstoneConsumerBytesBase__factory; } }); +var RedstoneConsumerNumericBase__factory_1 = require("./RedstoneConsumerNumericBase__factory"); +Object.defineProperty(exports, "RedstoneConsumerNumericBase__factory", { enumerable: true, get: function () { return RedstoneConsumerNumericBase__factory_1.RedstoneConsumerNumericBase__factory; } }); +var RedstoneDefaultsLib__factory_1 = require("./RedstoneDefaultsLib__factory"); +Object.defineProperty(exports, "RedstoneDefaultsLib__factory", { enumerable: true, get: function () { return RedstoneDefaultsLib__factory_1.RedstoneDefaultsLib__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js.map new file mode 100644 index 00000000..d29083ed --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/core/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/core/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,2EAA0E;AAAjE,wIAAA,0BAA0B,OAAA;AACnC,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,2EAA0E;AAAjE,wIAAA,0BAA0B,OAAA;AACnC,iFAAgF;AAAvE,8IAAA,6BAA6B,OAAA;AACtC,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,+FAA8F;AAArF,4JAAA,oCAAoC,OAAA;AAC7C,+EAA8E;AAArE,4IAAA,4BAA4B,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts new file mode 100644 index 00000000..bfc32a05 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { AvalancheDataServiceConsumerBase, AvalancheDataServiceConsumerBaseInterface } from "../../../contracts/data-services/AvalancheDataServiceConsumerBase"; +declare type AvalancheDataServiceConsumerBaseConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class AvalancheDataServiceConsumerBase__factory extends ContractFactory { + constructor(...args: AvalancheDataServiceConsumerBaseConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): AvalancheDataServiceConsumerBase; + connect(signer: Signer): AvalancheDataServiceConsumerBase__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b5061070d806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046104c9565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e6100893660046104fd565b61022b565b604051908152602001610072565b6100af6100aa3660046105db565b61023c565b005b6003610064565b6000731ea62d73edf8ac05dfcea1a34b9796e937a29eff73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b732c59617248994d12816ee1fa77ce0a64eeb456bf73ffffffffffffffffffffffffffffffffffffffff8316141561012e57506001919050565b7312470f7aba85c8b81d63137dd5925d6ee114952b73ffffffffffffffffffffffffffffffffffffffff8316141561016857506002919050565b73109b4a318a4f5ddcbca6349b45f881b4137deafb73ffffffffffffffffffffffffffffffffffffffff831614156101a257506003919050565b7383cba8c619fb629b81a65c2e67fe15cf3e3c974773ffffffffffffffffffffffffffffffffffffffff831614156101dc57506004919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061023682610248565b92915050565b61024581610253565b50565b600061023682610309565b60006102616103e88361060b565b9050804210156102bc57603c610277428361061f565b11156102b8576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610222565b5050565b60b46102c8824261061f565b11156102b8576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610222565b6000815160001415610347576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61035082610468565b600060028351610360919061060b565b9050600283516103709190610636565b61041f57600061040a8461038560018561061f565b815181106103bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518584815181106103fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516104b6565b905061041760028261060b565b949350505050565b828181518110610458577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156104b057815b818110156104a757815181518082101561049d578084528183525b5050602001610482565b50602001610478565b50505050565b60006104c282846105f3565b9392505050565b6000602082840312156104da578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146104c2578182fd5b6000602080838503121561050f578182fd5b823567ffffffffffffffff80821115610526578384fd5b818501915085601f830112610539578384fd5b81358181111561054b5761054b6106a8565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561058e5761058e6106a8565b604052828152858101935084860182860187018a10156105ac578788fd5b8795505b838610156105ce5780358552600195909501949386019386016105b0565b5098975050505050505050565b6000602082840312156105ec578081fd5b5035919050565b600082198211156106065761060661064a565b500190565b60008261061a5761061a610679565b500490565b6000828210156106315761063161064a565b500390565b60008261064557610645610679565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220cc4ccc3283d88283cbdf9ba7b6da3384638198602c22c1bbbf87f5ad6eae2f9d64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): AvalancheDataServiceConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): AvalancheDataServiceConsumerBase; +} +export {}; +//# sourceMappingURL=AvalancheDataServiceConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..10fc3052 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AvalancheDataServiceConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,gCAAgC,EAChC,yCAAyC,EAC1C,MAAM,mEAAmE,CAAC;AAsK3E,aAAK,iDAAiD,GAClD,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,yCAA0C,SAAQ,eAAe;gBAChE,GAAG,IAAI,EAAE,iDAAiD;IAQ7D,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,gCAAgC,CAAC;IAKnC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,gCAAgC;IAGzD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,yCAAyC;IAI3E,MAAM,CAAC,QAAQ,CAAC,QAAQ,kmHAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,yCAAyC;IAKnE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,gCAAgC;CAOpC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js new file mode 100644 index 00000000..d3d1ce8c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js @@ -0,0 +1,201 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AvalancheDataServiceConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b5061070d806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046104c9565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e6100893660046104fd565b61022b565b604051908152602001610072565b6100af6100aa3660046105db565b61023c565b005b6003610064565b6000731ea62d73edf8ac05dfcea1a34b9796e937a29eff73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b732c59617248994d12816ee1fa77ce0a64eeb456bf73ffffffffffffffffffffffffffffffffffffffff8316141561012e57506001919050565b7312470f7aba85c8b81d63137dd5925d6ee114952b73ffffffffffffffffffffffffffffffffffffffff8316141561016857506002919050565b73109b4a318a4f5ddcbca6349b45f881b4137deafb73ffffffffffffffffffffffffffffffffffffffff831614156101a257506003919050565b7383cba8c619fb629b81a65c2e67fe15cf3e3c974773ffffffffffffffffffffffffffffffffffffffff831614156101dc57506004919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061023682610248565b92915050565b61024581610253565b50565b600061023682610309565b60006102616103e88361060b565b9050804210156102bc57603c610277428361061f565b11156102b8576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610222565b5050565b60b46102c8824261061f565b11156102b8576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610222565b6000815160001415610347576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61035082610468565b600060028351610360919061060b565b9050600283516103709190610636565b61041f57600061040a8461038560018561061f565b815181106103bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518584815181106103fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516104b6565b905061041760028261060b565b949350505050565b828181518110610458577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156104b057815b818110156104a757815181518082101561049d578084528183525b5050602001610482565b50602001610478565b50505050565b60006104c282846105f3565b9392505050565b6000602082840312156104da578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146104c2578182fd5b6000602080838503121561050f578182fd5b823567ffffffffffffffff80821115610526578384fd5b818501915085601f830112610539578384fd5b81358181111561054b5761054b6106a8565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561058e5761058e6106a8565b604052828152858101935084860182860187018a10156105ac578788fd5b8795505b838610156105ce5780358552600195909501949386019386016105b0565b5098975050505050505050565b6000602082840312156105ec578081fd5b5035919050565b600082198211156106065761060661064a565b500190565b60008261061a5761061a610679565b500490565b6000828210156106315761063161064a565b500390565b60008261064557610645610679565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220cc4ccc3283d88283cbdf9ba7b6da3384638198602c22c1bbbf87f5ad6eae2f9d64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class AvalancheDataServiceConsumerBase__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.AvalancheDataServiceConsumerBase__factory = AvalancheDataServiceConsumerBase__factory; +AvalancheDataServiceConsumerBase__factory.bytecode = _bytecode; +AvalancheDataServiceConsumerBase__factory.abi = _abi; +//# sourceMappingURL=AvalancheDataServiceConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js.map new file mode 100644 index 00000000..3faa731b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AvalancheDataServiceConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,I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Aa,yCAA0C,SAAQ,wBAAe;IAC5E,YAAY,GAAG,IAAuD;QACpE,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CACjB,SAAS,IAAI,EAAE,CAC6B,CAAC;IACjD,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAqC,CAAC;IACnE,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA8C,CAAC;IAC5E,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CACxB,IAAI,CACwC,CAAC;IACjD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACmB,CAAC;IACxC,CAAC;;AA5CH,8FA6CC;AAjBiB,kDAAQ,GAAG,SAAS,CAAC;AACrB,6CAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts new file mode 100644 index 00000000..d0e1b0bc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { CustomUrlsConsumerBase, CustomUrlsConsumerBaseInterface } from "../../../contracts/data-services/CustomUrlsConsumerBase"; +declare type CustomUrlsConsumerBaseConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class CustomUrlsConsumerBase__factory extends ContractFactory { + constructor(...args: CustomUrlsConsumerBaseConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): CustomUrlsConsumerBase; + connect(signer: Signer): CustomUrlsConsumerBase__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b5061065f806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f36600461041b565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e61008936600461044f565b61017d565b604051908152602001610072565b6100af6100aa36600461052d565b61018e565b005b6002610064565b60007311fffc9970c41b9bfb9aa35be838d39bce918cff73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b73dbcc2c6c892c8d3e3fe4d325fec810b7376a5ed673ffffffffffffffffffffffffffffffffffffffff8316141561012e57506001919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006101888261019a565b92915050565b610197816101a5565b50565b60006101888261025b565b60006101b36103e88361055d565b90508042101561020e57603c6101c94283610571565b111561020a576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b5050565b60b461021a8242610571565b111561020a576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b6000815160001415610299576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102a2826103ba565b6000600283516102b2919061055d565b9050600283516102c29190610588565b61037157600061035c846102d7600185610571565b8151811061030e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185848151811061034f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610408565b905061036960028261055d565b949350505050565b8281815181106103aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b8281101561040257815b818110156103f95781518151808210156103ef578084528183525b50506020016103d4565b506020016103ca565b50505050565b60006104148284610545565b9392505050565b60006020828403121561042c578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610414578182fd5b60006020808385031215610461578182fd5b823567ffffffffffffffff80821115610478578384fd5b818501915085601f83011261048b578384fd5b81358181111561049d5761049d6105fa565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104e0576104e06105fa565b604052828152858101935084860182860187018a10156104fe578788fd5b8795505b83861015610520578035855260019590950194938601938601610502565b5098975050505050505050565b60006020828403121561053e578081fd5b5035919050565b600082198211156105585761055861059c565b500190565b60008261056c5761056c6105cb565b500490565b6000828210156105835761058361059c565b500390565b600082610597576105976105cb565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212204a91077936ef4a48230d51cd50b92ffed80739369398ef46bdb2e0f14365916a64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): CustomUrlsConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): CustomUrlsConsumerBase; +} +export {}; +//# sourceMappingURL=CustomUrlsConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..d395c6b9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomUrlsConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,yDAAyD,CAAC;AAsKjE,aAAK,uCAAuC,GACxC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,+BAAgC,SAAQ,eAAe;gBACtD,GAAG,IAAI,EAAE,uCAAuC;IAQnD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,sBAAsB,CAAC;IAGzB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB;IAG/C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,+BAA+B;IAIjE,MAAM,CAAC,QAAQ,CAAC,QAAQ,swGAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,+BAA+B;IAGzD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,sBAAsB;CAO1B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js new file mode 100644 index 00000000..85bb598c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js @@ -0,0 +1,201 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CustomUrlsConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b5061065f806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f36600461041b565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e61008936600461044f565b61017d565b604051908152602001610072565b6100af6100aa36600461052d565b61018e565b005b6002610064565b60007311fffc9970c41b9bfb9aa35be838d39bce918cff73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b73dbcc2c6c892c8d3e3fe4d325fec810b7376a5ed673ffffffffffffffffffffffffffffffffffffffff8316141561012e57506001919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006101888261019a565b92915050565b610197816101a5565b50565b60006101888261025b565b60006101b36103e88361055d565b90508042101561020e57603c6101c94283610571565b111561020a576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b5050565b60b461021a8242610571565b111561020a576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b6000815160001415610299576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6102a2826103ba565b6000600283516102b2919061055d565b9050600283516102c29190610588565b61037157600061035c846102d7600185610571565b8151811061030e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185848151811061034f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610408565b905061036960028261055d565b949350505050565b8281815181106103aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b8281101561040257815b818110156103f95781518151808210156103ef578084528183525b50506020016103d4565b506020016103ca565b50505050565b60006104148284610545565b9392505050565b60006020828403121561042c578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610414578182fd5b60006020808385031215610461578182fd5b823567ffffffffffffffff80821115610478578384fd5b818501915085601f83011261048b578384fd5b81358181111561049d5761049d6105fa565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104e0576104e06105fa565b604052828152858101935084860182860187018a10156104fe578788fd5b8795505b83861015610520578035855260019590950194938601938601610502565b5098975050505050505050565b60006020828403121561053e578081fd5b5035919050565b600082198211156105585761055861059c565b500190565b60008261056c5761056c6105cb565b500490565b6000828210156105835761058361059c565b500390565b600082610597576105976105cb565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212204a91077936ef4a48230d51cd50b92ffed80739369398ef46bdb2e0f14365916a64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class CustomUrlsConsumerBase__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.CustomUrlsConsumerBase__factory = CustomUrlsConsumerBase__factory; +CustomUrlsConsumerBase__factory.bytecode = _bytecode; +CustomUrlsConsumerBase__factory.abi = _abi; +//# sourceMappingURL=CustomUrlsConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js.map new file mode 100644 index 00000000..1bdbe722 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomUrlsConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/CustomUrlsConsumerBase__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAA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AClB,EAA2C,EACU,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,+BAAgC,SAAQ,wBAAe;IAClE,YAAY,GAAG,IAA6C;QAC1D,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAAoC,CAAC;IAC1E,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA2B,CAAC;IACzD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAoC,CAAC;IAClE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAoC,CAAC;IACtE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACS,CAAC;IAC9B,CAAC;;AAxCH,0EAyCC;AAfiB,wCAAQ,GAAG,SAAS,CAAC;AACrB,mCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts new file mode 100644 index 00000000..7ad0ad08 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { KydServiceConsumerBase, KydServiceConsumerBaseInterface } from "../../../contracts/data-services/KydServiceConsumerBase"; +declare type KydServiceConsumerBaseConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class KydServiceConsumerBase__factory extends ContractFactory { + constructor(...args: KydServiceConsumerBaseConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): KydServiceConsumerBase; + connect(signer: Signer): KydServiceConsumerBase__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506105b3806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f366004610365565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e6100893660046103a0565b61017d565b604051908152602001610072565b6100af6100aa36600461047e565b6102a3565b005b6002610064565b60007370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561012e57506001919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60008151600014156101bb576040517fdfac221e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826000815181106101f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000600190505b835181101561029c578184828151811061024b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101511461028a576040517fd5e55d1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610294816104e6565b915050610208565b5092915050565b6102ac816102af565b50565b60006102bd6103e883610496565b90508042101561031857603c6102d342836104cf565b1115610314576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b5050565b60b461032482426104cf565b1115610314576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b600060208284031215610376578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610399578182fd5b9392505050565b600060208083850312156103b2578182fd5b823567ffffffffffffffff808211156103c9578384fd5b818501915085601f8301126103dc578384fd5b8135818111156103ee576103ee61054e565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104315761043161054e565b604052828152858101935084860182860187018a101561044f578788fd5b8795505b83861015610471578035855260019590950194938601938601610453565b5098975050505050505050565b60006020828403121561048f578081fd5b5035919050565b6000826104ca577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000828210156104e1576104e161051f565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156105185761051861051f565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220fbfed373c44f00b6e4bf640b595febaf95ed737f90976b8ddec313db3c9bb9b264736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): KydServiceConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): KydServiceConsumerBase; +} +export {}; +//# sourceMappingURL=KydServiceConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..2887a557 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"KydServiceConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,yDAAyD,CAAC;AA2KjE,aAAK,uCAAuC,GACxC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,+BAAgC,SAAQ,eAAe;gBACtD,GAAG,IAAI,EAAE,uCAAuC;IAQnD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,sBAAsB,CAAC;IAGzB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB;IAG/C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,+BAA+B;IAIjE,MAAM,CAAC,QAAQ,CAAC,QAAQ,86FAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,+BAA+B;IAGzD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,sBAAsB;CAO1B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js new file mode 100644 index 00000000..b8c77335 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js @@ -0,0 +1,206 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.KydServiceConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "AllValuesMustBeEqual", + type: "error", + }, + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [], + name: "ValuesArrayCanNotBeEmpty", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506105b3806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f366004610365565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e6100893660046103a0565b61017d565b604051908152602001610072565b6100af6100aa36600461047e565b6102a3565b005b6002610064565b60007370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561012e57506001919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60008151600014156101bb576040517fdfac221e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826000815181106101f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000600190505b835181101561029c578184828151811061024b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101511461028a576040517fd5e55d1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610294816104e6565b915050610208565b5092915050565b6102ac816102af565b50565b60006102bd6103e883610496565b90508042101561031857603c6102d342836104cf565b1115610314576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b5050565b60b461032482426104cf565b1115610314576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610174565b600060208284031215610376578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610399578182fd5b9392505050565b600060208083850312156103b2578182fd5b823567ffffffffffffffff808211156103c9578384fd5b818501915085601f8301126103dc578384fd5b8135818111156103ee576103ee61054e565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104315761043161054e565b604052828152858101935084860182860187018a101561044f578788fd5b8795505b83861015610471578035855260019590950194938601938601610453565b5098975050505050505050565b60006020828403121561048f578081fd5b5035919050565b6000826104ca577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000828210156104e1576104e161051f565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156105185761051861051f565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220fbfed373c44f00b6e4bf640b595febaf95ed737f90976b8ddec313db3c9bb9b264736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class KydServiceConsumerBase__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.KydServiceConsumerBase__factory = KydServiceConsumerBase__factory; +KydServiceConsumerBase__factory.bytecode = _bytecode; +KydServiceConsumerBase__factory.abi = _abi; +//# sourceMappingURL=KydServiceConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js.map new file mode 100644 index 00000000..9127bb2a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"KydServiceConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/KydServiceConsumerBase__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE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AC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAAoC,CAAC;IAC1E,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA2B,CAAC;IACzD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAoC,CAAC;IAClE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAoC,CAAC;IACtE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACS,CAAC;IAC9B,CAAC;;AAxCH,0EAyCC;AAfiB,wCAAQ,GAAG,SAAS,CAAC;AACrB,mCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts new file mode 100644 index 00000000..3f4caa26 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { MainDemoConsumerBase, MainDemoConsumerBaseInterface } from "../../../contracts/data-services/MainDemoConsumerBase"; +declare type MainDemoConsumerBaseConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class MainDemoConsumerBase__factory extends ContractFactory { + constructor(...args: MainDemoConsumerBaseConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): MainDemoConsumerBase; + connect(signer: Signer): MainDemoConsumerBase__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b6000730c39486f770b26f5527bbbf942726537986cd7eb73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220bebc969f66c08034f8850dc3ab171f0828b1bddee9f7c5f5132446d928c602ee64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): MainDemoConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): MainDemoConsumerBase; +} +export {}; +//# sourceMappingURL=MainDemoConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..e9137000 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MainDemoConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC9B,MAAM,uDAAuD,CAAC;AAsK/D,aAAK,qCAAqC,GACtC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,6BAA8B,SAAQ,eAAe;gBACpD,GAAG,IAAI,EAAE,qCAAqC;IAQjD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC;IAGvB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB;IAG7C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,6BAA6B;IAI/D,MAAM,CAAC,QAAQ,CAAC,QAAQ,kpGAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,6BAA6B;IAGvD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,oBAAoB;CAOxB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js new file mode 100644 index 00000000..035a5884 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js @@ -0,0 +1,201 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MainDemoConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b6000730c39486f770b26f5527bbbf942726537986cd7eb73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220bebc969f66c08034f8850dc3ab171f0828b1bddee9f7c5f5132446d928c602ee64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class MainDemoConsumerBase__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.MainDemoConsumerBase__factory = MainDemoConsumerBase__factory; +MainDemoConsumerBase__factory.bytecode = _bytecode; +MainDemoConsumerBase__factory.abi = _abi; +//# sourceMappingURL=MainDemoConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js.map new file mode 100644 index 00000000..2c86c8d2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MainDemoConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/MainDemoConsumerBase__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACv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CAAkC,CAAC;IACxE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAyB,CAAC;IACvD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAkC,CAAC;IAChE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAkC,CAAC;IACpE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACO,CAAC;IAC5B,CAAC;;AAxCH,sEAyCC;AAfiB,sCAAQ,GAAG,SAAS,CAAC;AACrB,iCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts new file mode 100644 index 00000000..5e541ba0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { RapidDemoConsumerBase, RapidDemoConsumerBaseInterface } from "../../../contracts/data-services/RapidDemoConsumerBase"; +declare type RapidDemoConsumerBaseConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class RapidDemoConsumerBase__factory extends ContractFactory { + constructor(...args: RapidDemoConsumerBaseConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): RapidDemoConsumerBase; + connect(signer: Signer): RapidDemoConsumerBase__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b600073f786a909d559f5dee2dc6706d8e5a81728a39ae973ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212203cc85f0d6cd2ab4ff197637b2b7d2ab576eea5a97e123a0bbc1fe29139e9a3f464736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): RapidDemoConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RapidDemoConsumerBase; +} +export {}; +//# sourceMappingURL=RapidDemoConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..7a4490e0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RapidDemoConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC/B,MAAM,wDAAwD,CAAC;AAsKhE,aAAK,sCAAsC,GACvC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,8BAA+B,SAAQ,eAAe;gBACrD,GAAG,IAAI,EAAE,sCAAsC;IAQlD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,qBAAqB,CAAC;IAGxB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB;IAG9C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,8BAA8B;IAIhE,MAAM,CAAC,QAAQ,CAAC,QAAQ,kpGAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,8BAA8B;IAGxD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,qBAAqB;CAOzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js new file mode 100644 index 00000000..706c72be --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js @@ -0,0 +1,201 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RapidDemoConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b600073f786a909d559f5dee2dc6706d8e5a81728a39ae973ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212203cc85f0d6cd2ab4ff197637b2b7d2ab576eea5a97e123a0bbc1fe29139e9a3f464736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class RapidDemoConsumerBase__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RapidDemoConsumerBase__factory = RapidDemoConsumerBase__factory; +RapidDemoConsumerBase__factory.bytecode = _bytecode; +RapidDemoConsumerBase__factory.abi = _abi; +//# sourceMappingURL=RapidDemoConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js.map new file mode 100644 index 00000000..09fa2859 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RapidDemoConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/RapidDemoConsumerBase__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAA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CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA0B,CAAC;IACxD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAmC,CAAC;IACjE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAmC,CAAC;IACrE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACQ,CAAC;IAC7B,CAAC;;AAxCH,wEAyCC;AAfiB,uCAAQ,GAAG,SAAS,CAAC;AACrB,kCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts new file mode 100644 index 00000000..00e01b5a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { StocksDemoConsumerBase, StocksDemoConsumerBaseInterface } from "../../../contracts/data-services/StocksDemoConsumerBase"; +declare type StocksDemoConsumerBaseConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class StocksDemoConsumerBase__factory extends ContractFactory { + constructor(...args: StocksDemoConsumerBaseConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): StocksDemoConsumerBase; + connect(signer: Signer): StocksDemoConsumerBase__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b600073926e370fd53c23f8b71ad2b3217b227e41a92b1273ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220b6684fbd7a43892c44cb3b28087f2c4a6de1c7aebe277e318455681541fac67164736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): StocksDemoConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): StocksDemoConsumerBase; +} +export {}; +//# sourceMappingURL=StocksDemoConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..3b9aa56e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StocksDemoConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,yDAAyD,CAAC;AAsKjE,aAAK,uCAAuC,GACxC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,+BAAgC,SAAQ,eAAe;gBACtD,GAAG,IAAI,EAAE,uCAAuC;IAQnD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,sBAAsB,CAAC;IAGzB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB;IAG/C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,+BAA+B;IAIjE,MAAM,CAAC,QAAQ,CAAC,QAAQ,kpGAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,+BAA+B;IAGzD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,sBAAsB;CAO1B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js new file mode 100644 index 00000000..81167186 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js @@ -0,0 +1,201 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StocksDemoConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b600073926e370fd53c23f8b71ad2b3217b227e41a92b1273ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220b6684fbd7a43892c44cb3b28087f2c4a6de1c7aebe277e318455681541fac67164736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class StocksDemoConsumerBase__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.StocksDemoConsumerBase__factory = StocksDemoConsumerBase__factory; +StocksDemoConsumerBase__factory.bytecode = _bytecode; +StocksDemoConsumerBase__factory.abi = _abi; +//# sourceMappingURL=StocksDemoConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js.map new file mode 100644 index 00000000..d2d8127a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StocksDemoConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/StocksDemoConsumerBase__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO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OAAO,CAAC,MAAM,CAAoC,CAAC;IAClE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAoC,CAAC;IACtE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACS,CAAC;IAC9B,CAAC;;AAxCH,0EAyCC;AAfiB,wCAAQ,GAAG,SAAS,CAAC;AACrB,mCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts new file mode 100644 index 00000000..cb210ab4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { TwapsDemoConsumerBase, TwapsDemoConsumerBaseInterface } from "../../../contracts/data-services/TwapsDemoConsumerBase"; +declare type TwapsDemoConsumerBaseConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class TwapsDemoConsumerBase__factory extends ContractFactory { + constructor(...args: TwapsDemoConsumerBaseConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): TwapsDemoConsumerBase; + connect(signer: Signer): TwapsDemoConsumerBase__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b600073aab9568f7165e66acaff50b705c3f3e964cbd24f73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212206941b1c87a90c640cd0d9159d9090ea8c85ef09301c182203fbbed54310f79b264736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): TwapsDemoConsumerBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): TwapsDemoConsumerBase; +} +export {}; +//# sourceMappingURL=TwapsDemoConsumerBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts.map new file mode 100644 index 00000000..8e13a8d0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TwapsDemoConsumerBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC/B,MAAM,wDAAwD,CAAC;AAsKhE,aAAK,sCAAsC,GACvC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,8BAA+B,SAAQ,eAAe;gBACrD,GAAG,IAAI,EAAE,sCAAsC;IAQlD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,qBAAqB,CAAC;IAGxB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB;IAG9C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,8BAA8B;IAIhE,MAAM,CAAC,QAAQ,CAAC,QAAQ,kpGAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,8BAA8B;IAGxD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,qBAAqB;CAOzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js new file mode 100644 index 00000000..e4af093d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js @@ -0,0 +1,201 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwapsDemoConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610625806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633ce142f514610051578063b24ebfcc1461007b578063f50b2efe1461009c578063f90c4924146100b1575b600080fd5b61006461005f3660046103e1565b6100b8565b60405160ff90911681526020015b60405180910390f35b61008e610089366004610415565b610143565b604051908152602001610072565b6100af6100aa3660046104f3565b610154565b005b6001610064565b600073aab9568f7165e66acaff50b705c3f3e964cbd24f73ffffffffffffffffffffffffffffffffffffffff831614156100f457506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061014e82610160565b92915050565b61015d8161016b565b50565b600061014e82610221565b60006101796103e883610523565b9050804210156101d457603c61018f4283610537565b11156101d0576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b5050565b60b46101e08242610537565b11156101d0576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161013a565b600081516000141561025f576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61026882610380565b6000600283516102789190610523565b905060028351610288919061054e565b6103375760006103228461029d600185610537565b815181106102d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610315577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103ce565b905061032f600282610523565b949350505050565b828181518110610370577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156103c857815b818110156103bf5781518151808210156103b5578084528183525b505060200161039a565b50602001610390565b50505050565b60006103da828461050b565b9392505050565b6000602082840312156103f2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146103da578182fd5b60006020808385031215610427578182fd5b823567ffffffffffffffff8082111561043e578384fd5b818501915085601f830112610451578384fd5b813581811115610463576104636105c0565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104a6576104a66105c0565b604052828152858101935084860182860187018a10156104c4578788fd5b8795505b838610156104e65780358552600195909501949386019386016104c8565b5098975050505050505050565b600060208284031215610504578081fd5b5035919050565b6000821982111561051e5761051e610562565b500190565b60008261053257610532610591565b500490565b60008282101561054957610549610562565b500390565b60008261055d5761055d610591565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212206941b1c87a90c640cd0d9159d9090ea8c85ef09301c182203fbbed54310f79b264736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class TwapsDemoConsumerBase__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.TwapsDemoConsumerBase__factory = TwapsDemoConsumerBase__factory; +TwapsDemoConsumerBase__factory.bytecode = _bytecode; +TwapsDemoConsumerBase__factory.abi = _abi; +//# sourceMappingURL=TwapsDemoConsumerBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js.map new file mode 100644 index 00000000..5f291445 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TwapsDemoConsumerBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/TwapsDemoConsumerBase__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAA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AAI,CAAmC,CAAC;IACrE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACQ,CAAC;IAC7B,CAAC;;AAxCH,wEAyCC;AAfiB,uCAAQ,GAAG,SAAS,CAAC;AACrB,kCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts new file mode 100644 index 00000000..bfd3a99a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts @@ -0,0 +1,8 @@ +export { AvalancheDataServiceConsumerBase__factory } from "./AvalancheDataServiceConsumerBase__factory"; +export { CustomUrlsConsumerBase__factory } from "./CustomUrlsConsumerBase__factory"; +export { KydServiceConsumerBase__factory } from "./KydServiceConsumerBase__factory"; +export { MainDemoConsumerBase__factory } from "./MainDemoConsumerBase__factory"; +export { RapidDemoConsumerBase__factory } from "./RapidDemoConsumerBase__factory"; +export { StocksDemoConsumerBase__factory } from "./StocksDemoConsumerBase__factory"; +export { TwapsDemoConsumerBase__factory } from "./TwapsDemoConsumerBase__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts.map new file mode 100644 index 00000000..74682245 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAC;AACxG,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js new file mode 100644 index 00000000..5d0eddd9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwapsDemoConsumerBase__factory = exports.StocksDemoConsumerBase__factory = exports.RapidDemoConsumerBase__factory = exports.MainDemoConsumerBase__factory = exports.KydServiceConsumerBase__factory = exports.CustomUrlsConsumerBase__factory = exports.AvalancheDataServiceConsumerBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var AvalancheDataServiceConsumerBase__factory_1 = require("./AvalancheDataServiceConsumerBase__factory"); +Object.defineProperty(exports, "AvalancheDataServiceConsumerBase__factory", { enumerable: true, get: function () { return AvalancheDataServiceConsumerBase__factory_1.AvalancheDataServiceConsumerBase__factory; } }); +var CustomUrlsConsumerBase__factory_1 = require("./CustomUrlsConsumerBase__factory"); +Object.defineProperty(exports, "CustomUrlsConsumerBase__factory", { enumerable: true, get: function () { return CustomUrlsConsumerBase__factory_1.CustomUrlsConsumerBase__factory; } }); +var KydServiceConsumerBase__factory_1 = require("./KydServiceConsumerBase__factory"); +Object.defineProperty(exports, "KydServiceConsumerBase__factory", { enumerable: true, get: function () { return KydServiceConsumerBase__factory_1.KydServiceConsumerBase__factory; } }); +var MainDemoConsumerBase__factory_1 = require("./MainDemoConsumerBase__factory"); +Object.defineProperty(exports, "MainDemoConsumerBase__factory", { enumerable: true, get: function () { return MainDemoConsumerBase__factory_1.MainDemoConsumerBase__factory; } }); +var RapidDemoConsumerBase__factory_1 = require("./RapidDemoConsumerBase__factory"); +Object.defineProperty(exports, "RapidDemoConsumerBase__factory", { enumerable: true, get: function () { return RapidDemoConsumerBase__factory_1.RapidDemoConsumerBase__factory; } }); +var StocksDemoConsumerBase__factory_1 = require("./StocksDemoConsumerBase__factory"); +Object.defineProperty(exports, "StocksDemoConsumerBase__factory", { enumerable: true, get: function () { return StocksDemoConsumerBase__factory_1.StocksDemoConsumerBase__factory; } }); +var TwapsDemoConsumerBase__factory_1 = require("./TwapsDemoConsumerBase__factory"); +Object.defineProperty(exports, "TwapsDemoConsumerBase__factory", { enumerable: true, get: function () { return TwapsDemoConsumerBase__factory_1.TwapsDemoConsumerBase__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js.map new file mode 100644 index 00000000..8fbb1e37 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/data-services/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/data-services/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,yGAAwG;AAA/F,sKAAA,yCAAyC,OAAA;AAClD,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,iFAAgF;AAAvE,8IAAA,6BAA6B,OAAA;AACtC,mFAAkF;AAAzE,gJAAA,8BAA8B,OAAA;AACvC,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,mFAAkF;AAAzE,gJAAA,8BAA8B,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts new file mode 100644 index 00000000..c277b266 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts @@ -0,0 +1,7 @@ +export * as core from "./core"; +export * as dataServices from "./data-services"; +export * as libs from "./libs"; +export * as mocks from "./mocks"; +export * as priceFeeds from "./price-feeds"; +export * as samples from "./samples"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts.map new file mode 100644 index 00000000..8d09140b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../typechain-types/factories/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,UAAU,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js new file mode 100644 index 00000000..e5d8f47e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js @@ -0,0 +1,36 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.samples = exports.priceFeeds = exports.mocks = exports.libs = exports.dataServices = exports.core = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.core = __importStar(require("./core")); +exports.dataServices = __importStar(require("./data-services")); +exports.libs = __importStar(require("./libs")); +exports.mocks = __importStar(require("./mocks")); +exports.priceFeeds = __importStar(require("./price-feeds")); +exports.samples = __importStar(require("./samples")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js.map new file mode 100644 index 00000000..467df14c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../typechain-types/factories/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,+CAA+B;AAC/B,gEAAgD;AAChD,+CAA+B;AAC/B,iDAAiC;AACjC,4DAA4C;AAC5C,qDAAqC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts new file mode 100644 index 00000000..f0b207fb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts @@ -0,0 +1,26 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { NumericArrayLib, NumericArrayLibInterface } from "../../../contracts/libs/NumericArrayLib"; +declare type NumericArrayLibConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class NumericArrayLib__factory extends ContractFactory { + constructor(...args: NumericArrayLibConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): NumericArrayLib; + connect(signer: Signer): NumericArrayLib__factory; + static readonly bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd018ef3da8741902c8b4baaecf153886cbfc584f23e2edfc2b1794205a0d79764736f6c63430008040033"; + static readonly abi: { + inputs: never[]; + name: string; + type: string; + }[]; + static createInterface(): NumericArrayLibInterface; + static connect(address: string, signerOrProvider: Signer | Provider): NumericArrayLib; +} +export {}; +//# sourceMappingURL=NumericArrayLib__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts.map new file mode 100644 index 00000000..e6c4fa5e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"NumericArrayLib__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/libs/NumericArrayLib__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACzB,MAAM,yCAAyC,CAAC;AAajD,aAAK,gCAAgC,GACjC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,wBAAyB,SAAQ,eAAe;gBAC/C,GAAG,IAAI,EAAE,gCAAgC;IAQ5C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,eAAe,CAAC;IAGlB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe;IAGxC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB;IAI1D,MAAM,CAAC,QAAQ,CAAC,QAAQ,kSAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,wBAAwB;IAGlD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,eAAe;CAGnB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js new file mode 100644 index 00000000..c2508d29 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js @@ -0,0 +1,48 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NumericArrayLib__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, +]; +const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bd018ef3da8741902c8b4baaecf153886cbfc584f23e2edfc2b1794205a0d79764736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class NumericArrayLib__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.NumericArrayLib__factory = NumericArrayLib__factory; +NumericArrayLib__factory.bytecode = _bytecode; +NumericArrayLib__factory.abi = _abi; +//# sourceMappingURL=NumericArrayLib__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js.map new file mode 100644 index 00000000..35a2cfc6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/NumericArrayLib__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"NumericArrayLib__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/libs/NumericArrayLib__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,SAAS,GACb,8RAA8R,CAAC;AAMjS,MAAM,WAAW,GAAG,CAClB,EAAoC,EACiB,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,wBAAyB,SAAQ,wBAAe;IAC3D,YAAY,GAAG,IAAsC;QACnD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAA6B,CAAC;IACnE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAoB,CAAC;IAClD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA6B,CAAC;IAC3D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA6B,CAAC;IAC/D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAoB,CAAC;IAC1E,CAAC;;AApCH,4DAqCC;AAXiB,iCAAQ,GAAG,SAAS,CAAC;AACrB,4BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts new file mode 100644 index 00000000..7c6989fc --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts @@ -0,0 +1,2 @@ +export { NumericArrayLib__factory } from "./NumericArrayLib__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts.map new file mode 100644 index 00000000..4c4905e5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/libs/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js new file mode 100644 index 00000000..2670ae7b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NumericArrayLib__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var NumericArrayLib__factory_1 = require("./NumericArrayLib__factory"); +Object.defineProperty(exports, "NumericArrayLib__factory", { enumerable: true, get: function () { return NumericArrayLib__factory_1.NumericArrayLib__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js.map new file mode 100644 index 00000000..69cabae4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/libs/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/libs/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts new file mode 100644 index 00000000..3a9797d4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts @@ -0,0 +1,33 @@ +import { Signer } from "ethers"; +import type { Provider } from "@ethersproject/providers"; +import type { AuthorisedMockSignersBase, AuthorisedMockSignersBaseInterface } from "../../../contracts/mocks/AuthorisedMockSignersBase"; +export declare class AuthorisedMockSignersBase__factory { + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): AuthorisedMockSignersBaseInterface; + static connect(address: string, signerOrProvider: Signer | Provider): AuthorisedMockSignersBase; +} +//# sourceMappingURL=AuthorisedMockSignersBase__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts.map new file mode 100644 index 00000000..c1e628d1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AuthorisedMockSignersBase__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,oDAAoD,CAAC;AAuH5D,qBAAa,kCAAkC;IAC7C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js new file mode 100644 index 00000000..21d24a26 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js @@ -0,0 +1,134 @@ +"use strict"; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AuthorisedMockSignersBase__factory = void 0; +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, +]; +class AuthorisedMockSignersBase__factory { + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.AuthorisedMockSignersBase__factory = AuthorisedMockSignersBase__factory; +AuthorisedMockSignersBase__factory.abi = _abi; +//# sourceMappingURL=AuthorisedMockSignersBase__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js.map new file mode 100644 index 00000000..3e444738 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AuthorisedMockSignersBase__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/AuthorisedMockSignersBase__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,S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ACP,IAAI,EACJ,gBAAgB,CACY,CAAC;IACjC,CAAC;;AAdH,gFAeC;AAdiB,sCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts new file mode 100644 index 00000000..e6cce53b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts @@ -0,0 +1,71 @@ +import { Signer, ContractFactory, BytesLike, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { PriceFeedsManagerMock, PriceFeedsManagerMockInterface } from "../../../contracts/mocks/PriceFeedsManagerMock"; +declare type PriceFeedsManagerMockConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class PriceFeedsManagerMock__factory extends ContractFactory { + constructor(...args: PriceFeedsManagerMockConstructorParams); + deploy(dataFeedsIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(dataFeedsIds: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): PriceFeedsManagerMock; + connect(signer: Signer): PriceFeedsManagerMock__factory; + static readonly bytecode = "0x6080604052600060015560006002553480156200001b57600080fd5b5060405162001fb438038062001fb48339810160408190526200003e916200016f565b806200004a33620000b6565b60005b8151811015620000ad576200009760038383815181106200007e57634e487b7160e01b600052603260045260246000fd5b60200260200101516200010660201b62000ca51760201c565b5080620000a4816200023a565b9150506200004d565b50505062000278565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006200011483836200011d565b90505b92915050565b6000818152600183016020526040812054620001665750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000117565b50600062000117565b6000602080838503121562000182578182fd5b82516001600160401b038082111562000199578384fd5b818501915085601f830112620001ad578384fd5b815181811115620001c257620001c262000262565b8060051b604051601f19603f83011681018181108582111715620001ea57620001ea62000262565b604052828152858101935084860182860187018a101562000209578788fd5b8795505b838610156200022d5780518552600195909501949386019386016200020d565b5098975050505050505050565b60006000198214156200025b57634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b611d2c80620002886000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c8063715018a6116100d8578063b24ebfcc1161008c578063f2fde38b11610066578063f2fde38b146102fa578063f50b2efe1461030d578063f90c49241461032057600080fd5b8063b24ebfcc146102cc578063d22158fa146102df578063e1e46882146102f257600080fd5b80638da5cb5b116100bd5780638da5cb5b1461027e57806395262d9f146102a6578063971b9c03146102b957600080fd5b8063715018a61461026d57806382bc07e61461027557600080fd5b8063429989f01161012f5780634a400896116101145780634a400896146102215780635e5516ad1461022a5780637072777f1461025857600080fd5b8063429989f0146101fb57806344e029821461020e57600080fd5b80633ce142f5116101605780633ce142f5146101b15780633ecc7c7a146101d65780634231a2c3146101e957600080fd5b8063134962cd1461017c57806320f3ee2f14610191575b600080fd5b61018f61018a366004611afd565b610327565b005b600154600254604080519283526020830191909152015b60405180910390f35b6101c46101bf366004611a19565b610357565b60405160ff90911681526020016101a8565b61018f6101e4366004611b1e565b610368565b6001545b6040519081526020016101a8565b6101c4610209366004611a19565b610479565b6101ed61021c366004611ae5565b610952565b6101ed60025481565b61023d610238366004611ae5565b61099b565b604080519384526020840192909252908201526060016101a8565b6102606109bc565b6040516101a89190611b30565b61018f610a13565b6101ed60015481565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a8565b6101c46102b4366004611a19565b610a27565b6102606102c7366004611a4d565b610a32565b6101ed6102da366004611a4d565b610b0a565b6101c46102ed366004611a19565b610b15565b6002546101ed565b61018f610308366004611a19565b610b9c565b61018f61031b366004611ae5565b610c53565b600a6101c4565b61032f610cb8565b61033a600383610ca5565b50610353600154600161034d9190611be7565b82610368565b5050565b600061036282610a27565b92915050565b61037182610d39565b610379575050565b600182905561038781610d52565b60028190556003805460408051602080840282018101909252828152600093909290918301828280156103d957602002820191906000526020600020905b8154815260200190600101908083116103c5575b5050505050905060006103eb82610d9b565b905060005b82518110156104725781818151811061041957634e487b7160e01b600052603260045260246000fd5b60200260200101516005600085848151811061044557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061046a90611c67565b9150506103f0565b5050505050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156104b557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156104ef57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561052957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561056357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561059d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156105d757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561061157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561064b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561068557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156106bf57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106f95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156107335750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561076d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156107a75750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107e15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff8316141561081b5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561085557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561088f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156108c957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561090357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60008181526005602052604081205480610362576040517f0565ce2a00000000000000000000000000000000000000000000000000000000815260048101849052602401610949565b60008060006109a984610952565b9250600154915060025490509193909250565b600380546040805160208084028201810190925282815260609390929091830182828015610a0957602002820191906000526020600020905b8154815260200190600101908083116109f5575b5050505050905090565b610a1b610cb8565b610a256000610da6565b565b600061036282610b15565b60606000825167ffffffffffffffff811115610a5e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a87578160200160208202803683370190505b50905060005b8351811015610b0357610ac6848281518110610ab957634e487b7160e01b600052603260045260246000fd5b6020026020010151610952565b828281518110610ae657634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610afb81611c67565b915050610a8d565b5092915050565b600061036282610e1b565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610b93576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610949565b61036282610479565b610ba4610cb8565b73ffffffffffffffffffffffffffffffffffffffff8116610c47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610949565b610c5081610da6565b50565b610c5c81610e26565b6002548114610c50576002546040517f272e5907000000000000000000000000000000000000000000000000000000008152600481019190915260248101829052604401610949565b6000610cb18383610ed8565b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610949565b60006001546001610d4a9190611be7565b909114919050565b6002548111610c50576002546040517fd458dd3b000000000000000000000000000000000000000000000000000000008152610949918391600401918252602082015260400190565b606061036282610f27565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061036282611126565b6000610e346103e883611bff565b905080421015610e8b57603c610e4a4283611c50565b1115610353576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610949565b60b4610e978242611c50565b1115610353576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610949565b6000818152600183016020526040812054610f1f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610362565b506000610362565b60606000825167ffffffffffffffff811115610f5357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f7c578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610fa957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610fd2578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610fff57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561103257816020015b606081526020019060019003908161101d5790505b50905060005b85518110156110a05760408051600a80825261016082019092529060208201610140803683370190505082828151811061108257634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061109890611c67565b915050611038565b5060006110ab61123a565b905060006110b882611368565b61ffff1690506110c9600283611be7565b60405190925060005b8281101561110f5760006110e98a898989896113bb565b90506110f58186611be7565b94508260405250808061110790611c67565b9150506110d2565b5061111a84876116ea565b98975050505050505050565b6000815160001415611164576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61116d82611862565b60006002835161117d9190611bff565b90506002835161118d9190611ca0565b61120a5760006111f5846111a2600185611c50565b815181106111c057634e487b7160e01b600052603260045260246000fd5b60200260200101518584815181106111e857634e487b7160e01b600052603260045260246000fd5b60200260200101516118b0565b9050611202600282611bff565b949350505050565b82818151811061122a57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0360135811614806112a2576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600036602911156112df576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009611318600362ffffff8516611be7565b6113229190611be7565b905036611330600283611be7565b1115610cb1576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611376602084611be7565b9050368111156113b2576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b6000806000806113ca856118bc565b909250905060008080606081600d6113ed6113e6602089611be7565b899061190c565b6113f79190611be7565b9050600061141061140960688d611be7565b3690611918565b9050600061142d8361142360418f611be7565b6114099190611be7565b9050611439838261144c565b935082602085012094508135965061148e565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b61149f8765ffffffffffff16610c53565b6114b3856114ae60418f611be7565b611924565b95506114be86610357565b60ff1699505050505050505060008060005b848110156116b7576114e38885836119ba565b909350915060005b8c518110156116a4578c818151811061151457634e487b7160e01b600052603260045260246000fd5b60200260200101518414156116925760008b828151811061154557634e487b7160e01b600052603260045260246000fd5b6020026020010151905061155e81896001901b16151590565b1580156115955750600a60ff168d838151811061158b57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561168c578c82815181106115ba57634e487b7160e01b600052603260045260246000fd5b6020026020010180518091906115cf90611c67565b81525050838b83815181106115f457634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061161e57634e487b7160e01b600052603260045260246000fd5b60200260200101516116309190611c50565b8151811061164e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061167f57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b506116a4565b8061169c81611c67565b9150506114eb565b50806116af81611c67565b9150506114d0565b505050816020826116c89190611be7565b6116d29190611c13565b6116dd90604e611be7565b9998505050505050505050565b60606000835167ffffffffffffffff81111561171657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561173f578160200160208202803683370190505b509050600a60005b8551811015611858578185828151811061177157634e487b7160e01b600052603260045260246000fd5b602002602001015110156117e55784818151811061179f57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610949929190918252602082015260400190565b600061181787838151811061180a57634e487b7160e01b600052603260045260246000fd5b6020026020010151610b0a565b90508084838151811061183a57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061185081611c67565b915050611747565b5090949350505050565b8051602082016020820281019150805b828110156118aa57815b818110156118a1578151815180821015611897578084528183525b505060200161187c565b50602001611872565b50505050565b6000610cb18284611be7565b6000808080806118cd604187611be7565b905060006118df611409602084611be7565b8035945090506118f0816003611918565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610cb18284611c13565b6000610cb18284611c50565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611987573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806119c9604e87611be7565b905060006119f66119ef6119de602089611be7565b6119e9886001611be7565b9061190c565b83906118b0565b90506000611a043683611918565b80359960209091013598509650505050505050565b600060208284031215611a2a578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610cb1578182fd5b60006020808385031215611a5f578182fd5b823567ffffffffffffffff811115611a75578283fd5b8301601f81018513611a85578283fd5b8035611a98611a9382611bc3565b611b74565b80828252848201915084840188868560051b8701011115611ab7578687fd5b8694505b83851015611ad9578035835260019490940193918501918501611abb565b50979650505050505050565b600060208284031215611af6578081fd5b5035919050565b60008060408385031215611b0f578081fd5b50508035926020909101359150565b60008060408385031215611b0f578182fd5b6020808252825182820181905260009190848201906040850190845b81811015611b6857835183529284019291840191600101611b4c565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611bbb57611bbb611ce0565b604052919050565b600067ffffffffffffffff821115611bdd57611bdd611ce0565b5060051b60200190565b60008219821115611bfa57611bfa611cb4565b500190565b600082611c0e57611c0e611cca565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611c4b57611c4b611cb4565b500290565b600082821015611c6257611c62611cb4565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c9957611c99611cb4565b5060010190565b600082611caf57611caf611cca565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220bfbf700da2349884a9c38956df75ccb30af089ba80dec4fab6b7c35e64b46b8c64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + name?: undefined; + anonymous?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + stateMutability?: undefined; + anonymous?: undefined; + outputs?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): PriceFeedsManagerMockInterface; + static connect(address: string, signerOrProvider: Signer | Provider): PriceFeedsManagerMock; +} +export {}; +//# sourceMappingURL=PriceFeedsManagerMock__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts.map new file mode 100644 index 00000000..2e0c0d81 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManagerMock__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,MAAM,EAGN,eAAe,EACf,SAAS,EACT,SAAS,EACV,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC/B,MAAM,gDAAgD,CAAC;AAmgBxD,aAAK,sCAAsC,GACvC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,8BAA+B,SAAQ,eAAe;gBACrD,GAAG,IAAI,EAAE,sCAAsC;IAQlD,MAAM,CACb,YAAY,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACzC,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,qBAAqB,CAAC;IAMxB,oBAAoB,CAC3B,YAAY,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EACzC,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB;IAG9C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,8BAA8B;IAIhE,MAAM,CAAC,QAAQ,CAAC,QAAQ,g3fAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,8BAA8B;IAGxD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,qBAAqB;CAOzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js new file mode 100644 index 00000000..391e56a7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js @@ -0,0 +1,550 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PriceFeedsManagerMock__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedsIds", + type: "bytes32[]", + }, + ], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "DataFeedValueCannotBeZero", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "proposedTimestamp", + type: "uint256", + }, + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "ProposedTimestampDoesNotMatchReceivedTimestamp", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "lastUpdateTimestampInMilliseconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "ProposedTimestampSmallerOrEqualToLastTimestamp", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "previousOwner", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "newOwner", + type: "address", + }, + ], + name: "OwnershipTransferred", + type: "event", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "newDataFeedId", + type: "bytes32", + }, + { + internalType: "uint256", + name: "proposedTimestamp", + type: "uint256", + }, + ], + name: "addDataFeedIdAndUpdateValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getDataFeedsIds", + outputs: [ + { + internalType: "bytes32[]", + name: "", + type: "bytes32[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getLastRound", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getLastRoundParams", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getLastUpdateTimestamp", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getValueForDataFeed", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getValueForDataFeedAndLastRoundParams", + outputs: [ + { + internalType: "uint256", + name: "dataFeedValue", + type: "uint256", + }, + { + internalType: "uint256", + name: "lastRoundNumber", + type: "uint256", + }, + { + internalType: "uint256", + name: "lastUpdateTimestampInMilliseconds", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "requestedDataFeedsIds", + type: "bytes32[]", + }, + ], + name: "getValuesForDataFeeds", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "lastRound", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "lastUpdateTimestampMilliseconds", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "owner", + outputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "renounceOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "newOwner", + type: "address", + }, + ], + name: "transferOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "proposedRound", + type: "uint256", + }, + { + internalType: "uint256", + name: "proposedTimestamp", + type: "uint256", + }, + ], + name: "updateDataFeedValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x6080604052600060015560006002553480156200001b57600080fd5b5060405162001fb438038062001fb48339810160408190526200003e916200016f565b806200004a33620000b6565b60005b8151811015620000ad576200009760038383815181106200007e57634e487b7160e01b600052603260045260246000fd5b60200260200101516200010660201b62000ca51760201c565b5080620000a4816200023a565b9150506200004d565b50505062000278565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006200011483836200011d565b90505b92915050565b6000818152600183016020526040812054620001665750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000117565b50600062000117565b6000602080838503121562000182578182fd5b82516001600160401b038082111562000199578384fd5b818501915085601f830112620001ad578384fd5b815181811115620001c257620001c262000262565b8060051b604051601f19603f83011681018181108582111715620001ea57620001ea62000262565b604052828152858101935084860182860187018a101562000209578788fd5b8795505b838610156200022d5780518552600195909501949386019386016200020d565b5098975050505050505050565b60006000198214156200025b57634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b611d2c80620002886000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c8063715018a6116100d8578063b24ebfcc1161008c578063f2fde38b11610066578063f2fde38b146102fa578063f50b2efe1461030d578063f90c49241461032057600080fd5b8063b24ebfcc146102cc578063d22158fa146102df578063e1e46882146102f257600080fd5b80638da5cb5b116100bd5780638da5cb5b1461027e57806395262d9f146102a6578063971b9c03146102b957600080fd5b8063715018a61461026d57806382bc07e61461027557600080fd5b8063429989f01161012f5780634a400896116101145780634a400896146102215780635e5516ad1461022a5780637072777f1461025857600080fd5b8063429989f0146101fb57806344e029821461020e57600080fd5b80633ce142f5116101605780633ce142f5146101b15780633ecc7c7a146101d65780634231a2c3146101e957600080fd5b8063134962cd1461017c57806320f3ee2f14610191575b600080fd5b61018f61018a366004611afd565b610327565b005b600154600254604080519283526020830191909152015b60405180910390f35b6101c46101bf366004611a19565b610357565b60405160ff90911681526020016101a8565b61018f6101e4366004611b1e565b610368565b6001545b6040519081526020016101a8565b6101c4610209366004611a19565b610479565b6101ed61021c366004611ae5565b610952565b6101ed60025481565b61023d610238366004611ae5565b61099b565b604080519384526020840192909252908201526060016101a8565b6102606109bc565b6040516101a89190611b30565b61018f610a13565b6101ed60015481565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a8565b6101c46102b4366004611a19565b610a27565b6102606102c7366004611a4d565b610a32565b6101ed6102da366004611a4d565b610b0a565b6101c46102ed366004611a19565b610b15565b6002546101ed565b61018f610308366004611a19565b610b9c565b61018f61031b366004611ae5565b610c53565b600a6101c4565b61032f610cb8565b61033a600383610ca5565b50610353600154600161034d9190611be7565b82610368565b5050565b600061036282610a27565b92915050565b61037182610d39565b610379575050565b600182905561038781610d52565b60028190556003805460408051602080840282018101909252828152600093909290918301828280156103d957602002820191906000526020600020905b8154815260200190600101908083116103c5575b5050505050905060006103eb82610d9b565b905060005b82518110156104725781818151811061041957634e487b7160e01b600052603260045260246000fd5b60200260200101516005600085848151811061044557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061046a90611c67565b9150506103f0565b5050505050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156104b557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156104ef57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561052957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561056357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561059d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156105d757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561061157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561064b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561068557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156106bf57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106f95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156107335750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561076d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156107a75750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107e15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff8316141561081b5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561085557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561088f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156108c957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561090357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60008181526005602052604081205480610362576040517f0565ce2a00000000000000000000000000000000000000000000000000000000815260048101849052602401610949565b60008060006109a984610952565b9250600154915060025490509193909250565b600380546040805160208084028201810190925282815260609390929091830182828015610a0957602002820191906000526020600020905b8154815260200190600101908083116109f5575b5050505050905090565b610a1b610cb8565b610a256000610da6565b565b600061036282610b15565b60606000825167ffffffffffffffff811115610a5e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a87578160200160208202803683370190505b50905060005b8351811015610b0357610ac6848281518110610ab957634e487b7160e01b600052603260045260246000fd5b6020026020010151610952565b828281518110610ae657634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610afb81611c67565b915050610a8d565b5092915050565b600061036282610e1b565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610b93576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610949565b61036282610479565b610ba4610cb8565b73ffffffffffffffffffffffffffffffffffffffff8116610c47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610949565b610c5081610da6565b50565b610c5c81610e26565b6002548114610c50576002546040517f272e5907000000000000000000000000000000000000000000000000000000008152600481019190915260248101829052604401610949565b6000610cb18383610ed8565b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610949565b60006001546001610d4a9190611be7565b909114919050565b6002548111610c50576002546040517fd458dd3b000000000000000000000000000000000000000000000000000000008152610949918391600401918252602082015260400190565b606061036282610f27565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061036282611126565b6000610e346103e883611bff565b905080421015610e8b57603c610e4a4283611c50565b1115610353576040517fb6b0916d00000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610949565b60b4610e978242611c50565b1115610353576040517f0321d0b500000000000000000000000000000000000000000000000000000000815260048101829052426024820152604401610949565b6000818152600183016020526040812054610f1f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610362565b506000610362565b60606000825167ffffffffffffffff811115610f5357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f7c578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610fa957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610fd2578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610fff57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561103257816020015b606081526020019060019003908161101d5790505b50905060005b85518110156110a05760408051600a80825261016082019092529060208201610140803683370190505082828151811061108257634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061109890611c67565b915050611038565b5060006110ab61123a565b905060006110b882611368565b61ffff1690506110c9600283611be7565b60405190925060005b8281101561110f5760006110e98a898989896113bb565b90506110f58186611be7565b94508260405250808061110790611c67565b9150506110d2565b5061111a84876116ea565b98975050505050505050565b6000815160001415611164576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61116d82611862565b60006002835161117d9190611bff565b90506002835161118d9190611ca0565b61120a5760006111f5846111a2600185611c50565b815181106111c057634e487b7160e01b600052603260045260246000fd5b60200260200101518584815181106111e857634e487b7160e01b600052603260045260246000fd5b60200260200101516118b0565b9050611202600282611bff565b949350505050565b82818151811061122a57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0360135811614806112a2576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600036602911156112df576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009611318600362ffffff8516611be7565b6113229190611be7565b905036611330600283611be7565b1115610cb1576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611376602084611be7565b9050368111156113b2576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b6000806000806113ca856118bc565b909250905060008080606081600d6113ed6113e6602089611be7565b899061190c565b6113f79190611be7565b9050600061141061140960688d611be7565b3690611918565b9050600061142d8361142360418f611be7565b6114099190611be7565b9050611439838261144c565b935082602085012094508135965061148e565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b61149f8765ffffffffffff16610c53565b6114b3856114ae60418f611be7565b611924565b95506114be86610357565b60ff1699505050505050505060008060005b848110156116b7576114e38885836119ba565b909350915060005b8c518110156116a4578c818151811061151457634e487b7160e01b600052603260045260246000fd5b60200260200101518414156116925760008b828151811061154557634e487b7160e01b600052603260045260246000fd5b6020026020010151905061155e81896001901b16151590565b1580156115955750600a60ff168d838151811061158b57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561168c578c82815181106115ba57634e487b7160e01b600052603260045260246000fd5b6020026020010180518091906115cf90611c67565b81525050838b83815181106115f457634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061161e57634e487b7160e01b600052603260045260246000fd5b60200260200101516116309190611c50565b8151811061164e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061167f57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b506116a4565b8061169c81611c67565b9150506114eb565b50806116af81611c67565b9150506114d0565b505050816020826116c89190611be7565b6116d29190611c13565b6116dd90604e611be7565b9998505050505050505050565b60606000835167ffffffffffffffff81111561171657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561173f578160200160208202803683370190505b509050600a60005b8551811015611858578185828151811061177157634e487b7160e01b600052603260045260246000fd5b602002602001015110156117e55784818151811061179f57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610949929190918252602082015260400190565b600061181787838151811061180a57634e487b7160e01b600052603260045260246000fd5b6020026020010151610b0a565b90508084838151811061183a57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061185081611c67565b915050611747565b5090949350505050565b8051602082016020820281019150805b828110156118aa57815b818110156118a1578151815180821015611897578084528183525b505060200161187c565b50602001611872565b50505050565b6000610cb18284611be7565b6000808080806118cd604187611be7565b905060006118df611409602084611be7565b8035945090506118f0816003611918565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610cb18284611c13565b6000610cb18284611c50565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611987573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806119c9604e87611be7565b905060006119f66119ef6119de602089611be7565b6119e9886001611be7565b9061190c565b83906118b0565b90506000611a043683611918565b80359960209091013598509650505050505050565b600060208284031215611a2a578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610cb1578182fd5b60006020808385031215611a5f578182fd5b823567ffffffffffffffff811115611a75578283fd5b8301601f81018513611a85578283fd5b8035611a98611a9382611bc3565b611b74565b80828252848201915084840188868560051b8701011115611ab7578687fd5b8694505b83851015611ad9578035835260019490940193918501918501611abb565b50979650505050505050565b600060208284031215611af6578081fd5b5035919050565b60008060408385031215611b0f578081fd5b50508035926020909101359150565b60008060408385031215611b0f578182fd5b6020808252825182820181905260009190848201906040850190845b81811015611b6857835183529284019291840191600101611b4c565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611bbb57611bbb611ce0565b604052919050565b600067ffffffffffffffff821115611bdd57611bdd611ce0565b5060051b60200190565b60008219821115611bfa57611bfa611cb4565b500190565b600082611c0e57611c0e611cca565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611c4b57611c4b611cb4565b500290565b600082821015611c6257611c62611cb4565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c9957611c99611cb4565b5060010190565b600082611caf57611caf611cca565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220bfbf700da2349884a9c38956df75ccb30af089ba80dec4fab6b7c35e64b46b8c64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class PriceFeedsManagerMock__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(dataFeedsIds, overrides) { + return super.deploy(dataFeedsIds, overrides || {}); + } + getDeployTransaction(dataFeedsIds, overrides) { + return super.getDeployTransaction(dataFeedsIds, overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.PriceFeedsManagerMock__factory = PriceFeedsManagerMock__factory; +PriceFeedsManagerMock__factory.bytecode = _bytecode; +PriceFeedsManagerMock__factory.abi = _abi; +//# sourceMappingURL=PriceFeedsManagerMock__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js.map new file mode 100644 index 00000000..a747697a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManagerMock__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/PriceFeedsManagerMock__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAOgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,WAAW;aAClB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aACh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CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,YAAyC,EACzC,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CACjB,YAAY,EACZ,SAAS,IAAI,EAAE,CACkB,CAAC;IACtC,CAAC;IACQ,oBAAoB,CAC3B,YAAyC,EACzC,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC;IACnE,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA0B,CAAC;IACxD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAmC,CAAC;IACjE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAmC,CAAC;IACrE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACQ,CAAC;IAC7B,CAAC;;AA7CH,wEA8CC;AAfiB,uCAAQ,GAAG,SAAS,CAAC;AACrB,kCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts new file mode 100644 index 00000000..27f72a11 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { RedstoneConsumerBytesMock, RedstoneConsumerBytesMockInterface } from "../../../contracts/mocks/RedstoneConsumerBytesMock"; +declare type RedstoneConsumerBytesMockConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class RedstoneConsumerBytesMock__factory extends ContractFactory { + constructor(...args: RedstoneConsumerBytesMockConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): RedstoneConsumerBytesMock; + connect(signer: Signer): RedstoneConsumerBytesMock__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610bc3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b24ebfcc1161005b578063b24ebfcc14610101578063d22158fa14610122578063f50b2efe14610135578063f90c49241461014a57600080fd5b806313bc58db1461008d5780633ce142f5146100b6578063429989f0146100db57806395262d9f146100ee575b600080fd5b6100a061009b366004610967565b610151565b6040516100ad9190610a6d565b60405180910390f35b6100c96100c4366004610933565b6102f1565b60405160ff90911681526020016100ad565b6100c96100e9366004610933565b610302565b6100c96100fc366004610933565b6107db565b61011461010f366004610967565b6107e6565b6040519081526020016100ad565b6100c9610130366004610933565b6107f9565b610148610143366004610a45565b610880565b005b60036100c9565b6060600082511161018e576040517f6c2325dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3660006101db846000815181106101ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516108c3565b91509150600082826040516101f1929190610a5d565b604051908190039020905060015b85518110156102b0573660006102478884815181106101ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9150915083828260405161025c929190610a5d565b60405180910390201461029b576040517fece458ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080806102a890610af6565b9150506101ff565b5082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509298975050505050505050565b60006102fc826107db565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561033e57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561037857506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156103b257506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff831614156103ec57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561042657506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561046057506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561049a57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff831614156104d457506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561050e57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561054857506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105825750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156105bc5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156105f65750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106305750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff8316141561066a5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106a45750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff831614156106de57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561071857506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561075257506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561078c57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006102fc826107f9565b6000806107f283610151565b9392505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610877576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016107d2565b6102fc82610302565b6501812f2590c08110156108c0576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b366000806108d18460801c90565b90506fffffffffffffffffffffffffffffffff8416366108f18284610ade565b1115610929576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b600060208284031215610944578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107f2578182fd5b60006020808385031215610979578182fd5b823567ffffffffffffffff80821115610990578384fd5b818501915085601f8301126109a3578384fd5b8135818111156109b5576109b5610b5e565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156109f8576109f8610b5e565b604052828152858101935084860182860187018a1015610a16578788fd5b8795505b83861015610a38578035855260019590950194938601938601610a1a565b5098975050505050505050565b600060208284031215610a56578081fd5b5035919050565b8183823760009101908152919050565b6000602080835283518082850152825b81811015610a9957858101830151858201604001528201610a7d565b81811115610aaa5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115610af157610af1610b2f565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610b2857610b28610b2f565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122010230e843131196f4b9a3c2b6009d1d340d1c888b7d83fc0dc245971d4fe42cc64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): RedstoneConsumerBytesMockInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConsumerBytesMock; +} +export {}; +//# sourceMappingURL=RedstoneConsumerBytesMock__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts.map new file mode 100644 index 00000000..9553538e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesMock__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,oDAAoD,CAAC;AAkN5D,aAAK,0CAA0C,GAC3C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,kCAAmC,SAAQ,eAAe;gBACzD,GAAG,IAAI,EAAE,0CAA0C;IAQtD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,yBAAyB;IAGlD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,kCAAkC;IAIpE,MAAM,CAAC,QAAQ,CAAC,QAAQ,88LAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js new file mode 100644 index 00000000..2d442e73 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js @@ -0,0 +1,245 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneConsumerBytesMock__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersForValues", + type: "uint256[]", + }, + ], + name: "aggregateByteValues", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersToValues", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "pointerToResultBytesInMemory", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610bc3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b24ebfcc1161005b578063b24ebfcc14610101578063d22158fa14610122578063f50b2efe14610135578063f90c49241461014a57600080fd5b806313bc58db1461008d5780633ce142f5146100b6578063429989f0146100db57806395262d9f146100ee575b600080fd5b6100a061009b366004610967565b610151565b6040516100ad9190610a6d565b60405180910390f35b6100c96100c4366004610933565b6102f1565b60405160ff90911681526020016100ad565b6100c96100e9366004610933565b610302565b6100c96100fc366004610933565b6107db565b61011461010f366004610967565b6107e6565b6040519081526020016100ad565b6100c9610130366004610933565b6107f9565b610148610143366004610a45565b610880565b005b60036100c9565b6060600082511161018e576040517f6c2325dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3660006101db846000815181106101ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516108c3565b91509150600082826040516101f1929190610a5d565b604051908190039020905060015b85518110156102b0573660006102478884815181106101ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9150915083828260405161025c929190610a5d565b60405180910390201461029b576040517fece458ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080806102a890610af6565b9150506101ff565b5082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509298975050505050505050565b60006102fc826107db565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561033e57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561037857506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156103b257506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff831614156103ec57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561042657506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561046057506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561049a57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff831614156104d457506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561050e57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561054857506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105825750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156105bc5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156105f65750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106305750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff8316141561066a5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106a45750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff831614156106de57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561071857506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561075257506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561078c57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006102fc826107f9565b6000806107f283610151565b9392505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610877576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016107d2565b6102fc82610302565b6501812f2590c08110156108c0576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b366000806108d18460801c90565b90506fffffffffffffffffffffffffffffffff8416366108f18284610ade565b1115610929576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b600060208284031215610944578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107f2578182fd5b60006020808385031215610979578182fd5b823567ffffffffffffffff80821115610990578384fd5b818501915085601f8301126109a3578384fd5b8135818111156109b5576109b5610b5e565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156109f8576109f8610b5e565b604052828152858101935084860182860187018a1015610a16578788fd5b8795505b83861015610a38578035855260019590950194938601938601610a1a565b5098975050505050505050565b600060208284031215610a56578081fd5b5035919050565b8183823760009101908152919050565b6000602080835283518082850152825b81811015610a9957858101830151858201604001528201610a7d565b81811115610aaa5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115610af157610af1610b2f565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610b2857610b28610b2f565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122010230e843131196f4b9a3c2b6009d1d340d1c888b7d83fc0dc245971d4fe42cc64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class RedstoneConsumerBytesMock__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RedstoneConsumerBytesMock__factory = RedstoneConsumerBytesMock__factory; +RedstoneConsumerBytesMock__factory.bytecode = _bytecode; +RedstoneConsumerBytesMock__factory.abi = _abi; +//# sourceMappingURL=RedstoneConsumerBytesMock__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js.map new file mode 100644 index 00000000..ff260d17 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerBytesMock__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/RedstoneConsumerBytesMock__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,E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C3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA8B,CAAC;IAC5D,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAuC,CAAC;IACrE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAuC,CAAC;IACzE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACY,CAAC;IACjC,CAAC;;AAxCH,gFAyCC;AAfiB,2CAAQ,GAAG,SAAS,CAAC;AACrB,sCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts new file mode 100644 index 00000000..b7dd8248 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { RedstoneConsumerNumericMock, RedstoneConsumerNumericMockInterface } from "../../../contracts/mocks/RedstoneConsumerNumericMock"; +declare type RedstoneConsumerNumericMockConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class RedstoneConsumerNumericMock__factory extends ContractFactory { + constructor(...args: RedstoneConsumerNumericMockConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): RedstoneConsumerNumericMock; + connect(signer: Signer): RedstoneConsumerNumericMock__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610af6806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063b24ebfcc1161005b578063b24ebfcc146100d2578063d22158fa146100f3578063f50b2efe14610106578063f90c49241461011b57600080fd5b80633ce142f514610082578063429989f0146100ac57806395262d9f146100bf575b600080fd5b6100956100903660046108b2565b610122565b60405160ff90911681526020015b60405180910390f35b6100956100ba3660046108b2565b610133565b6100956100cd3660046108b2565b61060c565b6100e56100e03660046108e6565b610617565b6040519081526020016100a3565b6100956101013660046108b2565b610622565b6101196101143660046109c4565b6106a9565b005b600a610095565b600061012d8261060c565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561016f57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156101a957506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156101e357506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561021d57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561025757506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561029157506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156102cb57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561030557506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561033f57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561037957506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156103b35750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156103ed5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156104275750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104615750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff8316141561049b5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156104d55750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561050f57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561054957506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561058357506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156105bd57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061012d82610622565b600061012d826106ec565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156106a0576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610603565b61012d82610133565b6501812f2590c08110156106e9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b600061012d826000815160001415610730576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61073982610851565b60006002835161074991906109f4565b9050600283516107599190610a1f565b6108085760006107f38461076e600185610a08565b815181106107a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518584815181106107e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161089f565b90506108006002826109f4565b949350505050565b828181518110610841577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b8281101561089957815b81811015610890578151815180821015610886578084528183525b505060200161086b565b50602001610861565b50505050565b60006108ab82846109dc565b9392505050565b6000602082840312156108c3578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108ab578182fd5b600060208083850312156108f8578182fd5b823567ffffffffffffffff8082111561090f578384fd5b818501915085601f830112610922578384fd5b81358181111561093457610934610a91565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561097757610977610a91565b604052828152858101935084860182860187018a1015610995578788fd5b8795505b838610156109b7578035855260019590950194938601938601610999565b5098975050505050505050565b6000602082840312156109d5578081fd5b5035919050565b600082198211156109ef576109ef610a33565b500190565b600082610a0357610a03610a62565b500490565b600082821015610a1a57610a1a610a33565b500390565b600082610a2e57610a2e610a62565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122009f18597d5ac2ed153497b649f263a68df13130b9943c60404d54e1aedeabcad64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): RedstoneConsumerNumericMockInterface; + static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConsumerNumericMock; +} +export {}; +//# sourceMappingURL=RedstoneConsumerNumericMock__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts.map new file mode 100644 index 00000000..8575a299 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericMock__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,sDAAsD,CAAC;AAoM9D,aAAK,4CAA4C,GAC7C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,oCAAqC,SAAQ,eAAe;gBAC3D,GAAG,IAAI,EAAE,4CAA4C;IAQxD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,2BAA2B,CAAC;IAK9B,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,2BAA2B;IAGpD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,oCAAoC;IAItE,MAAM,CAAC,QAAQ,CAAC,QAAQ,ojLAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oCAAoC;IAG9D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,2BAA2B;CAO/B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js new file mode 100644 index 00000000..be68e1f3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js @@ -0,0 +1,231 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneConsumerNumericMock__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610af6806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063b24ebfcc1161005b578063b24ebfcc146100d2578063d22158fa146100f3578063f50b2efe14610106578063f90c49241461011b57600080fd5b80633ce142f514610082578063429989f0146100ac57806395262d9f146100bf575b600080fd5b6100956100903660046108b2565b610122565b60405160ff90911681526020015b60405180910390f35b6100956100ba3660046108b2565b610133565b6100956100cd3660046108b2565b61060c565b6100e56100e03660046108e6565b610617565b6040519081526020016100a3565b6100956101013660046108b2565b610622565b6101196101143660046109c4565b6106a9565b005b600a610095565b600061012d8261060c565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561016f57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156101a957506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156101e357506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561021d57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561025757506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561029157506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156102cb57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561030557506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561033f57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561037957506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156103b35750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156103ed5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156104275750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104615750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff8316141561049b5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156104d55750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561050f57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561054957506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561058357506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156105bd57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061012d82610622565b600061012d826106ec565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156106a0576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610603565b61012d82610133565b6501812f2590c08110156106e9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b600061012d826000815160001415610730576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61073982610851565b60006002835161074991906109f4565b9050600283516107599190610a1f565b6108085760006107f38461076e600185610a08565b815181106107a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518584815181106107e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161089f565b90506108006002826109f4565b949350505050565b828181518110610841577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b8281101561089957815b81811015610890578151815180821015610886578084528183525b505060200161086b565b50602001610861565b50505050565b60006108ab82846109dc565b9392505050565b6000602082840312156108c3578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108ab578182fd5b600060208083850312156108f8578182fd5b823567ffffffffffffffff8082111561090f578384fd5b818501915085601f830112610922578384fd5b81358181111561093457610934610a91565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561097757610977610a91565b604052828152858101935084860182860187018a1015610995578788fd5b8795505b838610156109b7578035855260019590950194938601938601610999565b5098975050505050505050565b6000602082840312156109d5578081fd5b5035919050565b600082198211156109ef576109ef610a33565b500190565b600082610a0357610a03610a62565b500490565b600082821015610a1a57610a1a610a33565b500390565b600082610a2e57610a2e610a62565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122009f18597d5ac2ed153497b649f263a68df13130b9943c60404d54e1aedeabcad64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class RedstoneConsumerNumericMock__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.RedstoneConsumerNumericMock__factory = RedstoneConsumerNumericMock__factory; +RedstoneConsumerNumericMock__factory.bytecode = _bytecode; +RedstoneConsumerNumericMock__factory.abi = _abi; +//# sourceMappingURL=RedstoneConsumerNumericMock__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js.map new file mode 100644 index 00000000..3769f5d5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RedstoneConsumerNumericMock__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/RedstoneConsumerNumericMock__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B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AAM,CACjB,SAAS,IAAI,EAAE,CACwB,CAAC;IAC5C,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAgC,CAAC;IAC9D,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAyC,CAAC;IACvE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAyC,CAAC;IAC3E,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACc,CAAC;IACnC,CAAC;;AA1CH,oFA2CC;AAfiB,6CAAQ,GAAG,SAAS,CAAC;AACrB,wCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts new file mode 100644 index 00000000..9e396be9 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts @@ -0,0 +1,5 @@ +export { AuthorisedMockSignersBase__factory } from "./AuthorisedMockSignersBase__factory"; +export { PriceFeedsManagerMock__factory } from "./PriceFeedsManagerMock__factory"; +export { RedstoneConsumerBytesMock__factory } from "./RedstoneConsumerBytesMock__factory"; +export { RedstoneConsumerNumericMock__factory } from "./RedstoneConsumerNumericMock__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts.map new file mode 100644 index 00000000..5bb5ac72 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js new file mode 100644 index 00000000..05e05492 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RedstoneConsumerNumericMock__factory = exports.RedstoneConsumerBytesMock__factory = exports.PriceFeedsManagerMock__factory = exports.AuthorisedMockSignersBase__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var AuthorisedMockSignersBase__factory_1 = require("./AuthorisedMockSignersBase__factory"); +Object.defineProperty(exports, "AuthorisedMockSignersBase__factory", { enumerable: true, get: function () { return AuthorisedMockSignersBase__factory_1.AuthorisedMockSignersBase__factory; } }); +var PriceFeedsManagerMock__factory_1 = require("./PriceFeedsManagerMock__factory"); +Object.defineProperty(exports, "PriceFeedsManagerMock__factory", { enumerable: true, get: function () { return PriceFeedsManagerMock__factory_1.PriceFeedsManagerMock__factory; } }); +var RedstoneConsumerBytesMock__factory_1 = require("./RedstoneConsumerBytesMock__factory"); +Object.defineProperty(exports, "RedstoneConsumerBytesMock__factory", { enumerable: true, get: function () { return RedstoneConsumerBytesMock__factory_1.RedstoneConsumerBytesMock__factory; } }); +var RedstoneConsumerNumericMock__factory_1 = require("./RedstoneConsumerNumericMock__factory"); +Object.defineProperty(exports, "RedstoneConsumerNumericMock__factory", { enumerable: true, get: function () { return RedstoneConsumerNumericMock__factory_1.RedstoneConsumerNumericMock__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js.map new file mode 100644 index 00000000..6c111e63 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/mocks/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/mocks/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,mFAAkF;AAAzE,gJAAA,8BAA8B,OAAA;AACvC,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,+FAA8F;AAArF,4JAAA,oCAAoC,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts new file mode 100644 index 00000000..7c4c36ae --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts @@ -0,0 +1,30 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { CustomErrors, CustomErrorsInterface } from "../../../contracts/price-feeds/CustomErrors"; +declare type CustomErrorsConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class CustomErrors__factory extends ContractFactory { + constructor(...args: CustomErrorsConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): CustomErrors; + connect(signer: Signer): CustomErrors__factory; + static readonly bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122004647cd586bd9664af64899783dde38af608e551c02b181934e818911ad9be4d64736f6c63430008040033"; + static readonly abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + }[]; + static createInterface(): CustomErrorsInterface; + static connect(address: string, signerOrProvider: Signer | Provider): CustomErrors; +} +export {}; +//# sourceMappingURL=CustomErrors__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts.map new file mode 100644 index 00000000..a3fbf9b1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomErrors__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/CustomErrors__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAwDrD,aAAK,6BAA6B,GAC9B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,qBAAsB,SAAQ,eAAe;gBAC5C,GAAG,IAAI,EAAE,6BAA6B;IAQzC,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,YAAY,CAAC;IAGf,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY;IAGrC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,qBAAqB;IAIvD,MAAM,CAAC,QAAQ,CAAC,QAAQ,kSAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,qBAAqB;IAG/C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,YAAY;CAGhB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js new file mode 100644 index 00000000..8dcaaa91 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js @@ -0,0 +1,91 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CustomErrors__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "DataFeedValueCannotBeZero", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "proposedTimestamp", + type: "uint256", + }, + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "ProposedTimestampDoesNotMatchReceivedTimestamp", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "lastUpdateTimestampInMilliseconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "ProposedTimestampSmallerOrEqualToLastTimestamp", + type: "error", + }, + { + inputs: [], + name: "UseLatestRoundToGetDataFeedPrice", + type: "error", + }, +]; +const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122004647cd586bd9664af64899783dde38af608e551c02b181934e818911ad9be4d64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class CustomErrors__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.CustomErrors__factory = CustomErrors__factory; +CustomErrors__factory.bytecode = _bytecode; +CustomErrors__factory.abi = _abi; +//# sourceMappingURL=CustomErrors__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js.map new file mode 100644 index 00000000..095e7aa0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/CustomErrors__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"CustomErrors__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/CustomErrors__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,+BAA+B;gBACrC,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,gDAAgD;QACtD,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,mCAAmC;gBACzC,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,gDAAgD;QACtD,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kCAAkC;QACxC,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,SAAS,GACb,8RAA8R,CAAC;AAMjS,MAAM,WAAW,GAAG,CAClB,EAAiC,EACoB,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,qBAAsB,SAAQ,wBAAe;IACxD,YAAY,GAAG,IAAmC;QAChD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAA0B,CAAC;IAChE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAiB,CAAC;IAC/C,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA0B,CAAC;IACxD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA0B,CAAC;IAC5D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAiB,CAAC;IACvE,CAAC;;AApCH,sDAqCC;AAXiB,8BAAQ,GAAG,SAAS,CAAC;AACrB,yBAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts new file mode 100644 index 00000000..79248f86 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts @@ -0,0 +1,52 @@ +import { Signer, ContractFactory, BytesLike, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { PriceFeed, PriceFeedInterface } from "../../../contracts/price-feeds/PriceFeed"; +declare type PriceFeedConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class PriceFeed__factory extends ContractFactory { + constructor(...args: PriceFeedConstructorParams); + deploy(priceFeedsManagerAddress_: PromiseOrValue, dataFeedId_: PromiseOrValue, description_: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(priceFeedsManagerAddress_: PromiseOrValue, dataFeedId_: PromiseOrValue, description_: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): PriceFeed; + connect(signer: Signer): PriceFeed__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b5060405161070838038061070883398101604081905261002f91610104565b600080546001600160a01b0319166001600160a01b0385161790556001829055805161006290600290602084019061006b565b50505050610249565b828054610077906101f8565b90600052602060002090601f01602090048101928261009957600085556100df565b82601f106100b257805160ff19168380011785556100df565b828001600101855582156100df579182015b828111156100df5782518255916020019190600101906100c4565b506100eb9291506100ef565b5090565b5b808211156100eb57600081556001016100f0565b600080600060608486031215610118578283fd5b83516001600160a01b038116811461012e578384fd5b60208581015160408701519295509350906001600160401b0380821115610153578384fd5b818701915087601f830112610166578384fd5b81518181111561017857610178610233565b604051601f8201601f19908116603f011681019083821181831017156101a0576101a0610233565b816040528281528a868487010111156101b7578687fd5b8693505b828410156101d857848401860151818501870152928501926101bb565b828411156101e857868684830101525b8096505050505050509250925092565b600181811c9082168061020c57607f821691505b6020821081141561022d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6104b0806102586000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806374cdbe5b1161005b57806374cdbe5b146100d45780639a6fc8f5146100dc578063c833776014610126578063feaf968c1461012e57600080fd5b8063313ce5671461008d578063370c826b146100a157806354fd4d50146100b85780637284e416146100bf575b600080fd5b604051600881526020015b60405180910390f35b6100aa60015481565b604051908152602001610098565b60016100aa565b6100c7610136565b60405161009891906103b5565b6100c76101c8565b6100ef6100ea366004610384565b610256565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a001610098565b6001546100aa565b6100ef610290565b60606002805461014590610426565b80601f016020809104026020016040519081016040528092919081815260200182805461017190610426565b80156101be5780601f10610193576101008083540402835291602001916101be565b820191906000526020600020905b8154815290600101906020018083116101a157829003601f168201915b5050505050905090565b600280546101d590610426565b80601f016020809104026020016040519081016040528092919081815260200182805461020190610426565b801561024e5780601f106102235761010080835404028352916020019161024e565b820191906000526020600020905b81548152906001019060200180831161023157829003601f168201915b505050505081565b60008060008060006040517f23ede60e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001546040517f5e5516ad0000000000000000000000000000000000000000000000000000000081526004810191909152829182918291829182918291829173ffffffffffffffffffffffffffffffffffffffff1690635e5516ad9060240160606040518083038186803b15801561030b57600080fd5b505afa15801561031f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190610357565b909a91995097504296508995509350505050565b60008060006060848603121561036b578283fd5b8351925060208401519150604084015190509250925092565b600060208284031215610395578081fd5b813569ffffffffffffffffffff811681146103ae578182fd5b9392505050565b6000602080835283518082850152825b818110156103e1578581018301518582016040015282016103c5565b818111156103f25783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c9082168061043a57607f821691505b60208210811415610474577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b5091905056fea2646970667358221220700419a38d82e90bed2b61717ce2da967affa19380e6b22971ca75f117c854b264736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + name?: undefined; + outputs?: undefined; + } | { + inputs: never[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): PriceFeedInterface; + static connect(address: string, signerOrProvider: Signer | Provider): PriceFeed; +} +export {}; +//# sourceMappingURL=PriceFeed__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts.map new file mode 100644 index 00000000..84cba7f7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeed__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/PriceFeed__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,MAAM,EAGN,eAAe,EACf,SAAS,EACT,SAAS,EACV,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EACnB,MAAM,0CAA0C,CAAC;AAwLlD,aAAK,0BAA0B,GAC3B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,kBAAmB,SAAQ,eAAe;gBACzC,GAAG,IAAI,EAAE,0BAA0B;IAQtC,MAAM,CACb,yBAAyB,EAAE,cAAc,CAAC,MAAM,CAAC,EACjD,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EACtC,YAAY,EAAE,cAAc,CAAC,MAAM,CAAC,EACpC,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,SAAS,CAAC;IAQZ,oBAAoB,CAC3B,yBAAyB,EAAE,cAAc,CAAC,MAAM,CAAC,EACjD,WAAW,EAAE,cAAc,CAAC,SAAS,CAAC,EACtC,YAAY,EAAE,cAAc,CAAC,MAAM,CAAC,EACpC,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAQZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS;IAGlC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB;IAIpD,MAAM,CAAC,QAAQ,CAAC,QAAQ,whHAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kBAAkB;IAG5C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,SAAS;CAGb"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js new file mode 100644 index 00000000..01d34e9f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js @@ -0,0 +1,219 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PriceFeed__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "address", + name: "priceFeedsManagerAddress_", + type: "address", + }, + { + internalType: "bytes32", + name: "dataFeedId_", + type: "bytes32", + }, + { + internalType: "string", + name: "description_", + type: "string", + }, + ], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "UseLatestRoundToGetDataFeedPrice", + type: "error", + }, + { + inputs: [], + name: "dataFeedId", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "decimals", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [], + name: "description", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "descriptionText", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getDataFeedId", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint80", + name: "", + type: "uint80", + }, + ], + name: "getRoundData", + outputs: [ + { + internalType: "uint80", + name: "", + type: "uint80", + }, + { + internalType: "int256", + name: "", + type: "int256", + }, + { + internalType: "uint256", + name: "", + type: "uint256", + }, + { + internalType: "uint256", + name: "", + type: "uint256", + }, + { + internalType: "uint80", + name: "", + type: "uint80", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [], + name: "latestRoundData", + outputs: [ + { + internalType: "uint80", + name: "roundId", + type: "uint80", + }, + { + internalType: "int256", + name: "answer", + type: "int256", + }, + { + internalType: "uint256", + name: "startedAt", + type: "uint256", + }, + { + internalType: "uint256", + name: "updatedAt", + type: "uint256", + }, + { + internalType: "uint80", + name: "answeredInRound", + type: "uint80", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "version", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "pure", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b5060405161070838038061070883398101604081905261002f91610104565b600080546001600160a01b0319166001600160a01b0385161790556001829055805161006290600290602084019061006b565b50505050610249565b828054610077906101f8565b90600052602060002090601f01602090048101928261009957600085556100df565b82601f106100b257805160ff19168380011785556100df565b828001600101855582156100df579182015b828111156100df5782518255916020019190600101906100c4565b506100eb9291506100ef565b5090565b5b808211156100eb57600081556001016100f0565b600080600060608486031215610118578283fd5b83516001600160a01b038116811461012e578384fd5b60208581015160408701519295509350906001600160401b0380821115610153578384fd5b818701915087601f830112610166578384fd5b81518181111561017857610178610233565b604051601f8201601f19908116603f011681019083821181831017156101a0576101a0610233565b816040528281528a868487010111156101b7578687fd5b8693505b828410156101d857848401860151818501870152928501926101bb565b828411156101e857868684830101525b8096505050505050509250925092565b600181811c9082168061020c57607f821691505b6020821081141561022d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6104b0806102586000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806374cdbe5b1161005b57806374cdbe5b146100d45780639a6fc8f5146100dc578063c833776014610126578063feaf968c1461012e57600080fd5b8063313ce5671461008d578063370c826b146100a157806354fd4d50146100b85780637284e416146100bf575b600080fd5b604051600881526020015b60405180910390f35b6100aa60015481565b604051908152602001610098565b60016100aa565b6100c7610136565b60405161009891906103b5565b6100c76101c8565b6100ef6100ea366004610384565b610256565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a001610098565b6001546100aa565b6100ef610290565b60606002805461014590610426565b80601f016020809104026020016040519081016040528092919081815260200182805461017190610426565b80156101be5780601f10610193576101008083540402835291602001916101be565b820191906000526020600020905b8154815290600101906020018083116101a157829003601f168201915b5050505050905090565b600280546101d590610426565b80601f016020809104026020016040519081016040528092919081815260200182805461020190610426565b801561024e5780601f106102235761010080835404028352916020019161024e565b820191906000526020600020905b81548152906001019060200180831161023157829003601f168201915b505050505081565b60008060008060006040517f23ede60e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001546040517f5e5516ad0000000000000000000000000000000000000000000000000000000081526004810191909152829182918291829182918291829173ffffffffffffffffffffffffffffffffffffffff1690635e5516ad9060240160606040518083038186803b15801561030b57600080fd5b505afa15801561031f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190610357565b909a91995097504296508995509350505050565b60008060006060848603121561036b578283fd5b8351925060208401519150604084015190509250925092565b600060208284031215610395578081fd5b813569ffffffffffffffffffff811681146103ae578182fd5b9392505050565b6000602080835283518082850152825b818110156103e1578581018301518582016040015282016103c5565b818111156103f25783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c9082168061043a57607f821691505b60208210811415610474577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b5091905056fea2646970667358221220700419a38d82e90bed2b61717ce2da967affa19380e6b22971ca75f117c854b264736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class PriceFeed__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(priceFeedsManagerAddress_, dataFeedId_, description_, overrides) { + return super.deploy(priceFeedsManagerAddress_, dataFeedId_, description_, overrides || {}); + } + getDeployTransaction(priceFeedsManagerAddress_, dataFeedId_, description_, overrides) { + return super.getDeployTransaction(priceFeedsManagerAddress_, dataFeedId_, description_, overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.PriceFeed__factory = PriceFeed__factory; +PriceFeed__factory.bytecode = _bytecode; +PriceFeed__factory.abi = _abi; +//# sourceMappingURL=PriceFeed__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js.map new file mode 100644 index 00000000..c7549936 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeed__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeed__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/PriceFeed__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAOgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,2BAA2B;gBACjC,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kCAAkC;QACxC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,OAAO;aACd;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,E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zD,OAAO,KAAK,CAAC,oBAAoB,CAC/B,yBAAyB,EACzB,WAAW,EACX,YAAY,EACZ,SAAS,IAAI,EAAE,CAChB,CAAC;IACJ,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAc,CAAC;IAC5C,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAuB,CAAC;IACrD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAuB,CAAC;IACzD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAc,CAAC;IACpE,CAAC;;AApDH,gDAqDC;AAXiB,2BAAQ,GAAG,SAAS,CAAC;AACrB,sBAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts new file mode 100644 index 00000000..cad7711f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts @@ -0,0 +1,71 @@ +import { Signer, ContractFactory, BytesLike, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { PriceFeedsManager, PriceFeedsManagerInterface } from "../../../contracts/price-feeds/PriceFeedsManager"; +declare type PriceFeedsManagerConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class PriceFeedsManager__factory extends ContractFactory { + constructor(...args: PriceFeedsManagerConstructorParams); + deploy(dataFeedsIds_: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(dataFeedsIds_: PromiseOrValue[], overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): PriceFeedsManager; + connect(signer: Signer): PriceFeedsManager__factory; + static readonly bytecode = "0x6080604052600060015560006002553480156200001b57600080fd5b5060405162001a4a38038062001a4a8339810160408190526200003e916200016d565b6200004933620000b4565b60005b8151811015620000ac576200009660038383815181106200007d57634e487b7160e01b600052603260045260246000fd5b60200260200101516200010460201b620007401760201c565b5080620000a38162000238565b9150506200004c565b505062000276565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006200011283836200011b565b90505b92915050565b6000818152600183016020526040812054620001645750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000115565b50600062000115565b6000602080838503121562000180578182fd5b82516001600160401b038082111562000197578384fd5b818501915085601f830112620001ab578384fd5b815181811115620001c057620001c062000260565b8060051b604051601f19603f83011681018181108582111715620001e857620001e862000260565b604052828152858101935084860182860187018a101562000207578788fd5b8795505b838610156200022b5780518552600195909501949386019386016200020b565b5098975050505050505050565b60006000198214156200025957634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6117c480620002866000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063715018a6116100b2578063b24ebfcc11610081578063f2fde38b11610066578063f2fde38b14610280578063f50b2efe14610293578063f90c4924146102a657600080fd5b8063b24ebfcc14610265578063e1e468821461027857600080fd5b8063715018a61461021957806382bc07e6146102215780638da5cb5b1461022a578063971b9c031461025257600080fd5b80634231a2c3116101095780634a400896116100ee5780634a400896146101cd5780635e5516ad146101d65780637072777f1461020457600080fd5b80634231a2c3146101a857806344e02982146101ba57600080fd5b8063134962cd1461013b57806320f3ee2f146101505780633ce142f5146101705780633ecc7c7a14610195575b600080fd5b61014e610149366004611595565b6102ad565b005b600154600254604080519283526020830191909152015b60405180910390f35b61018361017e3660046114b1565b6102dd565b60405160ff9091168152602001610167565b61014e6101a33660046115b6565b610368565b6001545b604051908152602001610167565b6101ac6101c836600461157d565b610479565b6101ac60025481565b6101e96101e436600461157d565b6104c8565b60408051938452602084019290925290820152606001610167565b61020c6104e9565b60405161016791906115c8565b61014e610540565b6101ac60015481565b60005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610167565b61020c6102603660046114e5565b610554565b6101ac6102733660046114e5565b61062c565b6002546101ac565b61014e61028e3660046114b1565b610637565b61014e6102a136600461157d565b6106ee565b6001610183565b6102b5610753565b6102c0600383610740565b506102d960015460016102d3919061167f565b82610368565b5050565b6000730c39486f770b26f5527bbbf942726537986cd7eb73ffffffffffffffffffffffffffffffffffffffff8316141561031957506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b610371826107d4565b610379575050565b6001829055610387816107ed565b60028190556003805460408051602080840282018101909252828152600093909290918301828280156103d957602002820191906000526020600020905b8154815260200190600101908083116103c5575b5050505050905060006103eb82610836565b905060005b82518110156104725781818151811061041957634e487b7160e01b600052603260045260246000fd5b60200260200101516005600085848151811061044557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061046a906116ff565b9150506103f0565b5050505050565b600081815260056020526040812054806104c2576040517f0565ce2a0000000000000000000000000000000000000000000000000000000081526004810184905260240161035f565b92915050565b60008060006104d684610479565b9250600154915060025490509193909250565b60038054604080516020808402820181019092528281526060939092909183018282801561053657602002820191906000526020600020905b815481526020019060010190808311610522575b5050505050905090565b610548610753565b6105526000610841565b565b60606000825167ffffffffffffffff81111561058057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156105a9578160200160208202803683370190505b50905060005b8351811015610625576105e88482815181106105db57634e487b7160e01b600052603260045260246000fd5b6020026020010151610479565b82828151811061060857634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061061d816116ff565b9150506105af565b5092915050565b60006104c2826108b6565b61063f610753565b73ffffffffffffffffffffffffffffffffffffffff81166106e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161035f565b6106eb81610841565b50565b6106f7816108c1565b60025481146106eb576002546040517f272e590700000000000000000000000000000000000000000000000000000000815260048101919091526024810182905260440161035f565b600061074c8383610973565b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161035f565b600060015460016107e5919061167f565b909114919050565b60025481116106eb576002546040517fd458dd3b00000000000000000000000000000000000000000000000000000000815261035f918391600401918252602082015260400190565b60606104c2826109c2565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006104c282610bbe565b60006108cf6103e883611697565b90508042101561092657603c6108e542836116e8565b11156102d9576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161035f565b60b461093282426116e8565b11156102d9576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161035f565b60008181526001830160205260408120546109ba575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104c2565b5060006104c2565b60606000825167ffffffffffffffff8111156109ee57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a17578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610a4457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a6d578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610a9a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610acd57816020015b6060815260200190600190039081610ab85790505b50905060005b8551811015610b3857604080516001808252818301909252906020808301908036833701905050828281518110610b1a57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610b30906116ff565b915050610ad3565b506000610b43610cd2565b90506000610b5082610e00565b61ffff169050610b6160028361167f565b60405190925060005b82811015610ba7576000610b818a89898989610e53565b9050610b8d818661167f565b945082604052508080610b9f906116ff565b915050610b6a565b50610bb28487611182565b98975050505050505050565b6000815160001415610bfc576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c05826112fa565b600060028351610c159190611697565b905060028351610c259190611738565b610ca2576000610c8d84610c3a6001856116e8565b81518110610c5857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610c8057634e487b7160e01b600052603260045260246000fd5b6020026020010151611348565b9050610c9a600282611697565b949350505050565b828181518110610cc257634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d3a576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d77576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610db0600362ffffff851661167f565b610dba919061167f565b905036610dc860028361167f565b111561074c576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e0e60208461167f565b905036811115610e4a576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e6285611354565b909250905060008080606081600d610e85610e7e60208961167f565b89906113a4565b610e8f919061167f565b90506000610ea8610ea160688d61167f565b36906113b0565b90506000610ec583610ebb60418f61167f565b610ea1919061167f565b9050610ed18382610ee4565b9350826020850120945081359650610f26565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f378765ffffffffffff166106ee565b610f4b85610f4660418f61167f565b6113bc565b9550610f56866102dd565b60ff1699505050505050505060008060005b8481101561114f57610f7b888583611452565b909350915060005b8c5181101561113c578c8181518110610fac57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561112a5760008b8281518110610fdd57634e487b7160e01b600052603260045260246000fd5b60200260200101519050610ff681896001901b16151590565b15801561102d5750600160ff168d838151811061102357634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611124578c828151811061105257634e487b7160e01b600052603260045260246000fd5b602002602001018051809190611067906116ff565b81525050838b838151811061108c57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110b657634e487b7160e01b600052603260045260246000fd5b60200260200101516110c891906116e8565b815181106110e657634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061111757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061113c565b80611134816116ff565b915050610f83565b5080611147816116ff565b915050610f68565b50505081602082611160919061167f565b61116a91906116ab565b61117590604e61167f565b9998505050505050505050565b60606000835167ffffffffffffffff8111156111ae57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111d7578160200160208202803683370190505b509050600160005b85518110156112f0578185828151811061120957634e487b7160e01b600052603260045260246000fd5b6020026020010151101561127d5784818151811061123757634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef500000000000000000000000000000000000000000000000000000000815260040161035f929190918252602082015260400190565b60006112af8783815181106112a257634e487b7160e01b600052603260045260246000fd5b602002602001015161062c565b9050808483815181106112d257634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112e8816116ff565b9150506111df565b5090949350505050565b8051602082016020820281019150805b8281101561134257815b8181101561133957815181518082101561132f578084528183525b5050602001611314565b5060200161130a565b50505050565b600061074c828461167f565b60008080808061136560418761167f565b90506000611377610ea160208461167f565b8035945090506113888160036113b0565b62ffffff9490941697933563ffffffff16965092945050505050565b600061074c82846116ab565b600061074c82846116e8565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa15801561141f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611461604e8761167f565b9050600061148e61148761147660208961167f565b61148188600161167f565b906113a4565b8390611348565b9050600061149c36836113b0565b80359960209091013598509650505050505050565b6000602082840312156114c2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461074c578182fd5b600060208083850312156114f7578182fd5b823567ffffffffffffffff81111561150d578283fd5b8301601f8101851361151d578283fd5b803561153061152b8261165b565b61160c565b80828252848201915084840188868560051b870101111561154f578687fd5b8694505b83851015611571578035835260019490940193918501918501611553565b50979650505050505050565b60006020828403121561158e578081fd5b5035919050565b600080604083850312156115a7578081fd5b50508035926020909101359150565b600080604083850312156115a7578182fd5b6020808252825182820181905260009190848201906040850190845b81811015611600578351835292840192918401916001016115e4565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561165357611653611778565b604052919050565b600067ffffffffffffffff82111561167557611675611778565b5060051b60200190565b600082198211156116925761169261174c565b500190565b6000826116a6576116a6611762565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156116e3576116e361174c565b500290565b6000828210156116fa576116fa61174c565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156117315761173161174c565b5060010190565b60008261174757611747611762565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212203ab879bbcfa045314fbdeb8111c566a85061100e4a3122b68c4400c458ea6c4e64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + name?: undefined; + anonymous?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + stateMutability?: undefined; + anonymous?: undefined; + outputs?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): PriceFeedsManagerInterface; + static connect(address: string, signerOrProvider: Signer | Provider): PriceFeedsManager; +} +export {}; +//# sourceMappingURL=PriceFeedsManager__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts.map new file mode 100644 index 00000000..f6323c9d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManager__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,MAAM,EAGN,eAAe,EACf,SAAS,EACT,SAAS,EACV,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,kDAAkD,CAAC;AA0c1D,aAAK,kCAAkC,GACnC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,0BAA2B,SAAQ,eAAe;gBACjD,GAAG,IAAI,EAAE,kCAAkC;IAQ9C,MAAM,CACb,aAAa,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EAC1C,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,iBAAiB,CAAC;IAMpB,oBAAoB,CAC3B,aAAa,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,EAC1C,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB;IAG1C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,0BAA0B;IAI5D,MAAM,CAAC,QAAQ,CAAC,QAAQ,4paAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iBAAiB;CAGrB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js new file mode 100644 index 00000000..a6382d6b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js @@ -0,0 +1,493 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PriceFeedsManager__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedsIds_", + type: "bytes32[]", + }, + ], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "DataFeedValueCannotBeZero", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "proposedTimestamp", + type: "uint256", + }, + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "ProposedTimestampDoesNotMatchReceivedTimestamp", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "lastUpdateTimestampInMilliseconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "ProposedTimestampSmallerOrEqualToLastTimestamp", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "previousOwner", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "newOwner", + type: "address", + }, + ], + name: "OwnershipTransferred", + type: "event", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "newDataFeedId", + type: "bytes32", + }, + { + internalType: "uint256", + name: "proposedTimestamp", + type: "uint256", + }, + ], + name: "addDataFeedIdAndUpdateValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getDataFeedsIds", + outputs: [ + { + internalType: "bytes32[]", + name: "", + type: "bytes32[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getLastRound", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getLastRoundParams", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getLastUpdateTimestamp", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getValueForDataFeed", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getValueForDataFeedAndLastRoundParams", + outputs: [ + { + internalType: "uint256", + name: "dataFeedValue", + type: "uint256", + }, + { + internalType: "uint256", + name: "lastRoundNumber", + type: "uint256", + }, + { + internalType: "uint256", + name: "lastUpdateTimestampInMilliseconds", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "requestedDataFeedsIds", + type: "bytes32[]", + }, + ], + name: "getValuesForDataFeeds", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "lastRound", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "lastUpdateTimestampMilliseconds", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "owner", + outputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "renounceOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "newOwner", + type: "address", + }, + ], + name: "transferOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "proposedRound", + type: "uint256", + }, + { + internalType: "uint256", + name: "proposedTimestamp", + type: "uint256", + }, + ], + name: "updateDataFeedValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x6080604052600060015560006002553480156200001b57600080fd5b5060405162001a4a38038062001a4a8339810160408190526200003e916200016d565b6200004933620000b4565b60005b8151811015620000ac576200009660038383815181106200007d57634e487b7160e01b600052603260045260246000fd5b60200260200101516200010460201b620007401760201c565b5080620000a38162000238565b9150506200004c565b505062000276565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006200011283836200011b565b90505b92915050565b6000818152600183016020526040812054620001645750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000115565b50600062000115565b6000602080838503121562000180578182fd5b82516001600160401b038082111562000197578384fd5b818501915085601f830112620001ab578384fd5b815181811115620001c057620001c062000260565b8060051b604051601f19603f83011681018181108582111715620001e857620001e862000260565b604052828152858101935084860182860187018a101562000207578788fd5b8795505b838610156200022b5780518552600195909501949386019386016200020b565b5098975050505050505050565b60006000198214156200025957634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6117c480620002866000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063715018a6116100b2578063b24ebfcc11610081578063f2fde38b11610066578063f2fde38b14610280578063f50b2efe14610293578063f90c4924146102a657600080fd5b8063b24ebfcc14610265578063e1e468821461027857600080fd5b8063715018a61461021957806382bc07e6146102215780638da5cb5b1461022a578063971b9c031461025257600080fd5b80634231a2c3116101095780634a400896116100ee5780634a400896146101cd5780635e5516ad146101d65780637072777f1461020457600080fd5b80634231a2c3146101a857806344e02982146101ba57600080fd5b8063134962cd1461013b57806320f3ee2f146101505780633ce142f5146101705780633ecc7c7a14610195575b600080fd5b61014e610149366004611595565b6102ad565b005b600154600254604080519283526020830191909152015b60405180910390f35b61018361017e3660046114b1565b6102dd565b60405160ff9091168152602001610167565b61014e6101a33660046115b6565b610368565b6001545b604051908152602001610167565b6101ac6101c836600461157d565b610479565b6101ac60025481565b6101e96101e436600461157d565b6104c8565b60408051938452602084019290925290820152606001610167565b61020c6104e9565b60405161016791906115c8565b61014e610540565b6101ac60015481565b60005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610167565b61020c6102603660046114e5565b610554565b6101ac6102733660046114e5565b61062c565b6002546101ac565b61014e61028e3660046114b1565b610637565b61014e6102a136600461157d565b6106ee565b6001610183565b6102b5610753565b6102c0600383610740565b506102d960015460016102d3919061167f565b82610368565b5050565b6000730c39486f770b26f5527bbbf942726537986cd7eb73ffffffffffffffffffffffffffffffffffffffff8316141561031957506000919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b610371826107d4565b610379575050565b6001829055610387816107ed565b60028190556003805460408051602080840282018101909252828152600093909290918301828280156103d957602002820191906000526020600020905b8154815260200190600101908083116103c5575b5050505050905060006103eb82610836565b905060005b82518110156104725781818151811061041957634e487b7160e01b600052603260045260246000fd5b60200260200101516005600085848151811061044557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061046a906116ff565b9150506103f0565b5050505050565b600081815260056020526040812054806104c2576040517f0565ce2a0000000000000000000000000000000000000000000000000000000081526004810184905260240161035f565b92915050565b60008060006104d684610479565b9250600154915060025490509193909250565b60038054604080516020808402820181019092528281526060939092909183018282801561053657602002820191906000526020600020905b815481526020019060010190808311610522575b5050505050905090565b610548610753565b6105526000610841565b565b60606000825167ffffffffffffffff81111561058057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156105a9578160200160208202803683370190505b50905060005b8351811015610625576105e88482815181106105db57634e487b7160e01b600052603260045260246000fd5b6020026020010151610479565b82828151811061060857634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061061d816116ff565b9150506105af565b5092915050565b60006104c2826108b6565b61063f610753565b73ffffffffffffffffffffffffffffffffffffffff81166106e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161035f565b6106eb81610841565b50565b6106f7816108c1565b60025481146106eb576002546040517f272e590700000000000000000000000000000000000000000000000000000000815260048101919091526024810182905260440161035f565b600061074c8383610973565b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161035f565b600060015460016107e5919061167f565b909114919050565b60025481116106eb576002546040517fd458dd3b00000000000000000000000000000000000000000000000000000000815261035f918391600401918252602082015260400190565b60606104c2826109c2565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006104c282610bbe565b60006108cf6103e883611697565b90508042101561092657603c6108e542836116e8565b11156102d9576040517fb6b0916d0000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161035f565b60b461093282426116e8565b11156102d9576040517f0321d0b50000000000000000000000000000000000000000000000000000000081526004810182905242602482015260440161035f565b60008181526001830160205260408120546109ba575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104c2565b5060006104c2565b60606000825167ffffffffffffffff8111156109ee57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a17578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610a4457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a6d578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610a9a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610acd57816020015b6060815260200190600190039081610ab85790505b50905060005b8551811015610b3857604080516001808252818301909252906020808301908036833701905050828281518110610b1a57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610b30906116ff565b915050610ad3565b506000610b43610cd2565b90506000610b5082610e00565b61ffff169050610b6160028361167f565b60405190925060005b82811015610ba7576000610b818a89898989610e53565b9050610b8d818661167f565b945082604052508080610b9f906116ff565b915050610b6a565b50610bb28487611182565b98975050505050505050565b6000815160001415610bfc576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c05826112fa565b600060028351610c159190611697565b905060028351610c259190611738565b610ca2576000610c8d84610c3a6001856116e8565b81518110610c5857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610c8057634e487b7160e01b600052603260045260246000fd5b6020026020010151611348565b9050610c9a600282611697565b949350505050565b828181518110610cc257634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d3a576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d77576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610db0600362ffffff851661167f565b610dba919061167f565b905036610dc860028361167f565b111561074c576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e0e60208461167f565b905036811115610e4a576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e6285611354565b909250905060008080606081600d610e85610e7e60208961167f565b89906113a4565b610e8f919061167f565b90506000610ea8610ea160688d61167f565b36906113b0565b90506000610ec583610ebb60418f61167f565b610ea1919061167f565b9050610ed18382610ee4565b9350826020850120945081359650610f26565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f378765ffffffffffff166106ee565b610f4b85610f4660418f61167f565b6113bc565b9550610f56866102dd565b60ff1699505050505050505060008060005b8481101561114f57610f7b888583611452565b909350915060005b8c5181101561113c578c8181518110610fac57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561112a5760008b8281518110610fdd57634e487b7160e01b600052603260045260246000fd5b60200260200101519050610ff681896001901b16151590565b15801561102d5750600160ff168d838151811061102357634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611124578c828151811061105257634e487b7160e01b600052603260045260246000fd5b602002602001018051809190611067906116ff565b81525050838b838151811061108c57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110b657634e487b7160e01b600052603260045260246000fd5b60200260200101516110c891906116e8565b815181106110e657634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061111757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061113c565b80611134816116ff565b915050610f83565b5080611147816116ff565b915050610f68565b50505081602082611160919061167f565b61116a91906116ab565b61117590604e61167f565b9998505050505050505050565b60606000835167ffffffffffffffff8111156111ae57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111d7578160200160208202803683370190505b509050600160005b85518110156112f0578185828151811061120957634e487b7160e01b600052603260045260246000fd5b6020026020010151101561127d5784818151811061123757634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef500000000000000000000000000000000000000000000000000000000815260040161035f929190918252602082015260400190565b60006112af8783815181106112a257634e487b7160e01b600052603260045260246000fd5b602002602001015161062c565b9050808483815181106112d257634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112e8816116ff565b9150506111df565b5090949350505050565b8051602082016020820281019150805b8281101561134257815b8181101561133957815181518082101561132f578084528183525b5050602001611314565b5060200161130a565b50505050565b600061074c828461167f565b60008080808061136560418761167f565b90506000611377610ea160208461167f565b8035945090506113888160036113b0565b62ffffff9490941697933563ffffffff16965092945050505050565b600061074c82846116ab565b600061074c82846116e8565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa15801561141f573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611461604e8761167f565b9050600061148e61148761147660208961167f565b61148188600161167f565b906113a4565b8390611348565b9050600061149c36836113b0565b80359960209091013598509650505050505050565b6000602082840312156114c2578081fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461074c578182fd5b600060208083850312156114f7578182fd5b823567ffffffffffffffff81111561150d578283fd5b8301601f8101851361151d578283fd5b803561153061152b8261165b565b61160c565b80828252848201915084840188868560051b870101111561154f578687fd5b8694505b83851015611571578035835260019490940193918501918501611553565b50979650505050505050565b60006020828403121561158e578081fd5b5035919050565b600080604083850312156115a7578081fd5b50508035926020909101359150565b600080604083850312156115a7578182fd5b6020808252825182820181905260009190848201906040850190845b81811015611600578351835292840192918401916001016115e4565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561165357611653611778565b604052919050565b600067ffffffffffffffff82111561167557611675611778565b5060051b60200190565b600082198211156116925761169261174c565b500190565b6000826116a6576116a6611762565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156116e3576116e361174c565b500290565b6000828210156116fa576116fa61174c565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156117315761173161174c565b5060010190565b60008261174757611747611762565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212203ab879bbcfa045314fbdeb8111c566a85061100e4a3122b68c4400c458ea6c4e64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class PriceFeedsManager__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(dataFeedsIds_, overrides) { + return super.deploy(dataFeedsIds_, overrides || {}); + } + getDeployTransaction(dataFeedsIds_, overrides) { + return super.getDeployTransaction(dataFeedsIds_, overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.PriceFeedsManager__factory = PriceFeedsManager__factory; +PriceFeedsManager__factory.bytecode = _bytecode; +PriceFeedsManager__factory.abi = _abi; +//# sourceMappingURL=PriceFeedsManager__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js.map new file mode 100644 index 00000000..9b408c47 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PriceFeedsManager__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/PriceFeedsManager__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAOgB;AAQhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,WAAW;aAClB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gB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QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAsB,CAAC;IAC5E,CAAC;;AAzCH,gEA0CC;AAXiB,mCAAQ,GAAG,SAAS,CAAC;AACrB,8BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts new file mode 100644 index 00000000..6085c09d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts @@ -0,0 +1,4 @@ +export { CustomErrors__factory } from "./CustomErrors__factory"; +export { PriceFeed__factory } from "./PriceFeed__factory"; +export { PriceFeedsManager__factory } from "./PriceFeedsManager__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts.map new file mode 100644 index 00000000..ed40f8b4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js new file mode 100644 index 00000000..8b9a83e1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js @@ -0,0 +1,13 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PriceFeedsManager__factory = exports.PriceFeed__factory = exports.CustomErrors__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var CustomErrors__factory_1 = require("./CustomErrors__factory"); +Object.defineProperty(exports, "CustomErrors__factory", { enumerable: true, get: function () { return CustomErrors__factory_1.CustomErrors__factory; } }); +var PriceFeed__factory_1 = require("./PriceFeed__factory"); +Object.defineProperty(exports, "PriceFeed__factory", { enumerable: true, get: function () { return PriceFeed__factory_1.PriceFeed__factory; } }); +var PriceFeedsManager__factory_1 = require("./PriceFeedsManager__factory"); +Object.defineProperty(exports, "PriceFeedsManager__factory", { enumerable: true, get: function () { return PriceFeedsManager__factory_1.PriceFeedsManager__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js.map new file mode 100644 index 00000000..200400d6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/price-feeds/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/price-feeds/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,2EAA0E;AAAjE,wIAAA,0BAA0B,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts new file mode 100644 index 00000000..687e1ebf --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts @@ -0,0 +1,36 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleBitmapLib, SampleBitmapLibInterface } from "../../../contracts/samples/SampleBitmapLib"; +declare type SampleBitmapLibConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleBitmapLib__factory extends ContractFactory { + constructor(...args: SampleBitmapLibConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleBitmapLib; + connect(signer: Signer): SampleBitmapLib__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b5060eb8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80635aace7df1460375780637160c362146059575b600080fd5b604660423660046095565b6077565b6040519081526020015b60405180910390f35b606860643660046095565b6087565b60405190151581526020016050565b60006001821b83175b9392505050565b60006001821b831615156080565b6000806040838503121560a6578182fd5b5050803592602090910135915056fea264697066735822122091e2727285a9a36e7c2bec1d2ca7cef3cb9f33d811274e29853b006cb7aa5b5364736f6c63430008040033"; + static readonly abi: { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + }[]; + static createInterface(): SampleBitmapLibInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleBitmapLib; +} +export {}; +//# sourceMappingURL=SampleBitmapLib__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts.map new file mode 100644 index 00000000..705c4663 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleBitmapLib__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleBitmapLib__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACzB,MAAM,4CAA4C,CAAC;AAwDpD,aAAK,gCAAgC,GACjC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,wBAAyB,SAAQ,eAAe;gBAC/C,GAAG,IAAI,EAAE,gCAAgC;IAQ5C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,eAAe,CAAC;IAGlB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe;IAGxC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB;IAI1D,MAAM,CAAC,QAAQ,CAAC,QAAQ,4hBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;QAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,wBAAwB;IAGlD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,eAAe;CAGnB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js new file mode 100644 index 00000000..962fb968 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js @@ -0,0 +1,91 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleBitmapLib__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "uint256", + name: "bitmap", + type: "uint256", + }, + { + internalType: "uint256", + name: "bitIndex", + type: "uint256", + }, + ], + name: "getBitFromBitmap", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "bitmap", + type: "uint256", + }, + { + internalType: "uint256", + name: "bitIndex", + type: "uint256", + }, + ], + name: "setBitInBitmap", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "pure", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b5060eb8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80635aace7df1460375780637160c362146059575b600080fd5b604660423660046095565b6077565b6040519081526020015b60405180910390f35b606860643660046095565b6087565b60405190151581526020016050565b60006001821b83175b9392505050565b60006001821b831615156080565b6000806040838503121560a6578182fd5b5050803592602090910135915056fea264697066735822122091e2727285a9a36e7c2bec1d2ca7cef3cb9f33d811274e29853b006cb7aa5b5364736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleBitmapLib__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleBitmapLib__factory = SampleBitmapLib__factory; +SampleBitmapLib__factory.bytecode = _bytecode; +SampleBitmapLib__factory.abi = _abi; +//# sourceMappingURL=SampleBitmapLib__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js.map new file mode 100644 index 00000000..38cacdd0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleBitmapLib__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleBitmapLib__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleBitmapLib__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd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ACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAoB,CAAC;IAC1E,CAAC;;AApCH,4DAqCC;AAXiB,iCAAQ,GAAG,SAAS,CAAC;AACrB,4BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts new file mode 100644 index 00000000..41fa056f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleDuplicatedDataFeeds, SampleDuplicatedDataFeedsInterface } from "../../../contracts/samples/SampleDuplicatedDataFeeds"; +declare type SampleDuplicatedDataFeedsConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleDuplicatedDataFeeds__factory extends ContractFactory { + constructor(...args: SampleDuplicatedDataFeedsConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleDuplicatedDataFeeds; + connect(signer: Signer): SampleDuplicatedDataFeeds__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50611935806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063b24ebfcc11610076578063d22158fa1161005b578063d22158fa14610143578063f50b2efe14610156578063f90c49241461016957600080fd5b8063b24ebfcc1461010d578063c22b59281461012e57600080fd5b80633ce142f5146100a8578063429989f0146100d257806353432eb4146100e557806395262d9f146100fa575b600080fd5b6100bb6100b6366004611612565b610170565b60405160ff90911681526020015b60405180910390f35b6100bb6100e0366004611612565b610181565b6100f86100f3366004611646565b61065a565b005b6100bb610108366004611612565b6106b4565b61012061011b3660046116b6565b6106bf565b6040519081526020016100c9565b6101366106ca565b6040516100c991906117ac565b6100bb610151366004611612565b610722565b6100f8610164366004611794565b6107a9565b600a6100bb565b600061017b826106b4565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156101bd57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156101f757506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561023157506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561026b57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156102a557506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156102df57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561031957506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561035357506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561038d57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156103c757506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156104015750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff8316141561043b5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156104755750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104af5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156104e95750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156105235750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561055d57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561059757506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156105d157506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561060b57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006106988383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506107ec92505050565b80519091506106ae9060009060208401906115b2565b50505050565b600061017b82610722565b600061017b82610aa9565b6060600080548060200260200160405190810160405280929190818152602001828054801561071857602002820191906000526020600020905b815481526020019060010190808311610704575b5050505050905090565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107a0576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610651565b61017b82610181565b6501812f2590c08110156107e9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60606000825167ffffffffffffffff81111561081857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610841578160200160208202803683370190505b509050600080805b855181101561094b576000925060005b828110156108d25786828151811061088157634e487b7160e01b600052603260045260246000fd5b60200260200101518582815181106108a957634e487b7160e01b600052603260045260246000fd5b602002602001015114156108c057600193506108d2565b806108ca81611870565b915050610859565b5082610939578581815181106108f857634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061092057634e487b7160e01b600052603260045260246000fd5b60209081029190910101528161093581611870565b9250505b8061094381611870565b915050610849565b50808352600061095a84610ab4565b90506000865167ffffffffffffffff81111561098657634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156109af578160200160208202803683370190505b50905060005b8751811015610a9e5760005b8651811015610a8b578681815181106109ea57634e487b7160e01b600052603260045260246000fd5b6020026020010151898381518110610a1257634e487b7160e01b600052603260045260246000fd5b60200260200101511415610a7957838181518110610a4057634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110610a6857634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610a8b565b80610a8381611870565b9150506109c1565b5080610a9681611870565b9150506109b5565b509695505050505050565b600061017b82610abf565b606061017b82610bd3565b6000815160001415610afd576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b0682610dd2565b600060028351610b169190611808565b905060028351610b2691906118a9565b610ba3576000610b8e84610b3b600185611859565b81518110610b5957634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610b8157634e487b7160e01b600052603260045260246000fd5b6020026020010151610e1a565b9050610b9b600282611808565b949350505050565b828181518110610bc357634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60606000825167ffffffffffffffff811115610bff57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c28578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610c5557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c7e578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610cab57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610cde57816020015b6060815260200190600190039081610cc95790505b50905060005b8551811015610d4c5760408051600a808252610160820190925290602082016101408036833701905050828281518110610d2e57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610d4490611870565b915050610ce4565b506000610d57610e2d565b90506000610d6482610f5b565b61ffff169050610d756002836117f0565b60405190925060005b82811015610dbb576000610d958a89898989610fae565b9050610da181866117f0565b945082604052508080610db390611870565b915050610d7e565b50610dc684876112dd565b98975050505050505050565b8051602082016020820281019150805b828110156106ae57815b81811015610e11578151815180821015610e07578084528183525b5050602001610dec565b50602001610de2565b6000610e2682846117f0565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610e95576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610ed2576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610f0b600362ffffff85166117f0565b610f1591906117f0565b905036610f236002836117f0565b1115610e26576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f696020846117f0565b905036811115610fa5576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610fbd85611455565b909250905060008080606081600d610fe0610fd96020896117f0565b89906114a5565b610fea91906117f0565b90506000611003610ffc60688d6117f0565b36906114b1565b905060006110208361101660418f6117f0565b610ffc91906117f0565b905061102c838261103f565b9350826020850120945081359650611081565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6110928765ffffffffffff166107a9565b6110a6856110a160418f6117f0565b6114bd565b95506110b186610170565b60ff1699505050505050505060008060005b848110156112aa576110d6888583611553565b909350915060005b8c51811015611297578c818151811061110757634e487b7160e01b600052603260045260246000fd5b60200260200101518414156112855760008b828151811061113857634e487b7160e01b600052603260045260246000fd5b6020026020010151905061115181896001901b16151590565b1580156111885750600a60ff168d838151811061117e57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561127f578c82815181106111ad57634e487b7160e01b600052603260045260246000fd5b6020026020010180518091906111c290611870565b81525050838b83815181106111e757634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061121157634e487b7160e01b600052603260045260246000fd5b60200260200101516112239190611859565b8151811061124157634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061127257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611297565b8061128f81611870565b9150506110de565b50806112a281611870565b9150506110c3565b505050816020826112bb91906117f0565b6112c5919061181c565b6112d090604e6117f0565b9998505050505050505050565b60606000835167ffffffffffffffff81111561130957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611332578160200160208202803683370190505b509050600a60005b855181101561144b578185828151811061136457634e487b7160e01b600052603260045260246000fd5b602002602001015110156113d85784818151811061139257634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610651929190918252602082015260400190565b600061140a8783815181106113fd57634e487b7160e01b600052603260045260246000fd5b60200260200101516106bf565b90508084838151811061142d57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061144381611870565b91505061133a565b5090949350505050565b6000808080806114666041876117f0565b90506000611478610ffc6020846117f0565b8035945090506114898160036114b1565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610e26828461181c565b6000610e268284611859565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611520573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611562604e876117f0565b9050600061158f6115886115776020896117f0565b6115828860016117f0565b906114a5565b8390610e1a565b9050600061159d36836114b1565b80359960209091013598509650505050505050565b8280548282559060005260206000209081019282156115ed579160200282015b828111156115ed5782518255916020019190600101906115d2565b506115f99291506115fd565b5090565b5b808211156115f957600081556001016115fe565b600060208284031215611623578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610e26578182fd5b60008060208385031215611658578081fd5b823567ffffffffffffffff8082111561166f578283fd5b818501915085601f830112611682578283fd5b813581811115611690578384fd5b8660208260051b85010111156116a4578384fd5b60209290920196919550909350505050565b600060208083850312156116c8578182fd5b823567ffffffffffffffff808211156116df578384fd5b818501915085601f8301126116f2578384fd5b813581811115611704576117046118e9565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715611747576117476118e9565b604052828152858101935084860182860187018a1015611765578788fd5b8795505b83861015611787578035855260019590950194938601938601611769565b5098975050505050505050565b6000602082840312156117a5578081fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b818110156117e4578351835292840192918401916001016117c8565b50909695505050505050565b60008219821115611803576118036118bd565b500190565b600082611817576118176118d3565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611854576118546118bd565b500290565b60008282101561186b5761186b6118bd565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156118a2576118a26118bd565b5060010190565b6000826118b8576118b86118d3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a16b3efff4fe708bd4eeec5eaef6e705ed4861496742f2bd2ab76d0cdfd8804164736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleDuplicatedDataFeedsInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleDuplicatedDataFeeds; +} +export {}; +//# sourceMappingURL=SampleDuplicatedDataFeeds__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts.map new file mode 100644 index 00000000..4e8cc053 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleDuplicatedDataFeeds__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,sDAAsD,CAAC;AA8N9D,aAAK,0CAA0C,GAC3C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,kCAAmC,SAAQ,eAAe;gBACzD,GAAG,IAAI,EAAE,0CAA0C;IAQtD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,yBAAyB;IAGlD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,kCAAkC;IAIpE,MAAM,CAAC,QAAQ,CAAC,QAAQ,krZAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js new file mode 100644 index 00000000..eed2f508 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js @@ -0,0 +1,257 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleDuplicatedDataFeeds__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getValuesFromStorage", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIdsWithDuplicates", + type: "bytes32[]", + }, + ], + name: "saveOracleValuesInStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50611935806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063b24ebfcc11610076578063d22158fa1161005b578063d22158fa14610143578063f50b2efe14610156578063f90c49241461016957600080fd5b8063b24ebfcc1461010d578063c22b59281461012e57600080fd5b80633ce142f5146100a8578063429989f0146100d257806353432eb4146100e557806395262d9f146100fa575b600080fd5b6100bb6100b6366004611612565b610170565b60405160ff90911681526020015b60405180910390f35b6100bb6100e0366004611612565b610181565b6100f86100f3366004611646565b61065a565b005b6100bb610108366004611612565b6106b4565b61012061011b3660046116b6565b6106bf565b6040519081526020016100c9565b6101366106ca565b6040516100c991906117ac565b6100bb610151366004611612565b610722565b6100f8610164366004611794565b6107a9565b600a6100bb565b600061017b826106b4565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156101bd57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156101f757506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561023157506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561026b57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156102a557506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156102df57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561031957506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561035357506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561038d57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156103c757506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156104015750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff8316141561043b5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156104755750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104af5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156104e95750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156105235750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561055d57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561059757506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156105d157506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561060b57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006106988383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506107ec92505050565b80519091506106ae9060009060208401906115b2565b50505050565b600061017b82610722565b600061017b82610aa9565b6060600080548060200260200160405190810160405280929190818152602001828054801561071857602002820191906000526020600020905b815481526020019060010190808311610704575b5050505050905090565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107a0576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610651565b61017b82610181565b6501812f2590c08110156107e9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60606000825167ffffffffffffffff81111561081857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610841578160200160208202803683370190505b509050600080805b855181101561094b576000925060005b828110156108d25786828151811061088157634e487b7160e01b600052603260045260246000fd5b60200260200101518582815181106108a957634e487b7160e01b600052603260045260246000fd5b602002602001015114156108c057600193506108d2565b806108ca81611870565b915050610859565b5082610939578581815181106108f857634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061092057634e487b7160e01b600052603260045260246000fd5b60209081029190910101528161093581611870565b9250505b8061094381611870565b915050610849565b50808352600061095a84610ab4565b90506000865167ffffffffffffffff81111561098657634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156109af578160200160208202803683370190505b50905060005b8751811015610a9e5760005b8651811015610a8b578681815181106109ea57634e487b7160e01b600052603260045260246000fd5b6020026020010151898381518110610a1257634e487b7160e01b600052603260045260246000fd5b60200260200101511415610a7957838181518110610a4057634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110610a6857634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610a8b565b80610a8381611870565b9150506109c1565b5080610a9681611870565b9150506109b5565b509695505050505050565b600061017b82610abf565b606061017b82610bd3565b6000815160001415610afd576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b0682610dd2565b600060028351610b169190611808565b905060028351610b2691906118a9565b610ba3576000610b8e84610b3b600185611859565b81518110610b5957634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610b8157634e487b7160e01b600052603260045260246000fd5b6020026020010151610e1a565b9050610b9b600282611808565b949350505050565b828181518110610bc357634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60606000825167ffffffffffffffff811115610bff57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c28578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610c5557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c7e578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610cab57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610cde57816020015b6060815260200190600190039081610cc95790505b50905060005b8551811015610d4c5760408051600a808252610160820190925290602082016101408036833701905050828281518110610d2e57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610d4490611870565b915050610ce4565b506000610d57610e2d565b90506000610d6482610f5b565b61ffff169050610d756002836117f0565b60405190925060005b82811015610dbb576000610d958a89898989610fae565b9050610da181866117f0565b945082604052508080610db390611870565b915050610d7e565b50610dc684876112dd565b98975050505050505050565b8051602082016020820281019150805b828110156106ae57815b81811015610e11578151815180821015610e07578084528183525b5050602001610dec565b50602001610de2565b6000610e2682846117f0565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610e95576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610ed2576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610f0b600362ffffff85166117f0565b610f1591906117f0565b905036610f236002836117f0565b1115610e26576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f696020846117f0565b905036811115610fa5576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610fbd85611455565b909250905060008080606081600d610fe0610fd96020896117f0565b89906114a5565b610fea91906117f0565b90506000611003610ffc60688d6117f0565b36906114b1565b905060006110208361101660418f6117f0565b610ffc91906117f0565b905061102c838261103f565b9350826020850120945081359650611081565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6110928765ffffffffffff166107a9565b6110a6856110a160418f6117f0565b6114bd565b95506110b186610170565b60ff1699505050505050505060008060005b848110156112aa576110d6888583611553565b909350915060005b8c51811015611297578c818151811061110757634e487b7160e01b600052603260045260246000fd5b60200260200101518414156112855760008b828151811061113857634e487b7160e01b600052603260045260246000fd5b6020026020010151905061115181896001901b16151590565b1580156111885750600a60ff168d838151811061117e57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561127f578c82815181106111ad57634e487b7160e01b600052603260045260246000fd5b6020026020010180518091906111c290611870565b81525050838b83815181106111e757634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061121157634e487b7160e01b600052603260045260246000fd5b60200260200101516112239190611859565b8151811061124157634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061127257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611297565b8061128f81611870565b9150506110de565b50806112a281611870565b9150506110c3565b505050816020826112bb91906117f0565b6112c5919061181c565b6112d090604e6117f0565b9998505050505050505050565b60606000835167ffffffffffffffff81111561130957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611332578160200160208202803683370190505b509050600a60005b855181101561144b578185828151811061136457634e487b7160e01b600052603260045260246000fd5b602002602001015110156113d85784818151811061139257634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610651929190918252602082015260400190565b600061140a8783815181106113fd57634e487b7160e01b600052603260045260246000fd5b60200260200101516106bf565b90508084838151811061142d57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061144381611870565b91505061133a565b5090949350505050565b6000808080806114666041876117f0565b90506000611478610ffc6020846117f0565b8035945090506114898160036114b1565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610e26828461181c565b6000610e268284611859565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611520573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611562604e876117f0565b9050600061158f6115886115776020896117f0565b6115828860016117f0565b906114a5565b8390610e1a565b9050600061159d36836114b1565b80359960209091013598509650505050505050565b8280548282559060005260206000209081019282156115ed579160200282015b828111156115ed5782518255916020019190600101906115d2565b506115f99291506115fd565b5090565b5b808211156115f957600081556001016115fe565b600060208284031215611623578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610e26578182fd5b60008060208385031215611658578081fd5b823567ffffffffffffffff8082111561166f578283fd5b818501915085601f830112611682578283fd5b813581811115611690578384fd5b8660208260051b85010111156116a4578384fd5b60209290920196919550909350505050565b600060208083850312156116c8578182fd5b823567ffffffffffffffff808211156116df578384fd5b818501915085601f8301126116f2578384fd5b813581811115611704576117046118e9565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715611747576117476118e9565b604052828152858101935084860182860187018a1015611765578788fd5b8795505b83861015611787578035855260019590950194938601938601611769565b5098975050505050505050565b6000602082840312156117a5578081fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b818110156117e4578351835292840192918401916001016117c8565b50909695505050505050565b60008219821115611803576118036118bd565b500190565b600082611817576118176118d3565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611854576118546118bd565b500290565b60008282101561186b5761186b6118bd565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156118a2576118a26118bd565b5060010190565b6000826118b8576118b86118d3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a16b3efff4fe708bd4eeec5eaef6e705ed4861496742f2bd2ab76d0cdfd8804164736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleDuplicatedDataFeeds__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleDuplicatedDataFeeds__factory = SampleDuplicatedDataFeeds__factory; +SampleDuplicatedDataFeeds__factory.bytecode = _bytecode; +SampleDuplicatedDataFeeds__factory.abi = _abi; +//# sourceMappingURL=SampleDuplicatedDataFeeds__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js.map new file mode 100644 index 00000000..d91ebe40 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleDuplicatedDataFeeds__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleDuplicatedDataFeeds__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI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;KACjB;CACF,CAAC;AAEF,MAAM,SAAS,GACb,8qZAA8qZ,CAAC;AAMjrZ,MAAM,WAAW,GAAG,CAClB,EAA8C,EACO,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,kCAAmC,SAAQ,wBAAe;IACrE,YAAY,GAAG,IAAgD;QAC7D,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAAuC,CAAC;IAC7E,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA8B,CAAC;IAC5D,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAuC,CAAC;IACrE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAuC,CAAC;IACzE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACY,CAAC;IACjC,CAAC;;AAxCH,gFAyCC;AAfiB,2CAAQ,GAAG,SAAS,CAAC;AACrB,sCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts new file mode 100644 index 00000000..c6069216 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleKydServiceConsumer, SampleKydServiceConsumerInterface } from "../../../contracts/samples/SampleKydServiceConsumer"; +declare type SampleKydServiceConsumerConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleKydServiceConsumer__factory extends ContractFactory { + constructor(...args: SampleKydServiceConsumerConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleKydServiceConsumer; + connect(signer: Signer): SampleKydServiceConsumer__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506110bd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063ec359c4d11610050578063ec359c4d146100cc578063f50b2efe146100e2578063f90c4924146100f557600080fd5b80633ce142f51461007757806371478b24146100a1578063b24ebfcc146100ab575b600080fd5b61008a610085366004610e6c565b6100fc565b60405160ff90911681526020015b60405180910390f35b6100a96101c1565b005b6100be6100b9366004610ea0565b610285565b604051908152602001610098565b60005460ff166040519015158152602001610098565b6100a96100f0366004610f7e565b610379565b600261008a565b60007370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561013857506000919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561017257506001919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050600061021882610385565b905080600114610256576040517fdb1e860d0000000000000000000000000000000000000000000000000000000081523360048201526024016101b8565b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60008151600014156102c3576040517fdfac221e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826000815181106102e657634e487b7160e01b600052603260045260246000fd5b602002602001015190506000600190505b8351811015610372578184828151811061032157634e487b7160e01b600052603260045260246000fd5b602002602001015114610360576040517fd5e55d1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061036a81611022565b9150506102f7565b5092915050565b61038281610411565b50565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106103cc57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506103e1816104c7565b60008151811061040157634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061041f6103e883610fae565b90508042101561047a57603c610435428361100b565b1115610476576040517fb6b0916d000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044016101b8565b5050565b60b4610486824261100b565b1115610476576040517f0321d0b5000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044016101b8565b60606104d2826104d8565b92915050565b60606000825167ffffffffffffffff81111561050457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561052d578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561055a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610583578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156105b057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156105e357816020015b60608152602001906001900390816105ce5790505b50905060005b855181101561064e5760408051600280825260608201835290916020830190803683370190505082828151811061063057634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061064690611022565b9150506105e9565b5060006106596106d4565b9050600061066682610809565b61ffff169050610677600283610f96565b60405190925060005b828110156106bd5760006106978a8989898961085c565b90506106a38186610f96565b9450826040525080806106b590611022565b915050610680565b506106c88487610b8b565b98975050505050505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358116148061073c576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610779576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096107b2600362ffffff8516610f96565b6107bc9190610f96565b9050366107ca600283610f96565b1115610802576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610817602084610f96565b905036811115610853576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061086b85610d03565b909250905060008080606081600d61088e610887602089610f96565b8990610d53565b6108989190610f96565b905060006108b16108aa60688d610f96565b3690610d5f565b905060006108ce836108c460418f610f96565b6108aa9190610f96565b90506108da83826108ed565b935082602085012094508135965061092f565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6109408765ffffffffffff16610379565b6109548561094f60418f610f96565b610d6b565b955061095f866100fc565b60ff1699505050505050505060008060005b84811015610b5857610984888583610e01565b909350915060005b8c51811015610b45578c81815181106109b557634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610b335760008b82815181106109e657634e487b7160e01b600052603260045260246000fd5b602002602001015190506109ff81896001901b16151590565b158015610a365750600260ff168d8381518110610a2c57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610b2d578c8281518110610a5b57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610a7090611022565b81525050838b8381518110610a9557634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610abf57634e487b7160e01b600052603260045260246000fd5b6020026020010151610ad1919061100b565b81518110610aef57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610b2057634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610b45565b80610b3d81611022565b91505061098c565b5080610b5081611022565b915050610971565b50505081602082610b699190610f96565b610b739190610fce565b610b7e90604e610f96565b9998505050505050505050565b60606000835167ffffffffffffffff811115610bb757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610be0578160200160208202803683370190505b509050600260005b8551811015610cf95781858281518110610c1257634e487b7160e01b600052603260045260246000fd5b60200260200101511015610c8657848181518110610c4057634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016101b8929190918252602082015260400190565b6000610cb8878381518110610cab57634e487b7160e01b600052603260045260246000fd5b6020026020010151610285565b905080848381518110610cdb57634e487b7160e01b600052603260045260246000fd5b60209081029190910101525080610cf181611022565b915050610be8565b5090949350505050565b600080808080610d14604187610f96565b90506000610d266108aa602084610f96565b803594509050610d37816003610d5f565b62ffffff9490941697933563ffffffff16965092945050505050565b60006108028284610fce565b6000610802828461100b565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015610dce573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080610e10604e87610f96565b90506000610e3d610e36610e25602089610f96565b610e30886001610f96565b90610d53565b8390610e60565b90506000610e4b3683610d5f565b80359960209091013598509650505050505050565b60006108028284610f96565b600060208284031215610e7d578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610802578182fd5b60006020808385031215610eb2578182fd5b823567ffffffffffffffff80821115610ec9578384fd5b818501915085601f830112610edc578384fd5b813581811115610eee57610eee611071565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610f3157610f31611071565b604052828152858101935084860182860187018a1015610f4f578788fd5b8795505b83861015610f71578035855260019590950194938601938601610f53565b5098975050505050505050565b600060208284031215610f8f578081fd5b5035919050565b60008219821115610fa957610fa961105b565b500190565b600082610fc957634e487b7160e01b81526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156110065761100661105b565b500290565b60008282101561101d5761101d61105b565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156110545761105461105b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220436a84424e873ca97664ff65a87c207f2b0b661a74fcbb284e2f5c6a76a9e9f264736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleKydServiceConsumerInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleKydServiceConsumer; +} +export {}; +//# sourceMappingURL=SampleKydServiceConsumer__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts.map new file mode 100644 index 00000000..82a4b7ae --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleKydServiceConsumer__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,wBAAwB,EACxB,iCAAiC,EAClC,MAAM,qDAAqD,CAAC;AA0M7D,aAAK,yCAAyC,GAC1C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,iCAAkC,SAAQ,eAAe;gBACxD,GAAG,IAAI,EAAE,yCAAyC;IAQrD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,wBAAwB,CAAC;IAG3B,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,wBAAwB;IAGjD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,iCAAiC;IAInE,MAAM,CAAC,QAAQ,CAAC,QAAQ,k8QAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,iCAAiC;IAG3D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,wBAAwB;CAO5B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js new file mode 100644 index 00000000..b3ecfdcb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js @@ -0,0 +1,237 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleKydServiceConsumer__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "AllValuesMustBeEqual", + type: "error", + }, + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "user", + type: "address", + }, + ], + name: "UserDidNotPassKYD", + type: "error", + }, + { + inputs: [], + name: "ValuesArrayCanNotBeEmpty", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "executeActionPassingKYD", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getPassedKYDValue", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506110bd806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063ec359c4d11610050578063ec359c4d146100cc578063f50b2efe146100e2578063f90c4924146100f557600080fd5b80633ce142f51461007757806371478b24146100a1578063b24ebfcc146100ab575b600080fd5b61008a610085366004610e6c565b6100fc565b60405160ff90911681526020015b60405180910390f35b6100a96101c1565b005b6100be6100b9366004610ea0565b610285565b604051908152602001610098565b60005460ff166040519015158152602001610098565b6100a96100f0366004610f7e565b610379565b600261008a565b60007370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561013857506000919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561017257506001919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050600061021882610385565b905080600114610256576040517fdb1e860d0000000000000000000000000000000000000000000000000000000081523360048201526024016101b8565b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60008151600014156102c3576040517fdfac221e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826000815181106102e657634e487b7160e01b600052603260045260246000fd5b602002602001015190506000600190505b8351811015610372578184828151811061032157634e487b7160e01b600052603260045260246000fd5b602002602001015114610360576040517fd5e55d1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061036a81611022565b9150506102f7565b5092915050565b61038281610411565b50565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106103cc57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506103e1816104c7565b60008151811061040157634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061041f6103e883610fae565b90508042101561047a57603c610435428361100b565b1115610476576040517fb6b0916d000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044016101b8565b5050565b60b4610486824261100b565b1115610476576040517f0321d0b5000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044016101b8565b60606104d2826104d8565b92915050565b60606000825167ffffffffffffffff81111561050457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561052d578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561055a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610583578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156105b057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156105e357816020015b60608152602001906001900390816105ce5790505b50905060005b855181101561064e5760408051600280825260608201835290916020830190803683370190505082828151811061063057634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061064690611022565b9150506105e9565b5060006106596106d4565b9050600061066682610809565b61ffff169050610677600283610f96565b60405190925060005b828110156106bd5760006106978a8989898961085c565b90506106a38186610f96565b9450826040525080806106b590611022565b915050610680565b506106c88487610b8b565b98975050505050505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358116148061073c576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610779576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096107b2600362ffffff8516610f96565b6107bc9190610f96565b9050366107ca600283610f96565b1115610802576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610817602084610f96565b905036811115610853576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061086b85610d03565b909250905060008080606081600d61088e610887602089610f96565b8990610d53565b6108989190610f96565b905060006108b16108aa60688d610f96565b3690610d5f565b905060006108ce836108c460418f610f96565b6108aa9190610f96565b90506108da83826108ed565b935082602085012094508135965061092f565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6109408765ffffffffffff16610379565b6109548561094f60418f610f96565b610d6b565b955061095f866100fc565b60ff1699505050505050505060008060005b84811015610b5857610984888583610e01565b909350915060005b8c51811015610b45578c81815181106109b557634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610b335760008b82815181106109e657634e487b7160e01b600052603260045260246000fd5b602002602001015190506109ff81896001901b16151590565b158015610a365750600260ff168d8381518110610a2c57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610b2d578c8281518110610a5b57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610a7090611022565b81525050838b8381518110610a9557634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610abf57634e487b7160e01b600052603260045260246000fd5b6020026020010151610ad1919061100b565b81518110610aef57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610b2057634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610b45565b80610b3d81611022565b91505061098c565b5080610b5081611022565b915050610971565b50505081602082610b699190610f96565b610b739190610fce565b610b7e90604e610f96565b9998505050505050505050565b60606000835167ffffffffffffffff811115610bb757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610be0578160200160208202803683370190505b509050600260005b8551811015610cf95781858281518110610c1257634e487b7160e01b600052603260045260246000fd5b60200260200101511015610c8657848181518110610c4057634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016101b8929190918252602082015260400190565b6000610cb8878381518110610cab57634e487b7160e01b600052603260045260246000fd5b6020026020010151610285565b905080848381518110610cdb57634e487b7160e01b600052603260045260246000fd5b60209081029190910101525080610cf181611022565b915050610be8565b5090949350505050565b600080808080610d14604187610f96565b90506000610d266108aa602084610f96565b803594509050610d37816003610d5f565b62ffffff9490941697933563ffffffff16965092945050505050565b60006108028284610fce565b6000610802828461100b565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015610dce573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080610e10604e87610f96565b90506000610e3d610e36610e25602089610f96565b610e30886001610f96565b90610d53565b8390610e60565b90506000610e4b3683610d5f565b80359960209091013598509650505050505050565b60006108028284610f96565b600060208284031215610e7d578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610802578182fd5b60006020808385031215610eb2578182fd5b823567ffffffffffffffff80821115610ec9578384fd5b818501915085601f830112610edc578384fd5b813581811115610eee57610eee611071565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610f3157610f31611071565b604052828152858101935084860182860187018a1015610f4f578788fd5b8795505b83861015610f71578035855260019590950194938601938601610f53565b5098975050505050505050565b600060208284031215610f8f578081fd5b5035919050565b60008219821115610fa957610fa961105b565b500190565b600082610fc957634e487b7160e01b81526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156110065761100661105b565b500290565b60008282101561101d5761101d61105b565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156110545761105461105b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220436a84424e873ca97664ff65a87c207f2b0b661a74fcbb284e2f5c6a76a9e9f264736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleKydServiceConsumer__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleKydServiceConsumer__factory = SampleKydServiceConsumer__factory; +SampleKydServiceConsumer__factory.bytecode = _bytecode; +SampleKydServiceConsumer__factory.abi = _abi; +//# sourceMappingURL=SampleKydServiceConsumer__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js.map new file mode 100644 index 00000000..7e517d62 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleKydServiceConsumer__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleKydServiceConsumer__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EA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CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACW,CAAC;IAChC,CAAC;;AAxCH,8EAyCC;AAfiB,0CAAQ,GAAG,SAAS,CAAC;AACrB,qCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts new file mode 100644 index 00000000..677d56c1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts @@ -0,0 +1,48 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleNumericArrayLib, SampleNumericArrayLibInterface } from "../../../contracts/samples/SampleNumericArrayLib"; +declare type SampleNumericArrayLibConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleNumericArrayLib__factory extends ContractFactory { + constructor(...args: SampleNumericArrayLibConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleNumericArrayLib; + connect(signer: Signer): SampleNumericArrayLib__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506105bf806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80635dc211a8116100505780635dc211a814610094578063b74ab979146100a7578063fdbf8586146100c557600080fd5b806345ac16491461006c57806356e9d5d814610081575b600080fd5b61007f61007a366004610383565b6100dc565b005b61007f61008f366004610383565b6100eb565b61007f6100a2366004610383565b610102565b6100af61010b565b6040516100bc9190610461565b60405180910390f35b6100ce60015481565b6040519081526020016100bc565b6100e581610163565b60015550565b80516100fe906000906020840190610323565b5050565b6100eb816102c2565b6060600080548060200260200160405190810160405280929190818152602001828054801561015957602002820191906000526020600020905b815481526020019060010190808311610145575b5050505050905090565b60008151600014156101a1576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6101aa826102c2565b6000600283516101ba91906104bd565b9050600283516101ca91906104e8565b610279576000610264846101df6001856104d1565b81518110610216577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610257577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610310565b90506102716002826104bd565b949350505050565b8281815181106102b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b8281101561030a57815b818110156103015781518151808210156102f7578084528183525b50506020016102dc565b506020016102d2565b50505050565b600061031c82846104a5565b9392505050565b82805482825590600052602060002090810192821561035e579160200282015b8281111561035e578251825591602001919060010190610343565b5061036a92915061036e565b5090565b5b8082111561036a576000815560010161036f565b60006020808385031215610395578182fd5b823567ffffffffffffffff808211156103ac578384fd5b818501915085601f8301126103bf578384fd5b8135818111156103d1576103d161055a565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104145761041461055a565b604052828152858101935084860182860187018a1015610432578788fd5b8795505b83861015610454578035855260019590950194938601938601610436565b5098975050505050505050565b6020808252825182820181905260009190848201906040850190845b818110156104995783518352928401929184019160010161047d565b50909695505050505050565b600082198211156104b8576104b86104fc565b500190565b6000826104cc576104cc61052b565b500490565b6000828210156104e3576104e36104fc565b500390565b6000826104f7576104f761052b565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122090c69abb9b47e98343ceb4c47cb003879680c7be77da533822523b4414599ac864736f6c63430008040033"; + static readonly abi: ({ + inputs: never[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: never[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: never[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleNumericArrayLibInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleNumericArrayLib; +} +export {}; +//# sourceMappingURL=SampleNumericArrayLib__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts.map new file mode 100644 index 00000000..f7941e6d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleNumericArrayLib__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC/B,MAAM,kDAAkD,CAAC;AA8E1D,aAAK,sCAAsC,GACvC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,8BAA+B,SAAQ,eAAe;gBACrD,GAAG,IAAI,EAAE,sCAAsC;IAQlD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,qBAAqB,CAAC;IAGxB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB;IAG9C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,8BAA8B;IAIhE,MAAM,CAAC,QAAQ,CAAC,QAAQ,s8FAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,8BAA8B;IAGxD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,qBAAqB;CAOzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js new file mode 100644 index 00000000..ac0f6f0d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js @@ -0,0 +1,113 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleNumericArrayLib__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "cachedMedian", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getCachedArray", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "arr", + type: "uint256[]", + }, + ], + name: "testArrayUpdatingInStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "arr", + type: "uint256[]", + }, + ], + name: "testMedianSelection", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "arr", + type: "uint256[]", + }, + ], + name: "testSortTx", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506105bf806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80635dc211a8116100505780635dc211a814610094578063b74ab979146100a7578063fdbf8586146100c557600080fd5b806345ac16491461006c57806356e9d5d814610081575b600080fd5b61007f61007a366004610383565b6100dc565b005b61007f61008f366004610383565b6100eb565b61007f6100a2366004610383565b610102565b6100af61010b565b6040516100bc9190610461565b60405180910390f35b6100ce60015481565b6040519081526020016100bc565b6100e581610163565b60015550565b80516100fe906000906020840190610323565b5050565b6100eb816102c2565b6060600080548060200260200160405190810160405280929190818152602001828054801561015957602002820191906000526020600020905b815481526020019060010190808311610145575b5050505050905090565b60008151600014156101a1576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6101aa826102c2565b6000600283516101ba91906104bd565b9050600283516101ca91906104e8565b610279576000610264846101df6001856104d1565b81518110610216577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858481518110610257577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610310565b90506102716002826104bd565b949350505050565b8281815181106102b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b8281101561030a57815b818110156103015781518151808210156102f7578084528183525b50506020016102dc565b506020016102d2565b50505050565b600061031c82846104a5565b9392505050565b82805482825590600052602060002090810192821561035e579160200282015b8281111561035e578251825591602001919060010190610343565b5061036a92915061036e565b5090565b5b8082111561036a576000815560010161036f565b60006020808385031215610395578182fd5b823567ffffffffffffffff808211156103ac578384fd5b818501915085601f8301126103bf578384fd5b8135818111156103d1576103d161055a565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156104145761041461055a565b604052828152858101935084860182860187018a1015610432578788fd5b8795505b83861015610454578035855260019590950194938601938601610436565b5098975050505050505050565b6020808252825182820181905260009190848201906040850190845b818110156104995783518352928401929184019160010161047d565b50909695505050505050565b600082198211156104b8576104b86104fc565b500190565b6000826104cc576104cc61052b565b500490565b6000828210156104e3576104e36104fc565b500390565b6000826104f7576104f761052b565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122090c69abb9b47e98343ceb4c47cb003879680c7be77da533822523b4414599ac864736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleNumericArrayLib__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleNumericArrayLib__factory = SampleNumericArrayLib__factory; +SampleNumericArrayLib__factory.bytecode = _bytecode; +SampleNumericArrayLib__factory.abi = _abi; +//# sourceMappingURL=SampleNumericArrayLib__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js.map new file mode 100644 index 00000000..6b23ce93 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleNumericArrayLib__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleNumericArrayLib__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,gBAAgB;QACtB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,WAAW;aAClB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,WAAW;aAClB;SACF;QACD,IAAI,EAAE,4BAA4B;QAClC,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,WAAW;aAClB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,Y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IAAI,EACJ,gBAAgB,CACQ,CAAC;IAC7B,CAAC;;AAxCH,wEAyCC;AAfiB,uCAAQ,GAAG,SAAS,CAAC;AACrB,kCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts new file mode 100644 index 00000000..c43f551c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts @@ -0,0 +1,52 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleProxyConnector, SampleProxyConnectorInterface } from "../../../contracts/samples/SampleProxyConnector"; +declare type SampleProxyConnectorConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleProxyConnector__factory extends ContractFactory { + constructor(...args: SampleProxyConnectorConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleProxyConnector; + connect(signer: Signer): SampleProxyConnector__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b5060405161001d9061005f565b604051809103906000f080158015610039573d6000803e3d6000fd5b50600080546001600160a01b0319166001600160a01b039290921691909117905561006c565b61190a8061106083390190565b610fe58061007b6000396000f3fe6080604052600436106100655760003560e01c8063893228441161004357806389322844146100bb578063d863a542146100d0578063f8382ebb146100f057600080fd5b806320981c0f1461006a57806381eb06531461007457806382c6ba28146100a6575b600080fd5b610072610110565b005b34801561008057600080fd5b5061009461008f366004610b00565b610259565b60405190815260200160405180910390f35b3480156100b257600080fd5b5061007261033a565b3480156100c757600080fd5b506100726103b8565b3480156100dc57600080fd5b506100726100eb366004610b18565b610432565b3480156100fc57600080fd5b5061007261010b366004610b18565b61056f565b6040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8e7a4120000000000000000000000000000000000000000000000000000000001790526000805461018c9073ffffffffffffffffffffffffffffffffffffffff1683836105b5565b90506000818060200190518101906101a49190610b39565b905080156101de576040517f99d0404800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000546102039073ffffffffffffffffffffffffffffffffffffffff168460016105b5565b9150818060200190518101906102199190610b39565b9050348114610254576040517f26d2b8a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600080637a1202c860e01b8360405160240161027791815260200190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600080549192509061031c9073ffffffffffffffffffffffffffffffffffffffff1683610656565b9050808060200190518101906103329190610b39565b949350505050565b6040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f3c154daf000000000000000000000000000000000000000000000000000000001790526000546103b49073ffffffffffffffffffffffffffffffffffffffff1682610656565b5050565b6040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc06a97cb000000000000000000000000000000000000000000000000000000001790526000546103b49073ffffffffffffffffffffffffffffffffffffffff1682610656565b600063351d31ab60e01b837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60405160240161046f929190610bb7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915260008054919250906105159073ffffffffffffffffffffffffffffffffffffffff1683836105b5565b905060008180602001905181019061052d9190610b39565b9050838114610568576040517f98d4901c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b600061057a83610259565b9050818114610254576040517f4983170000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606060006105c2846106e6565b90506000808673ffffffffffffffffffffffffffffffffffffffff16856105ea5760006105ec565b345b846040516105fa9190610b9b565b60006040518083038185875af1925050503d8060008114610637576040519150601f19603f3d011682016040523d82523d6000602084013e61063c565b606091505b509150915061064b828261078e565b979650505050505050565b60606000610663836106e6565b90506000808573ffffffffffffffffffffffffffffffffffffffff168360405161068d9190610b9b565b600060405180830381855afa9150503d80600081146106c8576040519150601f19603f3d011682016040523d82523d6000602084013e6106cd565b606091505b50915091506106dc828261078e565b9695505050505050565b805160609060006106f5610876565b905060006107038284610eab565b90503682111561073f576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060604051905081815285602001848101826020015b8183101561076d578251815260209283019201610755565b50505082833603856020018301379190920181016020016040529392505050565b6060826108705781516107cd576040517f567fe27a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208201517f08c379a00000000000000000000000000000000000000000000000000000000014801561083c576040517f0f7e82780000000000000000000000000000000000000000000000000000000081526044840190610833908290600401610e98565b60405180910390fd5b826040517ffd36fde30000000000000000000000000000000000000000000000000000000081526004016108339190610e98565b50919050565b6000806108816108e1565b9050600061088e82610a16565b61ffff16905061089f600283610eab565b915060005b818110156108d95760006108b784610a69565b90506108c38185610eab565b93505080806108d190610f47565b9150506108a4565b509092915050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610949576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610986576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096109bf600362ffffff8516610eab565b6109c99190610eab565b9050366109d7600283610eab565b1115610a0f576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610a24602084610eab565b905036811115610a60576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b6000806000610a7784610a9d565b9092509050604e610a89826020610eab565b610a939084610ec3565b6103329190610eab565b600080808080610aae604187610eab565b90506000610ac7610ac0602084610eab565b3690610af4565b803594509050610ad8816003610af4565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610a0f8284610f00565b600060208284031215610b11578081fd5b5035919050565b60008060408385031215610b2a578081fd5b50508035926020909101359150565b600060208284031215610b4a578081fd5b5051919050565b60008151808452610b69816020860160208601610f17565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251610bad818460208701610f17565b9190910192915050565b82815281602082015260e060408201526000610c5360e08301606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b8281036060840152610ce281606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b90508281036080840152610d7381606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b905082810360a0840152610e0481606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b83810360c0850152606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f61616161616161616161616100000000000000000000000000000000000000006080820152905060a0810195945050505050565b602081526000610a0f6020830184610b51565b60008219821115610ebe57610ebe610f80565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610efb57610efb610f80565b500290565b600082821015610f1257610f12610f80565b500390565b60005b83811015610f32578181015183820152602001610f1a565b83811115610f41576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610f7957610f79610f80565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212209a2ad7799e5f1edec855af6946a046c3bc1cb84019f88943739767e356c55db064736f6c63430008040033608060405234801561001057600080fd5b506118ea806100206000396000f3fe6080604052600436106100e85760003560e01c80637a1202c81161008a578063c06a97cb11610059578063c06a97cb14610252578063d22158fa14610267578063f50b2efe14610287578063f90c4924146102a757600080fd5b80637a1202c8146101ec5780638e7a41201461020c57806395262d9f14610212578063b24ebfcc1461023257600080fd5b80633d60fee3116100c65780633d60fee314610169578063429989f0146101895780634f178e44146101a95780635ddf81ba146101d657600080fd5b8063351d31ab146100ed5780633c154daf146101205780633ce142f514610137575b600080fd5b3480156100f957600080fd5b5061010d61010836600461160f565b6102bb565b6040519081526020015b60405180910390f35b34801561012c57600080fd5b506101356102d2565b005b34801561014357600080fd5b5061015761015236600461152b565b610339565b60405160ff9091168152602001610117565b34801561017557600080fd5b506101356101843660046115f7565b61034a565b34801561019557600080fd5b506101576101a436600461152b565b610359565b3480156101b557600080fd5b506101c96101c436600461155f565b61082d565b60405161011791906116ee565b3480156101e257600080fd5b5061010d60005481565b3480156101f857600080fd5b5061010d6102073660046115f7565b610838565b3461010d565b34801561021e57600080fd5b5061015761022d36600461152b565b610843565b34801561023e57600080fd5b5061010d61024d36600461155f565b61084e565b34801561025e57600080fd5b50610135600080fd5b34801561027357600080fd5b5061015761028236600461152b565b610859565b34801561029357600080fd5b506101356102a23660046115f7565b6108e0565b3480156102b357600080fd5b50600a610157565b60006102c688610923565b98975050505050505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f54657374206d657373616765000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600061034482610843565b92915050565b61035381610923565b60005550565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561039557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156103cf57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561040957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561044357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561047d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156104b757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104f157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561052b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561056557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561059f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105d95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106135750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561064d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106875750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106c15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106fb5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561073557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561076f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156107a957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107e357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b6060610344826109af565b600061034482610923565b600061034482610859565b6000610344826109ba565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108d7576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b61034482610359565b6501812f2590c0811015610920576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061096a57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061097f816109af565b60008151811061099f57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6060610344826109c5565b600061034482610bb8565b60606000825167ffffffffffffffff8111156109f157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a1a578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610a4757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a70578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610a9d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ad057816020015b6060815260200190600190039081610abb5790505b50905060005b8551811015610b3e5760408051600a808252610160820190925290602082016101408036833701905050828281518110610b2057634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610b3690611825565b915050610ad6565b506000610b49610cbc565b90506000610b5682610df1565b61ffff169050610b676002836117a5565b60405190925060005b82811015610bad576000610b878a89898989610e44565b9050610b9381866117a5565b945082604052508080610ba590611825565b915050610b70565b506102c68487611173565b6000815160001415610bf6576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bff826112eb565b600060028351610c0f91906117bd565b905060028351610c1f919061185e565b610c9c576000610c8784610c3460018561180e565b81518110610c5257634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610c7a57634e487b7160e01b600052603260045260246000fd5b6020026020010151611339565b9050610c946002826117bd565b949350505050565b82818151811061099f57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d24576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d61576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610d9a600362ffffff85166117a5565b610da491906117a5565b905036610db26002836117a5565b1115610dea576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610dff6020846117a5565b905036811115610e3b576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e5385611345565b909250905060008080606081600d610e76610e6f6020896117a5565b8990611395565b610e8091906117a5565b90506000610e99610e9260688d6117a5565b36906113a1565b90506000610eb683610eac60418f6117a5565b610e9291906117a5565b9050610ec28382610ed5565b9350826020850120945081359650610f17565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f288765ffffffffffff166108e0565b610f3c85610f3760418f6117a5565b6113ad565b9550610f4786610339565b60ff1699505050505050505060008060005b8481101561114057610f6c888583611443565b909350915060005b8c5181101561112d578c8181518110610f9d57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561111b5760008b8281518110610fce57634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fe781896001901b16151590565b15801561101e5750600a60ff168d838151811061101457634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611115578c828151811061104357634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061105890611825565b81525050838b838151811061107d57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110a757634e487b7160e01b600052603260045260246000fd5b60200260200101516110b9919061180e565b815181106110d757634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061110857634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061112d565b8061112581611825565b915050610f74565b508061113881611825565b915050610f59565b5050508160208261115191906117a5565b61115b91906117d1565b61116690604e6117a5565b9998505050505050505050565b60606000835167ffffffffffffffff81111561119f57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111c8578160200160208202803683370190505b509050600a60005b85518110156112e157818582815181106111fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151101561126e5784818151811061122857634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610330929190918252602082015260400190565b60006112a087838151811061129357634e487b7160e01b600052603260045260246000fd5b602002602001015161084e565b9050808483815181106112c357634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112d981611825565b9150506111d0565b5090949350505050565b8051602082016020820281019150805b8281101561133357815b8181101561132a578151815180821015611320578084528183525b5050602001611305565b506020016112fb565b50505050565b6000610dea82846117a5565b6000808080806113566041876117a5565b90506000611368610e926020846117a5565b8035945090506113798160036113a1565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610dea82846117d1565b6000610dea828461180e565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611410573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611452604e876117a5565b9050600061147f6114786114676020896117a5565b6114728860016117a5565b90611395565b8390611339565b9050600061148d36836113a1565b80359960209091013598509650505050505050565b600082601f8301126114b2578081fd5b813567ffffffffffffffff8111156114cc576114cc61189e565b6114fd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611732565b818152846020838601011115611511578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121561153c578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610dea578182fd5b60006020808385031215611571578182fd5b823567ffffffffffffffff811115611587578283fd5b8301601f81018513611597578283fd5b80356115aa6115a582611781565b611732565b80828252848201915084840188868560051b87010111156115c9578687fd5b8694505b838510156115eb5780358352600194909401939185019185016115cd565b50979650505050505050565b600060208284031215611608578081fd5b5035919050565b600080600080600080600060e0888a031215611629578283fd5b8735965060208801359550604088013567ffffffffffffffff8082111561164e578485fd5b61165a8b838c016114a2565b965060608a013591508082111561166f578485fd5b61167b8b838c016114a2565b955060808a0135915080821115611690578485fd5b61169c8b838c016114a2565b945060a08a01359150808211156116b1578384fd5b6116bd8b838c016114a2565b935060c08a01359150808211156116d2578283fd5b506116df8a828b016114a2565b91505092959891949750929550565b6020808252825182820181905260009190848201906040850190845b818110156117265783518352928401929184019160010161170a565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156117795761177961189e565b604052919050565b600067ffffffffffffffff82111561179b5761179b61189e565b5060051b60200190565b600082198211156117b8576117b8611872565b500190565b6000826117cc576117cc611888565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561180957611809611872565b500290565b60008282101561182057611820611872565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561185757611857611872565b5060010190565b60008261186d5761186d611888565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220fcbba462cc39e000b6357af59126ff50a6d625bb20587967215e83facd65343a64736f6c63430008040033"; + static readonly abi: ({ + inputs: never[]; + stateMutability: string; + type: string; + name?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleProxyConnectorInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleProxyConnector; +} +export {}; +//# sourceMappingURL=SampleProxyConnector__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts.map new file mode 100644 index 00000000..3274f6ce --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnector__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleProxyConnector__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC9B,MAAM,iDAAiD,CAAC;AAiMzD,aAAK,qCAAqC,GACtC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,6BAA8B,SAAQ,eAAe;gBACpD,GAAG,IAAI,EAAE,qCAAqC;IAQjD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC;IAGvB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB;IAG7C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,6BAA6B;IAI/D,MAAM,CAAC,QAAQ,CAAC,QAAQ,4tpBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,6BAA6B;IAGvD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,oBAAoB;CAOxB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js new file mode 100644 index 00000000..6ca3cd84 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js @@ -0,0 +1,228 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleProxyConnector__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "ExpectedMsgValueNotToBePassed", + type: "error", + }, + { + inputs: [], + name: "ExpectedMsgValueToBePassed", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes", + name: "result", + type: "bytes", + }, + ], + name: "ProxyCalldataFailedWithCustomError", + type: "error", + }, + { + inputs: [ + { + internalType: "string", + name: "message", + type: "string", + }, + ], + name: "ProxyCalldataFailedWithStringMessage", + type: "error", + }, + { + inputs: [], + name: "ProxyCalldataFailedWithoutErrMsg", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "UnexpectedOracleValue", + type: "error", + }, + { + inputs: [], + name: "WrongValue", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + { + internalType: "uint256", + name: "expectedValue", + type: "uint256", + }, + ], + name: "checkOracleValue", + outputs: [], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "asset", + type: "bytes32", + }, + { + internalType: "uint256", + name: "price", + type: "uint256", + }, + ], + name: "checkOracleValueLongEncodedFunction", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getOracleValueUsingProxy", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "proxyEmptyError", + outputs: [], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "proxyTestStringError", + outputs: [], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "requireValueForward", + outputs: [], + stateMutability: "payable", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b5060405161001d9061005f565b604051809103906000f080158015610039573d6000803e3d6000fd5b50600080546001600160a01b0319166001600160a01b039290921691909117905561006c565b61190a8061106083390190565b610fe58061007b6000396000f3fe6080604052600436106100655760003560e01c8063893228441161004357806389322844146100bb578063d863a542146100d0578063f8382ebb146100f057600080fd5b806320981c0f1461006a57806381eb06531461007457806382c6ba28146100a6575b600080fd5b610072610110565b005b34801561008057600080fd5b5061009461008f366004610b00565b610259565b60405190815260200160405180910390f35b3480156100b257600080fd5b5061007261033a565b3480156100c757600080fd5b506100726103b8565b3480156100dc57600080fd5b506100726100eb366004610b18565b610432565b3480156100fc57600080fd5b5061007261010b366004610b18565b61056f565b6040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8e7a4120000000000000000000000000000000000000000000000000000000001790526000805461018c9073ffffffffffffffffffffffffffffffffffffffff1683836105b5565b90506000818060200190518101906101a49190610b39565b905080156101de576040517f99d0404800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000546102039073ffffffffffffffffffffffffffffffffffffffff168460016105b5565b9150818060200190518101906102199190610b39565b9050348114610254576040517f26d2b8a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600080637a1202c860e01b8360405160240161027791815260200190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600080549192509061031c9073ffffffffffffffffffffffffffffffffffffffff1683610656565b9050808060200190518101906103329190610b39565b949350505050565b6040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f3c154daf000000000000000000000000000000000000000000000000000000001790526000546103b49073ffffffffffffffffffffffffffffffffffffffff1682610656565b5050565b6040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc06a97cb000000000000000000000000000000000000000000000000000000001790526000546103b49073ffffffffffffffffffffffffffffffffffffffff1682610656565b600063351d31ab60e01b837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60405160240161046f929190610bb7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915260008054919250906105159073ffffffffffffffffffffffffffffffffffffffff1683836105b5565b905060008180602001905181019061052d9190610b39565b9050838114610568576040517f98d4901c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b600061057a83610259565b9050818114610254576040517f4983170000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606060006105c2846106e6565b90506000808673ffffffffffffffffffffffffffffffffffffffff16856105ea5760006105ec565b345b846040516105fa9190610b9b565b60006040518083038185875af1925050503d8060008114610637576040519150601f19603f3d011682016040523d82523d6000602084013e61063c565b606091505b509150915061064b828261078e565b979650505050505050565b60606000610663836106e6565b90506000808573ffffffffffffffffffffffffffffffffffffffff168360405161068d9190610b9b565b600060405180830381855afa9150503d80600081146106c8576040519150601f19603f3d011682016040523d82523d6000602084013e6106cd565b606091505b50915091506106dc828261078e565b9695505050505050565b805160609060006106f5610876565b905060006107038284610eab565b90503682111561073f576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060604051905081815285602001848101826020015b8183101561076d578251815260209283019201610755565b50505082833603856020018301379190920181016020016040529392505050565b6060826108705781516107cd576040517f567fe27a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208201517f08c379a00000000000000000000000000000000000000000000000000000000014801561083c576040517f0f7e82780000000000000000000000000000000000000000000000000000000081526044840190610833908290600401610e98565b60405180910390fd5b826040517ffd36fde30000000000000000000000000000000000000000000000000000000081526004016108339190610e98565b50919050565b6000806108816108e1565b9050600061088e82610a16565b61ffff16905061089f600283610eab565b915060005b818110156108d95760006108b784610a69565b90506108c38185610eab565b93505080806108d190610f47565b9150506108a4565b509092915050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610949576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610986576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096109bf600362ffffff8516610eab565b6109c99190610eab565b9050366109d7600283610eab565b1115610a0f576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610a24602084610eab565b905036811115610a60576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b6000806000610a7784610a9d565b9092509050604e610a89826020610eab565b610a939084610ec3565b6103329190610eab565b600080808080610aae604187610eab565b90506000610ac7610ac0602084610eab565b3690610af4565b803594509050610ad8816003610af4565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610a0f8284610f00565b600060208284031215610b11578081fd5b5035919050565b60008060408385031215610b2a578081fd5b50508035926020909101359150565b600060208284031215610b4a578081fd5b5051919050565b60008151808452610b69816020860160208601610f17565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251610bad818460208701610f17565b9190910192915050565b82815281602082015260e060408201526000610c5360e08301606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b8281036060840152610ce281606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b90508281036080840152610d7381606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b905082810360a0840152610e0481606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f6161616161616161616161610000000000000000000000000000000000000000608082015260a00190565b83810360c0850152606c81527f6c6f6e675f737472696e675f616161616161616161616161616161616161616160208201527f61616161616161616161616161616161616161616161616161616161616161616040820181905260608201527f61616161616161616161616100000000000000000000000000000000000000006080820152905060a0810195945050505050565b602081526000610a0f6020830184610b51565b60008219821115610ebe57610ebe610f80565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610efb57610efb610f80565b500290565b600082821015610f1257610f12610f80565b500390565b60005b83811015610f32578181015183820152602001610f1a565b83811115610f41576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610f7957610f79610f80565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212209a2ad7799e5f1edec855af6946a046c3bc1cb84019f88943739767e356c55db064736f6c63430008040033608060405234801561001057600080fd5b506118ea806100206000396000f3fe6080604052600436106100e85760003560e01c80637a1202c81161008a578063c06a97cb11610059578063c06a97cb14610252578063d22158fa14610267578063f50b2efe14610287578063f90c4924146102a757600080fd5b80637a1202c8146101ec5780638e7a41201461020c57806395262d9f14610212578063b24ebfcc1461023257600080fd5b80633d60fee3116100c65780633d60fee314610169578063429989f0146101895780634f178e44146101a95780635ddf81ba146101d657600080fd5b8063351d31ab146100ed5780633c154daf146101205780633ce142f514610137575b600080fd5b3480156100f957600080fd5b5061010d61010836600461160f565b6102bb565b6040519081526020015b60405180910390f35b34801561012c57600080fd5b506101356102d2565b005b34801561014357600080fd5b5061015761015236600461152b565b610339565b60405160ff9091168152602001610117565b34801561017557600080fd5b506101356101843660046115f7565b61034a565b34801561019557600080fd5b506101576101a436600461152b565b610359565b3480156101b557600080fd5b506101c96101c436600461155f565b61082d565b60405161011791906116ee565b3480156101e257600080fd5b5061010d60005481565b3480156101f857600080fd5b5061010d6102073660046115f7565b610838565b3461010d565b34801561021e57600080fd5b5061015761022d36600461152b565b610843565b34801561023e57600080fd5b5061010d61024d36600461155f565b61084e565b34801561025e57600080fd5b50610135600080fd5b34801561027357600080fd5b5061015761028236600461152b565b610859565b34801561029357600080fd5b506101356102a23660046115f7565b6108e0565b3480156102b357600080fd5b50600a610157565b60006102c688610923565b98975050505050505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f54657374206d657373616765000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600061034482610843565b92915050565b61035381610923565b60005550565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561039557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156103cf57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561040957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561044357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561047d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156104b757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104f157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561052b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561056557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561059f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105d95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106135750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561064d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106875750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106c15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106fb5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561073557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561076f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156107a957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107e357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b6060610344826109af565b600061034482610923565b600061034482610859565b6000610344826109ba565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108d7576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b61034482610359565b6501812f2590c0811015610920576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061096a57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061097f816109af565b60008151811061099f57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6060610344826109c5565b600061034482610bb8565b60606000825167ffffffffffffffff8111156109f157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a1a578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610a4757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a70578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610a9d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ad057816020015b6060815260200190600190039081610abb5790505b50905060005b8551811015610b3e5760408051600a808252610160820190925290602082016101408036833701905050828281518110610b2057634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610b3690611825565b915050610ad6565b506000610b49610cbc565b90506000610b5682610df1565b61ffff169050610b676002836117a5565b60405190925060005b82811015610bad576000610b878a89898989610e44565b9050610b9381866117a5565b945082604052508080610ba590611825565b915050610b70565b506102c68487611173565b6000815160001415610bf6576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bff826112eb565b600060028351610c0f91906117bd565b905060028351610c1f919061185e565b610c9c576000610c8784610c3460018561180e565b81518110610c5257634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610c7a57634e487b7160e01b600052603260045260246000fd5b6020026020010151611339565b9050610c946002826117bd565b949350505050565b82818151811061099f57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d24576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d61576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610d9a600362ffffff85166117a5565b610da491906117a5565b905036610db26002836117a5565b1115610dea576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610dff6020846117a5565b905036811115610e3b576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e5385611345565b909250905060008080606081600d610e76610e6f6020896117a5565b8990611395565b610e8091906117a5565b90506000610e99610e9260688d6117a5565b36906113a1565b90506000610eb683610eac60418f6117a5565b610e9291906117a5565b9050610ec28382610ed5565b9350826020850120945081359650610f17565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f288765ffffffffffff166108e0565b610f3c85610f3760418f6117a5565b6113ad565b9550610f4786610339565b60ff1699505050505050505060008060005b8481101561114057610f6c888583611443565b909350915060005b8c5181101561112d578c8181518110610f9d57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561111b5760008b8281518110610fce57634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fe781896001901b16151590565b15801561101e5750600a60ff168d838151811061101457634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611115578c828151811061104357634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061105890611825565b81525050838b838151811061107d57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110a757634e487b7160e01b600052603260045260246000fd5b60200260200101516110b9919061180e565b815181106110d757634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061110857634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061112d565b8061112581611825565b915050610f74565b508061113881611825565b915050610f59565b5050508160208261115191906117a5565b61115b91906117d1565b61116690604e6117a5565b9998505050505050505050565b60606000835167ffffffffffffffff81111561119f57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111c8578160200160208202803683370190505b509050600a60005b85518110156112e157818582815181106111fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151101561126e5784818151811061122857634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610330929190918252602082015260400190565b60006112a087838151811061129357634e487b7160e01b600052603260045260246000fd5b602002602001015161084e565b9050808483815181106112c357634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112d981611825565b9150506111d0565b5090949350505050565b8051602082016020820281019150805b8281101561133357815b8181101561132a578151815180821015611320578084528183525b5050602001611305565b506020016112fb565b50505050565b6000610dea82846117a5565b6000808080806113566041876117a5565b90506000611368610e926020846117a5565b8035945090506113798160036113a1565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610dea82846117d1565b6000610dea828461180e565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611410573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611452604e876117a5565b9050600061147f6114786114676020896117a5565b6114728860016117a5565b90611395565b8390611339565b9050600061148d36836113a1565b80359960209091013598509650505050505050565b600082601f8301126114b2578081fd5b813567ffffffffffffffff8111156114cc576114cc61189e565b6114fd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611732565b818152846020838601011115611511578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121561153c578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610dea578182fd5b60006020808385031215611571578182fd5b823567ffffffffffffffff811115611587578283fd5b8301601f81018513611597578283fd5b80356115aa6115a582611781565b611732565b80828252848201915084840188868560051b87010111156115c9578687fd5b8694505b838510156115eb5780358352600194909401939185019185016115cd565b50979650505050505050565b600060208284031215611608578081fd5b5035919050565b600080600080600080600060e0888a031215611629578283fd5b8735965060208801359550604088013567ffffffffffffffff8082111561164e578485fd5b61165a8b838c016114a2565b965060608a013591508082111561166f578485fd5b61167b8b838c016114a2565b955060808a0135915080821115611690578485fd5b61169c8b838c016114a2565b945060a08a01359150808211156116b1578384fd5b6116bd8b838c016114a2565b935060c08a01359150808211156116d2578283fd5b506116df8a828b016114a2565b91505092959891949750929550565b6020808252825182820181905260009190848201906040850190845b818110156117265783518352928401929184019160010161170a565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156117795761177961189e565b604052919050565b600067ffffffffffffffff82111561179b5761179b61189e565b5060051b60200190565b600082198211156117b8576117b8611872565b500190565b6000826117cc576117cc611888565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561180957611809611872565b500290565b60008282101561182057611820611872565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561185757611857611872565b5060010190565b60008261186d5761186d611888565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220fcbba462cc39e000b6357af59126ff50a6d625bb20587967215e83facd65343a64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleProxyConnector__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleProxyConnector__factory = SampleProxyConnector__factory; +SampleProxyConnector__factory.bytecode = _bytecode; +SampleProxyConnector__factory.abi = _abi; +//# sourceMappingURL=SampleProxyConnector__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js.map new file mode 100644 index 00000000..d9cba241 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleProxyConnector__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnector__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleProxyConnector__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC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I,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACO,CAAC;IAC5B,CAAC;;AAxCH,sEAyCC;AAfiB,sCAAQ,GAAG,SAAS,CAAC;AACrB,iCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts new file mode 100644 index 00000000..062bf5d4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleRedstoneConsumerBytesMockManyDataFeeds, SampleRedstoneConsumerBytesMockManyDataFeedsInterface } from "../../../contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds"; +declare type SampleRedstoneConsumerBytesMockManyDataFeedsConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleRedstoneConsumerBytesMockManyDataFeeds__factory extends ContractFactory { + constructor(...args: SampleRedstoneConsumerBytesMockManyDataFeedsConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleRedstoneConsumerBytesMockManyDataFeeds; + connect(signer: Signer): SampleRedstoneConsumerBytesMockManyDataFeeds__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50611847806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80637b94ce2911610081578063d22158fa1161005b578063d22158fa14610188578063f50b2efe1461019b578063f90c4924146101ae57600080fd5b80637b94ce291461014c57806395262d9f14610154578063b24ebfcc1461016757600080fd5b80633ce142f5116100b25780633ce142f5146100ff578063429989f0146101245780637a7a28811461013757600080fd5b806313bc58db146100ce5780632cfed611146100f7575b600080fd5b6100e16100dc36600461158e565b6101b5565b6040516100ee9190611694565b60405180910390f35b6100e1610323565b61011261010d3660046114ea565b6103b1565b60405160ff90911681526020016100ee565b6101126101323660046114ea565b6103c2565b61014a61014536600461151e565b61089b565b005b6100e161095e565b6101126101623660046114ea565b61096b565b61017a61017536600461158e565b610976565b6040519081526020016100ee565b6101126101963660046114ea565b610989565b61014a6101a936600461166c565b610a10565b6003610112565b606060008251116101f2576040517f6c2325dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3660006102268460008151811061021957634e487b7160e01b600052603260045260246000fd5b6020026020010151610a53565b915091506000828260405161023c929190611684565b604051908190039020905060015b85518110156102e25736600061027988848151811061021957634e487b7160e01b600052603260045260246000fd5b9150915083828260405161028e929190611684565b6040518091039020146102cd576040517fece458ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080806102da906117ac565b91505061024a565b5082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509298975050505050505050565b6001805461033090611771565b80601f016020809104026020016040519081016040528092919081815260200182805461035c90611771565b80156103a95780601f1061037e576101008083540402835291602001916103a9565b820191906000526020600020905b81548152906001019060200180831161038c57829003601f168201915b505050505081565b60006103bc8261096b565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156103fe57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561043857506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561047257506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff831614156104ac57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156104e657506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561052057506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561055a57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561059457506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156105ce57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561060857506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106425750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff8316141561067c5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156106b65750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106f05750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff8316141561072a5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107645750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561079e57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff831614156107d857506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561081257506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561084c57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006108d9838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610ac392505050565b9050806000815181106108fc57634e487b7160e01b600052603260045260246000fd5b602002602001015160009080519060200190610919929190611451565b508060018151811061093b57634e487b7160e01b600052603260045260246000fd5b602002602001015160019080519060200190610958929190611451565b50505050565b6000805461033090611771565b60006103bc82610989565b600080610982836101b5565b9392505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610a07576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610892565b6103bc826103c2565b6501812f2590c0811015610a50576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b36600080610a618460801c90565b90506fffffffffffffffffffffffffffffffff841636610a818284611705565b1115610ab9576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b606060006109828360606000825167ffffffffffffffff811115610af757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b20578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610b4d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b76578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610ba357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bd657816020015b6060815260200190600190039081610bc15790505b50905060005b8551811015610c425760408051600380825260808201909252906020820160608036833701905050828281518110610c2457634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610c3a906117ac565b915050610bdc565b506000610c4d610cc8565b90506000610c5a82610df6565b61ffff169050610c6b600283611705565b60405190925060005b82811015610cb1576000610c8b8a89898989610e49565b9050610c978186611705565b945082604052508080610ca9906117ac565b915050610c74565b50610cbc8487611178565b98975050505050505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d30576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d6d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610da6600362ffffff8516611705565b610db09190611705565b905036610dbe600283611705565b1115610982576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e04602084611705565b905036811115610e40576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e58856112f0565b909250905060008080606081600d610e7b610e74602089611705565b8990611340565b610e859190611705565b90506000610e9e610e9760688d611705565b369061134c565b90506000610ebb83610eb160418f611705565b610e979190611705565b9050610ec78382610eda565b9350826020850120945081359650610f1c565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f2d8765ffffffffffff16610a10565b610f4185610f3c60418f611705565b611358565b9550610f4c866103b1565b60ff1699505050505050505060008060005b8481101561114557610f718885836113ee565b909350915060005b8c51811015611132578c8181518110610fa257634e487b7160e01b600052603260045260246000fd5b60200260200101518414156111205760008b8281518110610fd357634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fec81896001901b16151590565b1580156110235750600360ff168d838151811061101957634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561111a578c828151811061104857634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061105d906117ac565b81525050838b838151811061108257634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110ac57634e487b7160e01b600052603260045260246000fd5b60200260200101516110be919061175a565b815181106110dc57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061110d57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611132565b8061112a816117ac565b915050610f79565b508061113d816117ac565b915050610f5e565b505050816020826111569190611705565b611160919061171d565b61116b90604e611705565b9998505050505050505050565b60606000835167ffffffffffffffff8111156111a457634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111cd578160200160208202803683370190505b509050600360005b85518110156112e657818582815181106111ff57634e487b7160e01b600052603260045260246000fd5b602002602001015110156112735784818151811061122d57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610892929190918252602082015260400190565b60006112a587838151811061129857634e487b7160e01b600052603260045260246000fd5b6020026020010151610976565b9050808483815181106112c857634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112de816117ac565b9150506111d5565b5090949350505050565b600080808080611301604187611705565b90506000611313610e97602084611705565b80359450905061132481600361134c565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610982828461171d565b6000610982828461175a565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156113bb573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806113fd604e87611705565b9050600061142061140f602088611705565b61141a876001611705565b90611340565b61142a9083611705565b90506000611438368361134c565b803599602090910160801b979097179750505050505050565b82805461145d90611771565b90600052602060002090601f01602090048101928261147f57600085556114c5565b82601f1061149857805160ff19168380011785556114c5565b828001600101855582156114c5579182015b828111156114c55782518255916020019190600101906114aa565b506114d19291506114d5565b5090565b5b808211156114d157600081556001016114d6565b6000602082840312156114fb578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610982578182fd5b60008060208385031215611530578081fd5b823567ffffffffffffffff80821115611547578283fd5b818501915085601f83011261155a578283fd5b813581811115611568578384fd5b8660208260051b850101111561157c578384fd5b60209290920196919550909350505050565b600060208083850312156115a0578182fd5b823567ffffffffffffffff808211156115b7578384fd5b818501915085601f8301126115ca578384fd5b8135818111156115dc576115dc6117fb565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561161f5761161f6117fb565b604052828152858101935084860182860187018a101561163d578788fd5b8795505b8386101561165f578035855260019590950194938601938601611641565b5098975050505050505050565b60006020828403121561167d578081fd5b5035919050565b8183823760009101908152919050565b6000602080835283518082850152825b818110156116c0578581018301518582016040015282016116a4565b818111156116d15783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115611718576117186117e5565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611755576117556117e5565b500290565b60008282101561176c5761176c6117e5565b500390565b600181811c9082168061178557607f821691505b602082108114156117a657634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156117de576117de6117e5565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220f25f687e957c89a59066e5b1c120f5d796a270869cc269a8dd78aead12cc85d764736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleRedstoneConsumerBytesMockManyDataFeedsInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleRedstoneConsumerBytesMockManyDataFeeds; +} +export {}; +//# sourceMappingURL=SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts.map new file mode 100644 index 00000000..502e75b2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockManyDataFeeds__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,4CAA4C,EAC5C,qDAAqD,EACtD,MAAM,yEAAyE,CAAC;AAyPjF,aAAK,6DAA6D,GAC9D,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,qDAAsD,SAAQ,eAAe;gBAEtF,GAAG,IAAI,EAAE,6DAA6D;IAS/D,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,4CAA4C,CAAC;IAK/C,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CACb,OAAO,EAAE,MAAM,GACd,4CAA4C;IAKtC,OAAO,CACd,MAAM,EAAE,MAAM,GACb,qDAAqD;IAMxD,MAAM,CAAC,QAAQ,CAAC,QAAQ,stYAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,qDAAqD;IAK/E,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,4CAA4C;CAOhD"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js new file mode 100644 index 00000000..eb2b5a91 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js @@ -0,0 +1,284 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleRedstoneConsumerBytesMockManyDataFeeds__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersForValues", + type: "uint256[]", + }, + ], + name: "aggregateByteValues", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersToValues", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "pointerToResultBytesInMemory", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "firstValue", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "save2ValuesInStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [], + name: "secondValue", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50611847806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80637b94ce2911610081578063d22158fa1161005b578063d22158fa14610188578063f50b2efe1461019b578063f90c4924146101ae57600080fd5b80637b94ce291461014c57806395262d9f14610154578063b24ebfcc1461016757600080fd5b80633ce142f5116100b25780633ce142f5146100ff578063429989f0146101245780637a7a28811461013757600080fd5b806313bc58db146100ce5780632cfed611146100f7575b600080fd5b6100e16100dc36600461158e565b6101b5565b6040516100ee9190611694565b60405180910390f35b6100e1610323565b61011261010d3660046114ea565b6103b1565b60405160ff90911681526020016100ee565b6101126101323660046114ea565b6103c2565b61014a61014536600461151e565b61089b565b005b6100e161095e565b6101126101623660046114ea565b61096b565b61017a61017536600461158e565b610976565b6040519081526020016100ee565b6101126101963660046114ea565b610989565b61014a6101a936600461166c565b610a10565b6003610112565b606060008251116101f2576040517f6c2325dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3660006102268460008151811061021957634e487b7160e01b600052603260045260246000fd5b6020026020010151610a53565b915091506000828260405161023c929190611684565b604051908190039020905060015b85518110156102e25736600061027988848151811061021957634e487b7160e01b600052603260045260246000fd5b9150915083828260405161028e929190611684565b6040518091039020146102cd576040517fece458ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080806102da906117ac565b91505061024a565b5082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509298975050505050505050565b6001805461033090611771565b80601f016020809104026020016040519081016040528092919081815260200182805461035c90611771565b80156103a95780601f1061037e576101008083540402835291602001916103a9565b820191906000526020600020905b81548152906001019060200180831161038c57829003601f168201915b505050505081565b60006103bc8261096b565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156103fe57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561043857506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561047257506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff831614156104ac57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156104e657506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561052057506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561055a57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561059457506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156105ce57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561060857506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106425750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff8316141561067c5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156106b65750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106f05750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff8316141561072a5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107645750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561079e57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff831614156107d857506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561081257506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561084c57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006108d9838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610ac392505050565b9050806000815181106108fc57634e487b7160e01b600052603260045260246000fd5b602002602001015160009080519060200190610919929190611451565b508060018151811061093b57634e487b7160e01b600052603260045260246000fd5b602002602001015160019080519060200190610958929190611451565b50505050565b6000805461033090611771565b60006103bc82610989565b600080610982836101b5565b9392505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610a07576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610892565b6103bc826103c2565b6501812f2590c0811015610a50576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b36600080610a618460801c90565b90506fffffffffffffffffffffffffffffffff841636610a818284611705565b1115610ab9576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b606060006109828360606000825167ffffffffffffffff811115610af757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b20578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610b4d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b76578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610ba357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bd657816020015b6060815260200190600190039081610bc15790505b50905060005b8551811015610c425760408051600380825260808201909252906020820160608036833701905050828281518110610c2457634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610c3a906117ac565b915050610bdc565b506000610c4d610cc8565b90506000610c5a82610df6565b61ffff169050610c6b600283611705565b60405190925060005b82811015610cb1576000610c8b8a89898989610e49565b9050610c978186611705565b945082604052508080610ca9906117ac565b915050610c74565b50610cbc8487611178565b98975050505050505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d30576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d6d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610da6600362ffffff8516611705565b610db09190611705565b905036610dbe600283611705565b1115610982576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e04602084611705565b905036811115610e40576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e58856112f0565b909250905060008080606081600d610e7b610e74602089611705565b8990611340565b610e859190611705565b90506000610e9e610e9760688d611705565b369061134c565b90506000610ebb83610eb160418f611705565b610e979190611705565b9050610ec78382610eda565b9350826020850120945081359650610f1c565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f2d8765ffffffffffff16610a10565b610f4185610f3c60418f611705565b611358565b9550610f4c866103b1565b60ff1699505050505050505060008060005b8481101561114557610f718885836113ee565b909350915060005b8c51811015611132578c8181518110610fa257634e487b7160e01b600052603260045260246000fd5b60200260200101518414156111205760008b8281518110610fd357634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fec81896001901b16151590565b1580156110235750600360ff168d838151811061101957634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561111a578c828151811061104857634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061105d906117ac565b81525050838b838151811061108257634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110ac57634e487b7160e01b600052603260045260246000fd5b60200260200101516110be919061175a565b815181106110dc57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061110d57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611132565b8061112a816117ac565b915050610f79565b508061113d816117ac565b915050610f5e565b505050816020826111569190611705565b611160919061171d565b61116b90604e611705565b9998505050505050505050565b60606000835167ffffffffffffffff8111156111a457634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111cd578160200160208202803683370190505b509050600360005b85518110156112e657818582815181106111ff57634e487b7160e01b600052603260045260246000fd5b602002602001015110156112735784818151811061122d57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610892929190918252602082015260400190565b60006112a587838151811061129857634e487b7160e01b600052603260045260246000fd5b6020026020010151610976565b9050808483815181106112c857634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112de816117ac565b9150506111d5565b5090949350505050565b600080808080611301604187611705565b90506000611313610e97602084611705565b80359450905061132481600361134c565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610982828461171d565b6000610982828461175a565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156113bb573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806113fd604e87611705565b9050600061142061140f602088611705565b61141a876001611705565b90611340565b61142a9083611705565b90506000611438368361134c565b803599602090910160801b979097179750505050505050565b82805461145d90611771565b90600052602060002090601f01602090048101928261147f57600085556114c5565b82601f1061149857805160ff19168380011785556114c5565b828001600101855582156114c5579182015b828111156114c55782518255916020019190600101906114aa565b506114d19291506114d5565b5090565b5b808211156114d157600081556001016114d6565b6000602082840312156114fb578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610982578182fd5b60008060208385031215611530578081fd5b823567ffffffffffffffff80821115611547578283fd5b818501915085601f83011261155a578283fd5b813581811115611568578384fd5b8660208260051b850101111561157c578384fd5b60209290920196919550909350505050565b600060208083850312156115a0578182fd5b823567ffffffffffffffff808211156115b7578384fd5b818501915085601f8301126115ca578384fd5b8135818111156115dc576115dc6117fb565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561161f5761161f6117fb565b604052828152858101935084860182860187018a101561163d578788fd5b8795505b8386101561165f578035855260019590950194938601938601611641565b5098975050505050505050565b60006020828403121561167d578081fd5b5035919050565b8183823760009101908152919050565b6000602080835283518082850152825b818110156116c0578581018301518582016040015282016116a4565b818111156116d15783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115611718576117186117e5565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611755576117556117e5565b500290565b60008282101561176c5761176c6117e5565b500390565b600181811c9082168061178557607f821691505b602082108114156117a657634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156117de576117de6117e5565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220f25f687e957c89a59066e5b1c120f5d796a270869cc269a8dd78aead12cc85d764736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleRedstoneConsumerBytesMockManyDataFeeds__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleRedstoneConsumerBytesMockManyDataFeeds__factory = SampleRedstoneConsumerBytesMockManyDataFeeds__factory; +SampleRedstoneConsumerBytesMockManyDataFeeds__factory.bytecode = _bytecode; +SampleRedstoneConsumerBytesMockManyDataFeeds__factory.abi = _abi; +//# sourceMappingURL=SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js.map new file mode 100644 index 00000000..8f552d4c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockManyDataFeeds__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE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,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CACxB,IAAI,CACoD,CAAC;IAC7D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CAC+B,CAAC;IACpD,CAAC;;AAtDH,sHAuDC;AAjBiB,8DAAQ,GAAG,SAAS,CAAC;AACrB,yDAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts new file mode 100644 index 00000000..05f3f75f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleRedstoneConsumerBytesMockStrings, SampleRedstoneConsumerBytesMockStringsInterface } from "../../../contracts/samples/SampleRedstoneConsumerBytesMockStrings"; +declare type SampleRedstoneConsumerBytesMockStringsConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleRedstoneConsumerBytesMockStrings__factory extends ContractFactory { + constructor(...args: SampleRedstoneConsumerBytesMockStringsConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleRedstoneConsumerBytesMockStrings; + connect(signer: Signer): SampleRedstoneConsumerBytesMockStrings__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506117a7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806395262d9f11610076578063d22158fa1161005b578063d22158fa14610175578063f50b2efe14610188578063f90c49241461019b57600080fd5b806395262d9f14610141578063b24ebfcc1461015457600080fd5b80633ce142f5116100a75780633ce142f5146100f4578063429989f0146101195780638e1d82011461012c57600080fd5b80630504835b146100c357806313bc58db146100e1575b600080fd5b6100cb6101a2565b6040516100d891906115f4565b60405180910390f35b6100cb6100ef3660046114ee565b610230565b6101076101023660046114ba565b61039e565b60405160ff90911681526020016100d8565b6101076101273660046114ba565b6103af565b61013f61013a3660046115cc565b610888565b005b61010761014f3660046114ba565b6108ae565b6101676101623660046114ee565b6108b9565b6040519081526020016100d8565b6101076101833660046114ba565b6108cc565b61013f6101963660046115cc565b610953565b6003610107565b600080546101af906116d1565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906116d1565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b6060600082511161026d576040517f6c2325dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3660006102a18460008151811061029457634e487b7160e01b600052603260045260246000fd5b6020026020010151610996565b91509150600082826040516102b79291906115e4565b604051908190039020905060015b855181101561035d573660006102f488848151811061029457634e487b7160e01b600052603260045260246000fd5b915091508382826040516103099291906115e4565b604051809103902014610348576040517fece458ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080806103559061170c565b9150506102c5565b5082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509298975050505050505050565b60006103a9826108ae565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156103eb57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561042557506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561045f57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561049957506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156104d357506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561050d57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561054757506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561058157506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156105bb57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156105f557506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff8316141561062f5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106695750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156106a35750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106dd5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107175750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107515750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561078b57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff831614156107c557506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156107ff57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561083957506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061089382610a06565b80519091506108a9906000906020840190611421565b505050565b60006103a9826108cc565b6000806108c583610230565b9392505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561094a576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8316600482015260240161087f565b6103a9826103af565b6501812f2590c0811015610993576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b366000806109a48460801c90565b90506fffffffffffffffffffffffffffffffff8416366109c48284611665565b11156109fc576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610a4e57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610a6381610a93565b600081518110610a8357634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b606060006108c58360606000825167ffffffffffffffff811115610ac757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610af0578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610b1d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b46578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610b7357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ba657816020015b6060815260200190600190039081610b915790505b50905060005b8551811015610c125760408051600380825260808201909252906020820160608036833701905050828281518110610bf457634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610c0a9061170c565b915050610bac565b506000610c1d610c98565b90506000610c2a82610dc6565b61ffff169050610c3b600283611665565b60405190925060005b82811015610c81576000610c5b8a89898989610e19565b9050610c678186611665565b945082604052508080610c799061170c565b915050610c44565b50610c8c8487611148565b98975050505050505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d00576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d3d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610d76600362ffffff8516611665565b610d809190611665565b905036610d8e600283611665565b11156108c5576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610dd4602084611665565b905036811115610e10576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e28856112c0565b909250905060008080606081600d610e4b610e44602089611665565b8990611310565b610e559190611665565b90506000610e6e610e6760688d611665565b369061131c565b90506000610e8b83610e8160418f611665565b610e679190611665565b9050610e978382610eaa565b9350826020850120945081359650610eec565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610efd8765ffffffffffff16610953565b610f1185610f0c60418f611665565b611328565b9550610f1c8661039e565b60ff1699505050505050505060008060005b8481101561111557610f418885836113be565b909350915060005b8c51811015611102578c8181518110610f7257634e487b7160e01b600052603260045260246000fd5b60200260200101518414156110f05760008b8281518110610fa357634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fbc81896001901b16151590565b158015610ff35750600360ff168d8381518110610fe957634e487b7160e01b600052603260045260246000fd5b6020026020010151105b156110ea578c828151811061101857634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061102d9061170c565b81525050838b838151811061105257634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061107c57634e487b7160e01b600052603260045260246000fd5b602002602001015161108e91906116ba565b815181106110ac57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c83815181106110dd57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611102565b806110fa8161170c565b915050610f49565b508061110d8161170c565b915050610f2e565b505050816020826111269190611665565b611130919061167d565b61113b90604e611665565b9998505050505050505050565b60606000835167ffffffffffffffff81111561117457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561119d578160200160208202803683370190505b509050600360005b85518110156112b657818582815181106111cf57634e487b7160e01b600052603260045260246000fd5b60200260200101511015611243578481815181106111fd57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef500000000000000000000000000000000000000000000000000000000815260040161087f929190918252602082015260400190565b600061127587838151811061126857634e487b7160e01b600052603260045260246000fd5b60200260200101516108b9565b90508084838151811061129857634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112ae8161170c565b9150506111a5565b5090949350505050565b6000808080806112d1604187611665565b905060006112e3610e67602084611665565b8035945090506112f481600361131c565b62ffffff9490941697933563ffffffff16965092945050505050565b60006108c5828461167d565b60006108c582846116ba565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa15801561138b573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806113cd604e87611665565b905060006113f06113df602088611665565b6113ea876001611665565b90611310565b6113fa9083611665565b90506000611408368361131c565b803599602090910160801b979097179750505050505050565b82805461142d906116d1565b90600052602060002090601f01602090048101928261144f5760008555611495565b82601f1061146857805160ff1916838001178555611495565b82800160010185558215611495579182015b8281111561149557825182559160200191906001019061147a565b506114a19291506114a5565b5090565b5b808211156114a157600081556001016114a6565b6000602082840312156114cb578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108c5578182fd5b60006020808385031215611500578182fd5b823567ffffffffffffffff80821115611517578384fd5b818501915085601f83011261152a578384fd5b81358181111561153c5761153c61175b565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561157f5761157f61175b565b604052828152858101935084860182860187018a101561159d578788fd5b8795505b838610156115bf5780358552600195909501949386019386016115a1565b5098975050505050505050565b6000602082840312156115dd578081fd5b5035919050565b8183823760009101908152919050565b6000602080835283518082850152825b8181101561162057858101830151858201604001528201611604565b818111156116315783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561167857611678611745565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156116b5576116b5611745565b500290565b6000828210156116cc576116cc611745565b500390565b600181811c908216806116e557607f821691505b6020821081141561170657634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561173e5761173e611745565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122091efea8d3c63e2a02a8cecddc5428fbd34053e4576c77b599b5ca9a2ec4ce1d964736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleRedstoneConsumerBytesMockStringsInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleRedstoneConsumerBytesMockStrings; +} +export {}; +//# sourceMappingURL=SampleRedstoneConsumerBytesMockStrings__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts.map new file mode 100644 index 00000000..c7d572c2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockStrings__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,sCAAsC,EACtC,+CAA+C,EAChD,MAAM,mEAAmE,CAAC;AA4O3E,aAAK,uDAAuD,GACxD,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,+CAAgD,SAAQ,eAAe;gBAEhF,GAAG,IAAI,EAAE,uDAAuD;IASzD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,sCAAsC,CAAC;IAKzC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,sCAAsC;IAG/D,OAAO,CACd,MAAM,EAAE,MAAM,GACb,+CAA+C;IAMlD,MAAM,CAAC,QAAQ,CAAC,QAAQ,s5XAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,+CAA+C;IAKzE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,sCAAsC;CAO1C"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js new file mode 100644 index 00000000..974a64aa --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js @@ -0,0 +1,271 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleRedstoneConsumerBytesMockStrings__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersForValues", + type: "uint256[]", + }, + ], + name: "aggregateByteValues", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersToValues", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "pointerToResultBytesInMemory", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "latestString", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "saveLatestValueInStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506117a7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806395262d9f11610076578063d22158fa1161005b578063d22158fa14610175578063f50b2efe14610188578063f90c49241461019b57600080fd5b806395262d9f14610141578063b24ebfcc1461015457600080fd5b80633ce142f5116100a75780633ce142f5146100f4578063429989f0146101195780638e1d82011461012c57600080fd5b80630504835b146100c357806313bc58db146100e1575b600080fd5b6100cb6101a2565b6040516100d891906115f4565b60405180910390f35b6100cb6100ef3660046114ee565b610230565b6101076101023660046114ba565b61039e565b60405160ff90911681526020016100d8565b6101076101273660046114ba565b6103af565b61013f61013a3660046115cc565b610888565b005b61010761014f3660046114ba565b6108ae565b6101676101623660046114ee565b6108b9565b6040519081526020016100d8565b6101076101833660046114ba565b6108cc565b61013f6101963660046115cc565b610953565b6003610107565b600080546101af906116d1565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906116d1565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b6060600082511161026d576040517f6c2325dc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3660006102a18460008151811061029457634e487b7160e01b600052603260045260246000fd5b6020026020010151610996565b91509150600082826040516102b79291906115e4565b604051908190039020905060015b855181101561035d573660006102f488848151811061029457634e487b7160e01b600052603260045260246000fd5b915091508382826040516103099291906115e4565b604051809103902014610348576040517fece458ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505080806103559061170c565b9150506102c5565b5082828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509298975050505050505050565b60006103a9826108ae565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156103eb57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561042557506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561045f57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561049957506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156104d357506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561050d57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561054757506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561058157506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156105bb57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156105f557506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff8316141561062f5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106695750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156106a35750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106dd5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107175750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107515750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561078b57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff831614156107c557506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156107ff57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561083957506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061089382610a06565b80519091506108a9906000906020840190611421565b505050565b60006103a9826108cc565b6000806108c583610230565b9392505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561094a576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8316600482015260240161087f565b6103a9826103af565b6501812f2590c0811015610993576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b366000806109a48460801c90565b90506fffffffffffffffffffffffffffffffff8416366109c48284611665565b11156109fc576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610a4e57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610a6381610a93565b600081518110610a8357634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b606060006108c58360606000825167ffffffffffffffff811115610ac757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610af0578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610b1d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610b46578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610b7357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ba657816020015b6060815260200190600190039081610b915790505b50905060005b8551811015610c125760408051600380825260808201909252906020820160608036833701905050828281518110610bf457634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610c0a9061170c565b915050610bac565b506000610c1d610c98565b90506000610c2a82610dc6565b61ffff169050610c3b600283611665565b60405190925060005b82811015610c81576000610c5b8a89898989610e19565b9050610c678186611665565b945082604052508080610c799061170c565b915050610c44565b50610c8c8487611148565b98975050505050505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d00576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d3d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610d76600362ffffff8516611665565b610d809190611665565b905036610d8e600283611665565b11156108c5576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610dd4602084611665565b905036811115610e10576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e28856112c0565b909250905060008080606081600d610e4b610e44602089611665565b8990611310565b610e559190611665565b90506000610e6e610e6760688d611665565b369061131c565b90506000610e8b83610e8160418f611665565b610e679190611665565b9050610e978382610eaa565b9350826020850120945081359650610eec565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610efd8765ffffffffffff16610953565b610f1185610f0c60418f611665565b611328565b9550610f1c8661039e565b60ff1699505050505050505060008060005b8481101561111557610f418885836113be565b909350915060005b8c51811015611102578c8181518110610f7257634e487b7160e01b600052603260045260246000fd5b60200260200101518414156110f05760008b8281518110610fa357634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fbc81896001901b16151590565b158015610ff35750600360ff168d8381518110610fe957634e487b7160e01b600052603260045260246000fd5b6020026020010151105b156110ea578c828151811061101857634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061102d9061170c565b81525050838b838151811061105257634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061107c57634e487b7160e01b600052603260045260246000fd5b602002602001015161108e91906116ba565b815181106110ac57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c83815181106110dd57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611102565b806110fa8161170c565b915050610f49565b508061110d8161170c565b915050610f2e565b505050816020826111269190611665565b611130919061167d565b61113b90604e611665565b9998505050505050505050565b60606000835167ffffffffffffffff81111561117457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561119d578160200160208202803683370190505b509050600360005b85518110156112b657818582815181106111cf57634e487b7160e01b600052603260045260246000fd5b60200260200101511015611243578481815181106111fd57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef500000000000000000000000000000000000000000000000000000000815260040161087f929190918252602082015260400190565b600061127587838151811061126857634e487b7160e01b600052603260045260246000fd5b60200260200101516108b9565b90508084838151811061129857634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112ae8161170c565b9150506111a5565b5090949350505050565b6000808080806112d1604187611665565b905060006112e3610e67602084611665565b8035945090506112f481600361131c565b62ffffff9490941697933563ffffffff16965092945050505050565b60006108c5828461167d565b60006108c582846116ba565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa15801561138b573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806113cd604e87611665565b905060006113f06113df602088611665565b6113ea876001611665565b90611310565b6113fa9083611665565b90506000611408368361131c565b803599602090910160801b979097179750505050505050565b82805461142d906116d1565b90600052602060002090601f01602090048101928261144f5760008555611495565b82601f1061146857805160ff1916838001178555611495565b82800160010185558215611495579182015b8281111561149557825182559160200191906001019061147a565b506114a19291506114a5565b5090565b5b808211156114a157600081556001016114a6565b6000602082840312156114cb578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108c5578182fd5b60006020808385031215611500578182fd5b823567ffffffffffffffff80821115611517578384fd5b818501915085601f83011261152a578384fd5b81358181111561153c5761153c61175b565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561157f5761157f61175b565b604052828152858101935084860182860187018a101561159d578788fd5b8795505b838610156115bf5780358552600195909501949386019386016115a1565b5098975050505050505050565b6000602082840312156115dd578081fd5b5035919050565b8183823760009101908152919050565b6000602080835283518082850152825b8181101561162057858101830151858201604001528201611604565b818111156116315783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561167857611678611745565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156116b5576116b5611745565b500290565b6000828210156116cc576116cc611745565b500390565b600181811c908216806116e557607f821691505b6020821081141561170657634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561173e5761173e611745565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122091efea8d3c63e2a02a8cecddc5428fbd34053e4576c77b599b5ca9a2ec4ce1d964736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleRedstoneConsumerBytesMockStrings__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleRedstoneConsumerBytesMockStrings__factory = SampleRedstoneConsumerBytesMockStrings__factory; +SampleRedstoneConsumerBytesMockStrings__factory.bytecode = _bytecode; +SampleRedstoneConsumerBytesMockStrings__factory.abi = _abi; +//# sourceMappingURL=SampleRedstoneConsumerBytesMockStrings__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js.map new file mode 100644 index 00000000..5c5b3b5c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMockStrings__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,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rB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CACjB,SAAS,IAAI,EAAE,CACmC,CAAC;IACvD,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA2C,CAAC;IACzE,CAAC;IACQ,OAAO,CACd,MAAc;QAEd,OAAO,KAAK,CAAC,OAAO,CAClB,MAAM,CAC4C,CAAC;IACvD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CACxB,IAAI,CAC8C,CAAC;IACvD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACyB,CAAC;IAC9C,CAAC;;AAlDH,0GAmDC;AAjBiB,wDAAQ,GAAG,SAAS,CAAC;AACrB,mDAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts new file mode 100644 index 00000000..f94d9c35 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleRedstoneConsumerBytesMock, SampleRedstoneConsumerBytesMockInterface } from "../../../contracts/samples/SampleRedstoneConsumerBytesMock"; +declare type SampleRedstoneConsumerBytesMockConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleRedstoneConsumerBytesMock__factory extends ContractFactory { + constructor(...args: SampleRedstoneConsumerBytesMockConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleRedstoneConsumerBytesMock; + connect(signer: Signer): SampleRedstoneConsumerBytesMock__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50611731806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c806395262d9f11610081578063d22158fa1161005b578063d22158fa14610194578063f50b2efe146101a7578063f90c4924146101ba57600080fd5b806395262d9f1461015b578063b24ebfcc1461016e578063c3e5b9c81461018157600080fd5b80633d60fee3116100b25780633d60fee31461011c578063429989f0146101315780635ddf81ba1461014457600080fd5b806313bc58db146100ce5780633ce142f5146100f7575b600080fd5b6100e16100dc3660046114c1565b6101c1565b6040516100ee9190611599565b60405180910390f35b61010a61010536600461148d565b6102e5565b60405160ff90911681526020016100ee565b61012f61012a366004611581565b6102f6565b005b61010a61013f36600461148d565b61031a565b61014d60005481565b6040519081526020016100ee565b61010a61016936600461148d565b6107f3565b61014d61017c3660046114c1565b6107fe565b61014d61018f366004611581565b610811565b61010a6101a236600461148d565b610834565b61012f6101b5366004611581565b6108bb565b600361010a565b60606000825167ffffffffffffffff8111156101ed57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610216578160200160208202803683370190505b50905060005b83518110156102a95736600061025886848151811061024b57634e487b7160e01b600052603260045260246000fd5b60200260200101516108fe565b9092509050813560088202610100031c84848151811061028857634e487b7160e01b600052603260045260246000fd5b602002602001018181525050505080806102a19061166c565b91505061021c565b5060006102b58261096e565b90506000816040516020016102cc91815260200190565b60408051601f1981840301815291905295945050505050565b60006102f0826107f3565b92915050565b600061030182610a82565b80516020820151919250600802610100031c6000555050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561035657506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561039057506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156103ca57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561040457506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561043e57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561047857506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104b257506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff831614156104ec57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561052657506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561056057506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff8316141561059a5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156105d45750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561060e5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106485750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106825750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106bc5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff831614156106f657506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561073057506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561076a57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107a457506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006102f082610834565b60008061080a836101c1565b9392505050565b60008061081d83610a82565b80516020820151919250600802610100031c61080a565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108b2576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016107ea565b6102f08261031a565b6501812f2590c08110156108fb576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b3660008061090c8460801c90565b90506fffffffffffffffffffffffffffffffff84163661092c82846115ec565b1115610964576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b60008151600014156109ac576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109b582610aff565b6000600283516109c59190611604565b9050600283516109d591906116a5565b610a52576000610a3d846109ea600185611655565b81518110610a0857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610a3057634e487b7160e01b600052603260045260246000fd5b6020026020010151610b4d565b9050610a4a600282611604565b949350505050565b828181518110610a7257634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610aca57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610adf81610b59565b600081518110610a7257634e487b7160e01b600052603260045260246000fd5b8051602082016020820281019150805b82811015610b4757815b81811015610b3e578151815180821015610b34578084528183525b5050602001610b19565b50602001610b0f565b50505050565b600061080a82846115ec565b6060600061080a8360606000825167ffffffffffffffff811115610b8d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bb6578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610be357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c0c578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610c3957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c6c57816020015b6060815260200190600190039081610c575790505b50905060005b8551811015610cd85760408051600380825260808201909252906020820160608036833701905050828281518110610cba57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610cd09061166c565b915050610c72565b506000610ce3610d5e565b90506000610cf082610e6e565b61ffff169050610d016002836115ec565b60405190925060005b82811015610d47576000610d218a89898989610ec1565b9050610d2d81866115ec565b945082604052508080610d3f9061166c565b915050610d0a565b50610d5284876111d2565b98975050505050505050565b60006602ed57011e0000601f1936013581161480610da8576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610de5576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610e1e600362ffffff85166115ec565b610e2891906115ec565b905036610e366002836115ec565b111561080a576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e7c6020846115ec565b905036811115610eb8576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610ed08561134a565b909250905060008080606081600d610ef3610eec6020896115ec565b899061139a565b610efd91906115ec565b90506000610f16610f0f60688d6115ec565b36906113a6565b90506000610f3383610f2960418f6115ec565b610f0f91906115ec565b9050610f3f8382610f52565b9350826020850120945081359650610f76565b60408051838152602081850181019092526000910183838237601f19019392505050565b610f878765ffffffffffff166108bb565b610f9b85610f9660418f6115ec565b6113b2565b9550610fa6866102e5565b60ff1699505050505050505060008060005b8481101561119f57610fcb88858361142a565b909350915060005b8c5181101561118c578c8181518110610ffc57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561117a5760008b828151811061102d57634e487b7160e01b600052603260045260246000fd5b6020026020010151905061104681896001901b16151590565b15801561107d5750600360ff168d838151811061107357634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611174578c82815181106110a257634e487b7160e01b600052603260045260246000fd5b6020026020010180518091906110b79061166c565b81525050838b83815181106110dc57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061110657634e487b7160e01b600052603260045260246000fd5b60200260200101516111189190611655565b8151811061113657634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061116757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061118c565b806111848161166c565b915050610fd3565b50806111978161166c565b915050610fb8565b505050816020826111b091906115ec565b6111ba9190611618565b6111c590604e6115ec565b9998505050505050505050565b60606000835167ffffffffffffffff8111156111fe57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611227578160200160208202803683370190505b509050600360005b8551811015611340578185828151811061125957634e487b7160e01b600052603260045260246000fd5b602002602001015110156112cd5784818151811061128757634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016107ea929190918252602082015260400190565b60006112ff8783815181106112f257634e487b7160e01b600052603260045260246000fd5b60200260200101516107fe565b90508084838151811061132257634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806113388161166c565b91505061122f565b5090949350505050565b60008080808061135b6041876115ec565b9050600061136d610f0f6020846115ec565b80359450905061137e8160036113a6565b62ffffff9490941697933563ffffffff16965092945050505050565b600061080a8284611618565b600061080a8284611655565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611415573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008080611439604e876115ec565b9050600061145c61144b6020886115ec565b6114568760016115ec565b9061139a565b61146690836115ec565b9050600061147436836113a6565b803599602090910160801b979097179750505050505050565b60006020828403121561149e578081fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461080a578182fd5b600060208083850312156114d3578182fd5b823567ffffffffffffffff808211156114ea578384fd5b818501915085601f8301126114fd578384fd5b81358181111561150f5761150f6116e5565b8060051b604051601f19603f83011681018181108582111715611534576115346116e5565b604052828152858101935084860182860187018a1015611552578788fd5b8795505b83861015611574578035855260019590950194938601938601611556565b5098975050505050505050565b600060208284031215611592578081fd5b5035919050565b6000602080835283518082850152825b818110156115c5578581018301518582016040015282016115a9565b818111156115d65783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156115ff576115ff6116b9565b500190565b600082611613576116136116cf565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611650576116506116b9565b500290565b600082821015611667576116676116b9565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561169e5761169e6116b9565b5060010190565b6000826116b4576116b46116cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122026216449c6dd4f94941ab8f7224a6662715b374884ff8d28880c5d3daa942e3164736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleRedstoneConsumerBytesMockInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleRedstoneConsumerBytesMock; +} +export {}; +//# sourceMappingURL=SampleRedstoneConsumerBytesMock__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts.map new file mode 100644 index 00000000..e37a24f5 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMock__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,+BAA+B,EAC/B,wCAAwC,EACzC,MAAM,4DAA4D,CAAC;AAoQpE,aAAK,gDAAgD,GACjD,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,wCAAyC,SAAQ,eAAe;gBAC/D,GAAG,IAAI,EAAE,gDAAgD;IAQ5D,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,+BAA+B,CAAC;IAKlC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,+BAA+B;IAGxD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,wCAAwC;IAI1E,MAAM,CAAC,QAAQ,CAAC,QAAQ,0qXAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,wCAAwC;IAKlE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,+BAA+B;CAOnC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js new file mode 100644 index 00000000..6817498c --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js @@ -0,0 +1,295 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleRedstoneConsumerBytesMock__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersForValues", + type: "uint256[]", + }, + ], + name: "aggregateByteValues", + outputs: [ + { + internalType: "bytes", + name: "", + type: "bytes", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "calldataPointersToValues", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "pointerToResultBytesInMemory", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getValueSecurely", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "latestSavedValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "saveOracleValueInContractStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50611731806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c806395262d9f11610081578063d22158fa1161005b578063d22158fa14610194578063f50b2efe146101a7578063f90c4924146101ba57600080fd5b806395262d9f1461015b578063b24ebfcc1461016e578063c3e5b9c81461018157600080fd5b80633d60fee3116100b25780633d60fee31461011c578063429989f0146101315780635ddf81ba1461014457600080fd5b806313bc58db146100ce5780633ce142f5146100f7575b600080fd5b6100e16100dc3660046114c1565b6101c1565b6040516100ee9190611599565b60405180910390f35b61010a61010536600461148d565b6102e5565b60405160ff90911681526020016100ee565b61012f61012a366004611581565b6102f6565b005b61010a61013f36600461148d565b61031a565b61014d60005481565b6040519081526020016100ee565b61010a61016936600461148d565b6107f3565b61014d61017c3660046114c1565b6107fe565b61014d61018f366004611581565b610811565b61010a6101a236600461148d565b610834565b61012f6101b5366004611581565b6108bb565b600361010a565b60606000825167ffffffffffffffff8111156101ed57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610216578160200160208202803683370190505b50905060005b83518110156102a95736600061025886848151811061024b57634e487b7160e01b600052603260045260246000fd5b60200260200101516108fe565b9092509050813560088202610100031c84848151811061028857634e487b7160e01b600052603260045260246000fd5b602002602001018181525050505080806102a19061166c565b91505061021c565b5060006102b58261096e565b90506000816040516020016102cc91815260200190565b60408051601f1981840301815291905295945050505050565b60006102f0826107f3565b92915050565b600061030182610a82565b80516020820151919250600802610100031c6000555050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561035657506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561039057506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156103ca57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561040457506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561043e57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561047857506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104b257506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff831614156104ec57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561052657506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561056057506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff8316141561059a5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156105d45750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561060e5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106485750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106825750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106bc5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff831614156106f657506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561073057506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561076a57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107a457506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006102f082610834565b60008061080a836101c1565b9392505050565b60008061081d83610a82565b80516020820151919250600802610100031c61080a565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108b2576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016107ea565b6102f08261031a565b6501812f2590c08110156108fb576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b3660008061090c8460801c90565b90506fffffffffffffffffffffffffffffffff84163661092c82846115ec565b1115610964576040517fb0e86e5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9094909350915050565b60008151600014156109ac576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109b582610aff565b6000600283516109c59190611604565b9050600283516109d591906116a5565b610a52576000610a3d846109ea600185611655565b81518110610a0857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610a3057634e487b7160e01b600052603260045260246000fd5b6020026020010151610b4d565b9050610a4a600282611604565b949350505050565b828181518110610a7257634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110610aca57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610adf81610b59565b600081518110610a7257634e487b7160e01b600052603260045260246000fd5b8051602082016020820281019150805b82811015610b4757815b81811015610b3e578151815180821015610b34578084528183525b5050602001610b19565b50602001610b0f565b50505050565b600061080a82846115ec565b6060600061080a8360606000825167ffffffffffffffff811115610b8d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bb6578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610be357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c0c578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610c3957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c6c57816020015b6060815260200190600190039081610c575790505b50905060005b8551811015610cd85760408051600380825260808201909252906020820160608036833701905050828281518110610cba57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610cd09061166c565b915050610c72565b506000610ce3610d5e565b90506000610cf082610e6e565b61ffff169050610d016002836115ec565b60405190925060005b82811015610d47576000610d218a89898989610ec1565b9050610d2d81866115ec565b945082604052508080610d3f9061166c565b915050610d0a565b50610d5284876111d2565b98975050505050505050565b60006602ed57011e0000601f1936013581161480610da8576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610de5576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610e1e600362ffffff85166115ec565b610e2891906115ec565b905036610e366002836115ec565b111561080a576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e7c6020846115ec565b905036811115610eb8576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610ed08561134a565b909250905060008080606081600d610ef3610eec6020896115ec565b899061139a565b610efd91906115ec565b90506000610f16610f0f60688d6115ec565b36906113a6565b90506000610f3383610f2960418f6115ec565b610f0f91906115ec565b9050610f3f8382610f52565b9350826020850120945081359650610f76565b60408051838152602081850181019092526000910183838237601f19019392505050565b610f878765ffffffffffff166108bb565b610f9b85610f9660418f6115ec565b6113b2565b9550610fa6866102e5565b60ff1699505050505050505060008060005b8481101561119f57610fcb88858361142a565b909350915060005b8c5181101561118c578c8181518110610ffc57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561117a5760008b828151811061102d57634e487b7160e01b600052603260045260246000fd5b6020026020010151905061104681896001901b16151590565b15801561107d5750600360ff168d838151811061107357634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611174578c82815181106110a257634e487b7160e01b600052603260045260246000fd5b6020026020010180518091906110b79061166c565b81525050838b83815181106110dc57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061110657634e487b7160e01b600052603260045260246000fd5b60200260200101516111189190611655565b8151811061113657634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061116757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061118c565b806111848161166c565b915050610fd3565b50806111978161166c565b915050610fb8565b505050816020826111b091906115ec565b6111ba9190611618565b6111c590604e6115ec565b9998505050505050505050565b60606000835167ffffffffffffffff8111156111fe57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611227578160200160208202803683370190505b509050600360005b8551811015611340578185828151811061125957634e487b7160e01b600052603260045260246000fd5b602002602001015110156112cd5784818151811061128757634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016107ea929190918252602082015260400190565b60006112ff8783815181106112f257634e487b7160e01b600052603260045260246000fd5b60200260200101516107fe565b90508084838151811061132257634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806113388161166c565b91505061122f565b5090949350505050565b60008080808061135b6041876115ec565b9050600061136d610f0f6020846115ec565b80359450905061137e8160036113a6565b62ffffff9490941697933563ffffffff16965092945050505050565b600061080a8284611618565b600061080a8284611655565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611415573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008080611439604e876115ec565b9050600061145c61144b6020886115ec565b6114568760016115ec565b9061139a565b61146690836115ec565b9050600061147436836113a6565b803599602090910160801b979097179750505050505050565b60006020828403121561149e578081fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461080a578182fd5b600060208083850312156114d3578182fd5b823567ffffffffffffffff808211156114ea578384fd5b818501915085601f8301126114fd578384fd5b81358181111561150f5761150f6116e5565b8060051b604051601f19603f83011681018181108582111715611534576115346116e5565b604052828152858101935084860182860187018a1015611552578788fd5b8795505b83861015611574578035855260019590950194938601938601611556565b5098975050505050505050565b600060208284031215611592578081fd5b5035919050565b6000602080835283518082850152825b818110156115c5578581018301518582016040015282016115a9565b818111156115d65783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156115ff576115ff6116b9565b500190565b600082611613576116136116cf565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611650576116506116b9565b500290565b600082821015611667576116676116b9565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561169e5761169e6116b9565b5060010190565b6000826116b4576116b46116cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122026216449c6dd4f94941ab8f7224a6662715b374884ff8d28880c5d3daa942e3164736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleRedstoneConsumerBytesMock__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleRedstoneConsumerBytesMock__factory = SampleRedstoneConsumerBytesMock__factory; +SampleRedstoneConsumerBytesMock__factory.bytecode = _bytecode; +SampleRedstoneConsumerBytesMock__factory.abi = _abi; +//# sourceMappingURL=SampleRedstoneConsumerBytesMock__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js.map new file mode 100644 index 00000000..e88c4361 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerBytesMock__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,I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B,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAoC,CAAC;IAClE,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA6C,CAAC;IAC3E,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CACxB,IAAI,CACuC,CAAC;IAChD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACkB,CAAC;IACvC,CAAC;;AA5CH,4FA6CC;AAjBiB,iDAAQ,GAAG,SAAS,CAAC;AACrB,4CAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts new file mode 100644 index 00000000..80b61b54 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleRedstoneConsumerNumericMockManyDataFeeds, SampleRedstoneConsumerNumericMockManyDataFeedsInterface } from "../../../contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds"; +declare type SampleRedstoneConsumerNumericMockManyDataFeedsConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleRedstoneConsumerNumericMockManyDataFeeds__factory extends ContractFactory { + constructor(...args: SampleRedstoneConsumerNumericMockManyDataFeedsConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleRedstoneConsumerNumericMockManyDataFeeds; + connect(signer: Signer): SampleRedstoneConsumerNumericMockManyDataFeeds__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506115e3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806395262d9f11610076578063d22158fa1161005b578063d22158fa1461015b578063f50b2efe1461016e578063f90c49241461018157600080fd5b806395262d9f14610135578063b24ebfcc1461014857600080fd5b8063429989f0116100a7578063429989f0146101045780637a7a2881146101175780637b94ce291461012c57600080fd5b80632cfed611146100c35780633ce142f5146100df575b600080fd5b6100cc60015481565b6040519081526020015b60405180910390f35b6100f26100ed366004611304565b610188565b60405160ff90911681526020016100d6565b6100f2610112366004611304565b610199565b61012a610125366004611338565b610672565b005b6100cc60005481565b6100f2610143366004611304565b610715565b6100cc6101563660046113a8565b610720565b6100f2610169366004611304565b61072b565b61012a61017c366004611486565b6107b2565b600a6100f2565b600061019382610715565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156101d557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561020f57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561024957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561028357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156102bd57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156102f757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561033157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561036b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156103a557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156103df57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156104195750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156104535750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561048d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104c75750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156105015750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff8316141561053b5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561057557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff831614156105af57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156105e957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561062357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006106b08383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506107f592505050565b9050806000815181106106d357634e487b7160e01b600052603260045260246000fd5b60200260200101516000819055508060018151811061070257634e487b7160e01b600052603260045260246000fd5b6020026020010151600181905550505050565b60006101938261072b565b600061019382610800565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107a9576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610669565b61019382610199565b6501812f2590c08110156107f2576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60606101938261080b565b600061019382610a0a565b60606000825167ffffffffffffffff81111561083757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610860578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561088d57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108b6578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156108e357634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561091657816020015b60608152602001906001900390816109015790505b50905060005b85518110156109845760408051600a80825261016082019092529060208201610140803683370190505082828151811061096657634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061097c9061151e565b91505061091c565b50600061098f610b1e565b9050600061099c82610c53565b61ffff1690506109ad60028361149e565b60405190925060005b828110156109f35760006109cd8a89898989610ca6565b90506109d9818661149e565b9450826040525080806109eb9061151e565b9150506109b6565b506109fe8487610fd5565b98975050505050505050565b6000815160001415610a48576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a518261114d565b600060028351610a6191906114b6565b905060028351610a719190611557565b610aee576000610ad984610a86600185611507565b81518110610aa457634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610acc57634e487b7160e01b600052603260045260246000fd5b602002602001015161119b565b9050610ae66002826114b6565b949350505050565b828181518110610b0e57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610b86576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610bc3576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610bfc600362ffffff851661149e565b610c06919061149e565b905036610c1460028361149e565b1115610c4c576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610c6160208461149e565b905036811115610c9d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610cb5856111a7565b909250905060008080606081600d610cd8610cd160208961149e565b89906111f7565b610ce2919061149e565b90506000610cfb610cf460688d61149e565b3690611203565b90506000610d1883610d0e60418f61149e565b610cf4919061149e565b9050610d248382610d37565b9350826020850120945081359650610d79565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610d8a8765ffffffffffff166107b2565b610d9e85610d9960418f61149e565b61120f565b9550610da986610188565b60ff1699505050505050505060008060005b84811015610fa257610dce8885836112a5565b909350915060005b8c51811015610f8f578c8181518110610dff57634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610f7d5760008b8281518110610e3057634e487b7160e01b600052603260045260246000fd5b60200260200101519050610e4981896001901b16151590565b158015610e805750600a60ff168d8381518110610e7657634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610f77578c8281518110610ea557634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610eba9061151e565b81525050838b8381518110610edf57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610f0957634e487b7160e01b600052603260045260246000fd5b6020026020010151610f1b9190611507565b81518110610f3957634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610f6a57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610f8f565b80610f878161151e565b915050610dd6565b5080610f9a8161151e565b915050610dbb565b50505081602082610fb3919061149e565b610fbd91906114ca565b610fc890604e61149e565b9998505050505050505050565b60606000835167ffffffffffffffff81111561100157634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561102a578160200160208202803683370190505b509050600a60005b8551811015611143578185828151811061105c57634e487b7160e01b600052603260045260246000fd5b602002602001015110156110d05784818151811061108a57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610669929190918252602082015260400190565b60006111028783815181106110f557634e487b7160e01b600052603260045260246000fd5b6020026020010151610720565b90508084838151811061112557634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061113b8161151e565b915050611032565b5090949350505050565b8051602082016020820281019150805b8281101561119557815b8181101561118c578151815180821015611182578084528183525b5050602001611167565b5060200161115d565b50505050565b6000610c4c828461149e565b6000808080806111b860418761149e565b905060006111ca610cf460208461149e565b8035945090506111db816003611203565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610c4c82846114ca565b6000610c4c8284611507565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611272573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806112b4604e8761149e565b905060006112e16112da6112c960208961149e565b6112d488600161149e565b906111f7565b839061119b565b905060006112ef3683611203565b80359960209091013598509650505050505050565b600060208284031215611315578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c4c578182fd5b6000806020838503121561134a578081fd5b823567ffffffffffffffff80821115611361578283fd5b818501915085601f830112611374578283fd5b813581811115611382578384fd5b8660208260051b8501011115611396578384fd5b60209290920196919550909350505050565b600060208083850312156113ba578182fd5b823567ffffffffffffffff808211156113d1578384fd5b818501915085601f8301126113e4578384fd5b8135818111156113f6576113f6611597565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561143957611439611597565b604052828152858101935084860182860187018a1015611457578788fd5b8795505b8386101561147957803585526001959095019493860193860161145b565b5098975050505050505050565b600060208284031215611497578081fd5b5035919050565b600082198211156114b1576114b161156b565b500190565b6000826114c5576114c5611581565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115025761150261156b565b500290565b6000828210156115195761151961156b565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156115505761155061156b565b5060010190565b60008261156657611566611581565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b02fb6c511402e6b16c01255170e922f86ceb0ded212b895d9a70fad24a0d5eb64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleRedstoneConsumerNumericMockManyDataFeedsInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleRedstoneConsumerNumericMockManyDataFeeds; +} +export {}; +//# sourceMappingURL=SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts.map new file mode 100644 index 00000000..4b3fcc58 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMockManyDataFeeds__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,8CAA8C,EAC9C,uDAAuD,EACxD,MAAM,2EAA2E,CAAC;AA2OnF,aAAK,+DAA+D,GAChE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,uDAAwD,SAAQ,eAAe;gBAExF,GAAG,IAAI,EAAE,+DAA+D;IASjE,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,8CAA8C,CAAC;IAKjD,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CACb,OAAO,EAAE,MAAM,GACd,8CAA8C;IAKxC,OAAO,CACd,MAAM,EAAE,MAAM,GACb,uDAAuD;IAM1D,MAAM,CAAC,QAAQ,CAAC,QAAQ,8gWAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,uDAAuD;IAKjF,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,8CAA8C;CAOlD"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js new file mode 100644 index 00000000..67c4fc7e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js @@ -0,0 +1,270 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleRedstoneConsumerNumericMockManyDataFeeds__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "firstValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "save2ValuesInStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [], + name: "secondValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506115e3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806395262d9f11610076578063d22158fa1161005b578063d22158fa1461015b578063f50b2efe1461016e578063f90c49241461018157600080fd5b806395262d9f14610135578063b24ebfcc1461014857600080fd5b8063429989f0116100a7578063429989f0146101045780637a7a2881146101175780637b94ce291461012c57600080fd5b80632cfed611146100c35780633ce142f5146100df575b600080fd5b6100cc60015481565b6040519081526020015b60405180910390f35b6100f26100ed366004611304565b610188565b60405160ff90911681526020016100d6565b6100f2610112366004611304565b610199565b61012a610125366004611338565b610672565b005b6100cc60005481565b6100f2610143366004611304565b610715565b6100cc6101563660046113a8565b610720565b6100f2610169366004611304565b61072b565b61012a61017c366004611486565b6107b2565b600a6100f2565b600061019382610715565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156101d557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561020f57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561024957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561028357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156102bd57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156102f757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561033157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561036b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156103a557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156103df57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156104195750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156104535750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561048d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104c75750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156105015750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff8316141561053b5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561057557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff831614156105af57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156105e957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561062357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006106b08383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506107f592505050565b9050806000815181106106d357634e487b7160e01b600052603260045260246000fd5b60200260200101516000819055508060018151811061070257634e487b7160e01b600052603260045260246000fd5b6020026020010151600181905550505050565b60006101938261072b565b600061019382610800565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107a9576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610669565b61019382610199565b6501812f2590c08110156107f2576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60606101938261080b565b600061019382610a0a565b60606000825167ffffffffffffffff81111561083757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610860578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561088d57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108b6578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156108e357634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561091657816020015b60608152602001906001900390816109015790505b50905060005b85518110156109845760408051600a80825261016082019092529060208201610140803683370190505082828151811061096657634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061097c9061151e565b91505061091c565b50600061098f610b1e565b9050600061099c82610c53565b61ffff1690506109ad60028361149e565b60405190925060005b828110156109f35760006109cd8a89898989610ca6565b90506109d9818661149e565b9450826040525080806109eb9061151e565b9150506109b6565b506109fe8487610fd5565b98975050505050505050565b6000815160001415610a48576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a518261114d565b600060028351610a6191906114b6565b905060028351610a719190611557565b610aee576000610ad984610a86600185611507565b81518110610aa457634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610acc57634e487b7160e01b600052603260045260246000fd5b602002602001015161119b565b9050610ae66002826114b6565b949350505050565b828181518110610b0e57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610b86576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610bc3576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610bfc600362ffffff851661149e565b610c06919061149e565b905036610c1460028361149e565b1115610c4c576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610c6160208461149e565b905036811115610c9d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610cb5856111a7565b909250905060008080606081600d610cd8610cd160208961149e565b89906111f7565b610ce2919061149e565b90506000610cfb610cf460688d61149e565b3690611203565b90506000610d1883610d0e60418f61149e565b610cf4919061149e565b9050610d248382610d37565b9350826020850120945081359650610d79565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610d8a8765ffffffffffff166107b2565b610d9e85610d9960418f61149e565b61120f565b9550610da986610188565b60ff1699505050505050505060008060005b84811015610fa257610dce8885836112a5565b909350915060005b8c51811015610f8f578c8181518110610dff57634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610f7d5760008b8281518110610e3057634e487b7160e01b600052603260045260246000fd5b60200260200101519050610e4981896001901b16151590565b158015610e805750600a60ff168d8381518110610e7657634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610f77578c8281518110610ea557634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610eba9061151e565b81525050838b8381518110610edf57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610f0957634e487b7160e01b600052603260045260246000fd5b6020026020010151610f1b9190611507565b81518110610f3957634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610f6a57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610f8f565b80610f878161151e565b915050610dd6565b5080610f9a8161151e565b915050610dbb565b50505081602082610fb3919061149e565b610fbd91906114ca565b610fc890604e61149e565b9998505050505050505050565b60606000835167ffffffffffffffff81111561100157634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561102a578160200160208202803683370190505b509050600a60005b8551811015611143578185828151811061105c57634e487b7160e01b600052603260045260246000fd5b602002602001015110156110d05784818151811061108a57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610669929190918252602082015260400190565b60006111028783815181106110f557634e487b7160e01b600052603260045260246000fd5b6020026020010151610720565b90508084838151811061112557634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061113b8161151e565b915050611032565b5090949350505050565b8051602082016020820281019150805b8281101561119557815b8181101561118c578151815180821015611182578084528183525b5050602001611167565b5060200161115d565b50505050565b6000610c4c828461149e565b6000808080806111b860418761149e565b905060006111ca610cf460208461149e565b8035945090506111db816003611203565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610c4c82846114ca565b6000610c4c8284611507565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611272573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806112b4604e8761149e565b905060006112e16112da6112c960208961149e565b6112d488600161149e565b906111f7565b839061119b565b905060006112ef3683611203565b80359960209091013598509650505050505050565b600060208284031215611315578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c4c578182fd5b6000806020838503121561134a578081fd5b823567ffffffffffffffff80821115611361578283fd5b818501915085601f830112611374578283fd5b813581811115611382578384fd5b8660208260051b8501011115611396578384fd5b60209290920196919550909350505050565b600060208083850312156113ba578182fd5b823567ffffffffffffffff808211156113d1578384fd5b818501915085601f8301126113e4578384fd5b8135818111156113f6576113f6611597565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561143957611439611597565b604052828152858101935084860182860187018a1015611457578788fd5b8795505b8386101561147957803585526001959095019493860193860161145b565b5098975050505050505050565b600060208284031215611497578081fd5b5035919050565b600082198211156114b1576114b161156b565b500190565b6000826114c5576114c5611581565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156115025761150261156b565b500290565b6000828210156115195761151961156b565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156115505761155061156b565b5060010190565b60008261156657611566611581565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b02fb6c511402e6b16c01255170e922f86ceb0ded212b895d9a70fad24a0d5eb64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleRedstoneConsumerNumericMockManyDataFeeds__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleRedstoneConsumerNumericMockManyDataFeeds__factory = SampleRedstoneConsumerNumericMockManyDataFeeds__factory; +SampleRedstoneConsumerNumericMockManyDataFeeds__factory.bytecode = _bytecode; +SampleRedstoneConsumerNumericMockManyDataFeeds__factory.abi = _abi; +//# sourceMappingURL=SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js.map new file mode 100644 index 00000000..ea294703 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMockManyDataFeeds__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAA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O,KAAK,CAAC,MAAM,CACjB,OAAO,CAC0C,CAAC;IACtD,CAAC;IACQ,OAAO,CACd,MAAc;QAEd,OAAO,KAAK,CAAC,OAAO,CAClB,MAAM,CACoD,CAAC;IAC/D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CACxB,IAAI,CACsD,CAAC;IAC/D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACiC,CAAC;IACtD,CAAC;;AAtDH,0HAuDC;AAjBiB,gEAAQ,GAAG,SAAS,CAAC;AACrB,2DAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts new file mode 100644 index 00000000..b205e4a4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleRedstoneConsumerNumericMock, SampleRedstoneConsumerNumericMockInterface } from "../../../contracts/samples/SampleRedstoneConsumerNumericMock"; +declare type SampleRedstoneConsumerNumericMockConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleRedstoneConsumerNumericMock__factory extends ContractFactory { + constructor(...args: SampleRedstoneConsumerNumericMockConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleRedstoneConsumerNumericMock; + connect(signer: Signer): SampleRedstoneConsumerNumericMock__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506118ea806100206000396000f3fe6080604052600436106100e85760003560e01c80637a1202c81161008a578063c06a97cb11610059578063c06a97cb14610252578063d22158fa14610267578063f50b2efe14610287578063f90c4924146102a757600080fd5b80637a1202c8146101ec5780638e7a41201461020c57806395262d9f14610212578063b24ebfcc1461023257600080fd5b80633d60fee3116100c65780633d60fee314610169578063429989f0146101895780634f178e44146101a95780635ddf81ba146101d657600080fd5b8063351d31ab146100ed5780633c154daf146101205780633ce142f514610137575b600080fd5b3480156100f957600080fd5b5061010d61010836600461160f565b6102bb565b6040519081526020015b60405180910390f35b34801561012c57600080fd5b506101356102d2565b005b34801561014357600080fd5b5061015761015236600461152b565b610339565b60405160ff9091168152602001610117565b34801561017557600080fd5b506101356101843660046115f7565b61034a565b34801561019557600080fd5b506101576101a436600461152b565b610359565b3480156101b557600080fd5b506101c96101c436600461155f565b61082d565b60405161011791906116ee565b3480156101e257600080fd5b5061010d60005481565b3480156101f857600080fd5b5061010d6102073660046115f7565b610838565b3461010d565b34801561021e57600080fd5b5061015761022d36600461152b565b610843565b34801561023e57600080fd5b5061010d61024d36600461155f565b61084e565b34801561025e57600080fd5b50610135600080fd5b34801561027357600080fd5b5061015761028236600461152b565b610859565b34801561029357600080fd5b506101356102a23660046115f7565b6108e0565b3480156102b357600080fd5b50600a610157565b60006102c688610923565b98975050505050505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f54657374206d657373616765000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600061034482610843565b92915050565b61035381610923565b60005550565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561039557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156103cf57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561040957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561044357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561047d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156104b757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104f157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561052b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561056557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561059f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105d95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106135750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561064d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106875750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106c15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106fb5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561073557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561076f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156107a957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107e357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b6060610344826109af565b600061034482610923565b600061034482610859565b6000610344826109ba565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108d7576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b61034482610359565b6501812f2590c0811015610920576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061096a57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061097f816109af565b60008151811061099f57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6060610344826109c5565b600061034482610bb8565b60606000825167ffffffffffffffff8111156109f157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a1a578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610a4757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a70578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610a9d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ad057816020015b6060815260200190600190039081610abb5790505b50905060005b8551811015610b3e5760408051600a808252610160820190925290602082016101408036833701905050828281518110610b2057634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610b3690611825565b915050610ad6565b506000610b49610cbc565b90506000610b5682610df1565b61ffff169050610b676002836117a5565b60405190925060005b82811015610bad576000610b878a89898989610e44565b9050610b9381866117a5565b945082604052508080610ba590611825565b915050610b70565b506102c68487611173565b6000815160001415610bf6576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bff826112eb565b600060028351610c0f91906117bd565b905060028351610c1f919061185e565b610c9c576000610c8784610c3460018561180e565b81518110610c5257634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610c7a57634e487b7160e01b600052603260045260246000fd5b6020026020010151611339565b9050610c946002826117bd565b949350505050565b82818151811061099f57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d24576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d61576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610d9a600362ffffff85166117a5565b610da491906117a5565b905036610db26002836117a5565b1115610dea576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610dff6020846117a5565b905036811115610e3b576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e5385611345565b909250905060008080606081600d610e76610e6f6020896117a5565b8990611395565b610e8091906117a5565b90506000610e99610e9260688d6117a5565b36906113a1565b90506000610eb683610eac60418f6117a5565b610e9291906117a5565b9050610ec28382610ed5565b9350826020850120945081359650610f17565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f288765ffffffffffff166108e0565b610f3c85610f3760418f6117a5565b6113ad565b9550610f4786610339565b60ff1699505050505050505060008060005b8481101561114057610f6c888583611443565b909350915060005b8c5181101561112d578c8181518110610f9d57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561111b5760008b8281518110610fce57634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fe781896001901b16151590565b15801561101e5750600a60ff168d838151811061101457634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611115578c828151811061104357634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061105890611825565b81525050838b838151811061107d57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110a757634e487b7160e01b600052603260045260246000fd5b60200260200101516110b9919061180e565b815181106110d757634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061110857634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061112d565b8061112581611825565b915050610f74565b508061113881611825565b915050610f59565b5050508160208261115191906117a5565b61115b91906117d1565b61116690604e6117a5565b9998505050505050505050565b60606000835167ffffffffffffffff81111561119f57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111c8578160200160208202803683370190505b509050600a60005b85518110156112e157818582815181106111fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151101561126e5784818151811061122857634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610330929190918252602082015260400190565b60006112a087838151811061129357634e487b7160e01b600052603260045260246000fd5b602002602001015161084e565b9050808483815181106112c357634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112d981611825565b9150506111d0565b5090949350505050565b8051602082016020820281019150805b8281101561133357815b8181101561132a578151815180821015611320578084528183525b5050602001611305565b506020016112fb565b50505050565b6000610dea82846117a5565b6000808080806113566041876117a5565b90506000611368610e926020846117a5565b8035945090506113798160036113a1565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610dea82846117d1565b6000610dea828461180e565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611410573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611452604e876117a5565b9050600061147f6114786114676020896117a5565b6114728860016117a5565b90611395565b8390611339565b9050600061148d36836113a1565b80359960209091013598509650505050505050565b600082601f8301126114b2578081fd5b813567ffffffffffffffff8111156114cc576114cc61189e565b6114fd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611732565b818152846020838601011115611511578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121561153c578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610dea578182fd5b60006020808385031215611571578182fd5b823567ffffffffffffffff811115611587578283fd5b8301601f81018513611597578283fd5b80356115aa6115a582611781565b611732565b80828252848201915084840188868560051b87010111156115c9578687fd5b8694505b838510156115eb5780358352600194909401939185019185016115cd565b50979650505050505050565b600060208284031215611608578081fd5b5035919050565b600080600080600080600060e0888a031215611629578283fd5b8735965060208801359550604088013567ffffffffffffffff8082111561164e578485fd5b61165a8b838c016114a2565b965060608a013591508082111561166f578485fd5b61167b8b838c016114a2565b955060808a0135915080821115611690578485fd5b61169c8b838c016114a2565b945060a08a01359150808211156116b1578384fd5b6116bd8b838c016114a2565b935060c08a01359150808211156116d2578283fd5b506116df8a828b016114a2565b91505092959891949750929550565b6020808252825182820181905260009190848201906040850190845b818110156117265783518352928401929184019160010161170a565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156117795761177961189e565b604052919050565b600067ffffffffffffffff82111561179b5761179b61189e565b5060051b60200190565b600082198211156117b8576117b8611872565b500190565b6000826117cc576117cc611888565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561180957611809611872565b500290565b60008282101561182057611820611872565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561185757611857611872565b5060010190565b60008261186d5761186d611888565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220fcbba462cc39e000b6357af59126ff50a6d625bb20587967215e83facd65343a64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleRedstoneConsumerNumericMockInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleRedstoneConsumerNumericMock; +} +export {}; +//# sourceMappingURL=SampleRedstoneConsumerNumericMock__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts.map new file mode 100644 index 00000000..03b6ffe7 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMock__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,iCAAiC,EACjC,0CAA0C,EAC3C,MAAM,8DAA8D,CAAC;AAgVtE,aAAK,kDAAkD,GACnD,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,0CAA2C,SAAQ,eAAe;gBACjE,GAAG,IAAI,EAAE,kDAAkD;IAQ9D,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,iCAAiC,CAAC;IAKpC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,iCAAiC;IAG1D,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,0CAA0C;IAI5E,MAAM,CAAC,QAAQ,CAAC,QAAQ,4hZAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0CAA0C;IAKpE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iCAAiC;CAOrC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js new file mode 100644 index 00000000..4d477a02 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js @@ -0,0 +1,371 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleRedstoneConsumerNumericMock__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getValueForDataFeedId", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + { + internalType: "uint256", + name: "mockArg1", + type: "uint256", + }, + { + internalType: "string", + name: "mockArg2", + type: "string", + }, + { + internalType: "string", + name: "mockArg3", + type: "string", + }, + { + internalType: "string", + name: "mockArg4", + type: "string", + }, + { + internalType: "string", + name: "mockArg5", + type: "string", + }, + { + internalType: "string", + name: "mockArg6", + type: "string", + }, + ], + name: "getValueManyParams", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "getValuesForDataFeedIds", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "latestSavedValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "returnMsgValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [], + name: "revertWithTestMessage", + outputs: [], + stateMutability: "pure", + type: "function", + }, + { + inputs: [], + name: "revertWithoutMessage", + outputs: [], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "saveOracleValueInContractStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506118ea806100206000396000f3fe6080604052600436106100e85760003560e01c80637a1202c81161008a578063c06a97cb11610059578063c06a97cb14610252578063d22158fa14610267578063f50b2efe14610287578063f90c4924146102a757600080fd5b80637a1202c8146101ec5780638e7a41201461020c57806395262d9f14610212578063b24ebfcc1461023257600080fd5b80633d60fee3116100c65780633d60fee314610169578063429989f0146101895780634f178e44146101a95780635ddf81ba146101d657600080fd5b8063351d31ab146100ed5780633c154daf146101205780633ce142f514610137575b600080fd5b3480156100f957600080fd5b5061010d61010836600461160f565b6102bb565b6040519081526020015b60405180910390f35b34801561012c57600080fd5b506101356102d2565b005b34801561014357600080fd5b5061015761015236600461152b565b610339565b60405160ff9091168152602001610117565b34801561017557600080fd5b506101356101843660046115f7565b61034a565b34801561019557600080fd5b506101576101a436600461152b565b610359565b3480156101b557600080fd5b506101c96101c436600461155f565b61082d565b60405161011791906116ee565b3480156101e257600080fd5b5061010d60005481565b3480156101f857600080fd5b5061010d6102073660046115f7565b610838565b3461010d565b34801561021e57600080fd5b5061015761022d36600461152b565b610843565b34801561023e57600080fd5b5061010d61024d36600461155f565b61084e565b34801561025e57600080fd5b50610135600080fd5b34801561027357600080fd5b5061015761028236600461152b565b610859565b34801561029357600080fd5b506101356102a23660046115f7565b6108e0565b3480156102b357600080fd5b50600a610157565b60006102c688610923565b98975050505050505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f54657374206d657373616765000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600061034482610843565b92915050565b61035381610923565b60005550565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561039557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156103cf57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561040957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561044357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561047d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156104b757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104f157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561052b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561056557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561059f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105d95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106135750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561064d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106875750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106c15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106fb5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561073557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561076f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156107a957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107e357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b6060610344826109af565b600061034482610923565b600061034482610859565b6000610344826109ba565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108d7576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610330565b61034482610359565b6501812f2590c0811015610920576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061096a57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061097f816109af565b60008151811061099f57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6060610344826109c5565b600061034482610bb8565b60606000825167ffffffffffffffff8111156109f157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a1a578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610a4757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a70578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610a9d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ad057816020015b6060815260200190600190039081610abb5790505b50905060005b8551811015610b3e5760408051600a808252610160820190925290602082016101408036833701905050828281518110610b2057634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610b3690611825565b915050610ad6565b506000610b49610cbc565b90506000610b5682610df1565b61ffff169050610b676002836117a5565b60405190925060005b82811015610bad576000610b878a89898989610e44565b9050610b9381866117a5565b945082604052508080610ba590611825565b915050610b70565b506102c68487611173565b6000815160001415610bf6576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bff826112eb565b600060028351610c0f91906117bd565b905060028351610c1f919061185e565b610c9c576000610c8784610c3460018561180e565b81518110610c5257634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610c7a57634e487b7160e01b600052603260045260246000fd5b6020026020010151611339565b9050610c946002826117bd565b949350505050565b82818151811061099f57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610d24576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610d61576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610d9a600362ffffff85166117a5565b610da491906117a5565b905036610db26002836117a5565b1115610dea576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610dff6020846117a5565b905036811115610e3b576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610e5385611345565b909250905060008080606081600d610e76610e6f6020896117a5565b8990611395565b610e8091906117a5565b90506000610e99610e9260688d6117a5565b36906113a1565b90506000610eb683610eac60418f6117a5565b610e9291906117a5565b9050610ec28382610ed5565b9350826020850120945081359650610f17565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610f288765ffffffffffff166108e0565b610f3c85610f3760418f6117a5565b6113ad565b9550610f4786610339565b60ff1699505050505050505060008060005b8481101561114057610f6c888583611443565b909350915060005b8c5181101561112d578c8181518110610f9d57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561111b5760008b8281518110610fce57634e487b7160e01b600052603260045260246000fd5b60200260200101519050610fe781896001901b16151590565b15801561101e5750600a60ff168d838151811061101457634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611115578c828151811061104357634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061105890611825565b81525050838b838151811061107d57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106110a757634e487b7160e01b600052603260045260246000fd5b60200260200101516110b9919061180e565b815181106110d757634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061110857634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061112d565b8061112581611825565b915050610f74565b508061113881611825565b915050610f59565b5050508160208261115191906117a5565b61115b91906117d1565b61116690604e6117a5565b9998505050505050505050565b60606000835167ffffffffffffffff81111561119f57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111c8578160200160208202803683370190505b509050600a60005b85518110156112e157818582815181106111fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151101561126e5784818151811061122857634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610330929190918252602082015260400190565b60006112a087838151811061129357634e487b7160e01b600052603260045260246000fd5b602002602001015161084e565b9050808483815181106112c357634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806112d981611825565b9150506111d0565b5090949350505050565b8051602082016020820281019150805b8281101561133357815b8181101561132a578151815180821015611320578084528183525b5050602001611305565b506020016112fb565b50505050565b6000610dea82846117a5565b6000808080806113566041876117a5565b90506000611368610e926020846117a5565b8035945090506113798160036113a1565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610dea82846117d1565b6000610dea828461180e565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611410573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611452604e876117a5565b9050600061147f6114786114676020896117a5565b6114728860016117a5565b90611395565b8390611339565b9050600061148d36836113a1565b80359960209091013598509650505050505050565b600082601f8301126114b2578081fd5b813567ffffffffffffffff8111156114cc576114cc61189e565b6114fd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611732565b818152846020838601011115611511578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121561153c578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610dea578182fd5b60006020808385031215611571578182fd5b823567ffffffffffffffff811115611587578283fd5b8301601f81018513611597578283fd5b80356115aa6115a582611781565b611732565b80828252848201915084840188868560051b87010111156115c9578687fd5b8694505b838510156115eb5780358352600194909401939185019185016115cd565b50979650505050505050565b600060208284031215611608578081fd5b5035919050565b600080600080600080600060e0888a031215611629578283fd5b8735965060208801359550604088013567ffffffffffffffff8082111561164e578485fd5b61165a8b838c016114a2565b965060608a013591508082111561166f578485fd5b61167b8b838c016114a2565b955060808a0135915080821115611690578485fd5b61169c8b838c016114a2565b945060a08a01359150808211156116b1578384fd5b6116bd8b838c016114a2565b935060c08a01359150808211156116d2578283fd5b506116df8a828b016114a2565b91505092959891949750929550565b6020808252825182820181905260009190848201906040850190845b818110156117265783518352928401929184019160010161170a565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156117795761177961189e565b604052919050565b600067ffffffffffffffff82111561179b5761179b61189e565b5060051b60200190565b600082198211156117b8576117b8611872565b500190565b6000826117cc576117cc611888565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561180957611809611872565b500290565b60008282101561182057611820611872565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561185757611857611872565b5060010190565b60008261186d5761186d611888565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220fcbba462cc39e000b6357af59126ff50a6d625bb20587967215e83facd65343a64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleRedstoneConsumerNumericMock__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleRedstoneConsumerNumericMock__factory = SampleRedstoneConsumerNumericMock__factory; +SampleRedstoneConsumerNumericMock__factory.bytecode = _bytecode; +SampleRedstoneConsumerNumericMock__factory.abi = _abi; +//# sourceMappingURL=SampleRedstoneConsumerNumericMock__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js.map new file mode 100644 index 00000000..bc9e5fde --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneConsumerNumericMock__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV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O,KAAK,CAAC,MAAM,CAAC,OAAO,CAAsC,CAAC;IACpE,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA+C,CAAC;IAC7E,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CACxB,IAAI,CACyC,CAAC;IAClD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACoB,CAAC;IACzC,CAAC;;AA5CH,gGA6CC;AAjBiB,mDAAQ,GAAG,SAAS,CAAC;AACrB,8CAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts new file mode 100644 index 00000000..edebc528 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleRedstoneDefaultsLib, SampleRedstoneDefaultsLibInterface } from "../../../contracts/samples/SampleRedstoneDefaultsLib"; +declare type SampleRedstoneDefaultsLibConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleRedstoneDefaultsLib__factory extends ContractFactory { + constructor(...args: SampleRedstoneDefaultsLibConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleRedstoneDefaultsLib; + connect(signer: Signer): SampleRedstoneDefaultsLib__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610528806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063b24ebfcc1461003b578063f50b2efe14610060575b600080fd5b61004e610049366004610318565b610075565b60405190815260200160405180910390f35b61007361006e3660046103f6565b610086565b005b600061008082610092565b92915050565b61008f8161009d565b50565b600061008082610158565b60006100ab6103e883610426565b90508042101561010b57603c6100c1428361043a565b1115610107576040517fb6b0916d000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044015b60405180910390fd5b5050565b60b4610117824261043a565b1115610107576040517f0321d0b5000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044016100fe565b6000815160001415610196576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61019f826102b7565b6000600283516101af9190610426565b9050600283516101bf9190610451565b61026e576000610259846101d460018561043a565b8151811061020b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185848151811061024c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610305565b9050610266600282610426565b949350505050565b8281815181106102a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156102ff57815b818110156102f65781518151808210156102ec578084528183525b50506020016102d1565b506020016102c7565b50505050565b6000610311828461040e565b9392505050565b6000602080838503121561032a578182fd5b823567ffffffffffffffff80821115610341578384fd5b818501915085601f830112610354578384fd5b813581811115610366576103666104c3565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156103a9576103a96104c3565b604052828152858101935084860182860187018a10156103c7578788fd5b8795505b838610156103e95780358552600195909501949386019386016103cb565b5098975050505050505050565b600060208284031215610407578081fd5b5035919050565b6000821982111561042157610421610465565b500190565b60008261043557610435610494565b500490565b60008282101561044c5761044c610465565b500390565b60008261046057610460610494565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122027c3c1a8034253bd9f5357069ead8bedef74cba70797748f85b1ab1fdd7ead7564736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleRedstoneDefaultsLibInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleRedstoneDefaultsLib; +} +export {}; +//# sourceMappingURL=SampleRedstoneDefaultsLib__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts.map new file mode 100644 index 00000000..9f63cc15 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneDefaultsLib__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,sDAAsD,CAAC;AA6E9D,aAAK,0CAA0C,GAC3C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,kCAAmC,SAAQ,eAAe;gBACzD,GAAG,IAAI,EAAE,0CAA0C;IAQtD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,yBAAyB;IAGlD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,kCAAkC;IAIpE,MAAM,CAAC,QAAQ,CAAC,QAAQ,wpFAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js new file mode 100644 index 00000000..91cc7d33 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js @@ -0,0 +1,112 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleRedstoneDefaultsLib__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampFromTooLongFuture", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampSeconds", + type: "uint256", + }, + { + internalType: "uint256", + name: "blockTimestamp", + type: "uint256", + }, + ], + name: "TimestampIsTooOld", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610528806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063b24ebfcc1461003b578063f50b2efe14610060575b600080fd5b61004e610049366004610318565b610075565b60405190815260200160405180910390f35b61007361006e3660046103f6565b610086565b005b600061008082610092565b92915050565b61008f8161009d565b50565b600061008082610158565b60006100ab6103e883610426565b90508042101561010b57603c6100c1428361043a565b1115610107576040517fb6b0916d000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044015b60405180910390fd5b5050565b60b4610117824261043a565b1115610107576040517f0321d0b5000000000000000000000000000000000000000000000000000000008152600481018290524260248201526044016100fe565b6000815160001415610196576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61019f826102b7565b6000600283516101af9190610426565b9050600283516101bf9190610451565b61026e576000610259846101d460018561043a565b8151811061020b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185848151811061024c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610305565b9050610266600282610426565b949350505050565b8281815181106102a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050919050565b8051602082016020820281019150805b828110156102ff57815b818110156102f65781518151808210156102ec578084528183525b50506020016102d1565b506020016102c7565b50505050565b6000610311828461040e565b9392505050565b6000602080838503121561032a578182fd5b823567ffffffffffffffff80821115610341578384fd5b818501915085601f830112610354578384fd5b813581811115610366576103666104c3565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156103a9576103a96104c3565b604052828152858101935084860182860187018a10156103c7578788fd5b8795505b838610156103e95780358552600195909501949386019386016103cb565b5098975050505050505050565b600060208284031215610407578081fd5b5035919050565b6000821982111561042157610421610465565b500190565b60008261043557610435610494565b500490565b60008282101561044c5761044c610465565b500390565b60008261046057610460610494565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122027c3c1a8034253bd9f5357069ead8bedef74cba70797748f85b1ab1fdd7ead7564736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleRedstoneDefaultsLib__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleRedstoneDefaultsLib__factory = SampleRedstoneDefaultsLib__factory; +SampleRedstoneDefaultsLib__factory.bytecode = _bytecode; +SampleRedstoneDefaultsLib__factory.abi = _abi; +//# sourceMappingURL=SampleRedstoneDefaultsLib__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js.map new file mode 100644 index 00000000..2e281920 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleRedstoneDefaultsLib__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleRedstoneDefaultsLib__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,0BAA0B;gBAChC,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,4BAA4B;QAClC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,0BAA0B;gBAChC,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,WAAW;aAClB;SACF;QACD,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAA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mC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACY,CAAC;IACjC,CAAC;;AAxCH,gFAyCC;AAfiB,2CAAQ,GAAG,SAAS,CAAC;AACrB,sCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts new file mode 100644 index 00000000..e0291cac --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts @@ -0,0 +1,52 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleStorageProxyConsumer, SampleStorageProxyConsumerInterface } from "../../../contracts/samples/SampleStorageProxyConsumer"; +declare type SampleStorageProxyConsumerConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleStorageProxyConsumer__factory extends ContractFactory { + constructor(...args: SampleStorageProxyConsumerConstructorParams); + deploy(_sampleStorageProxy: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(_sampleStorageProxy: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleStorageProxyConsumer; + connect(signer: Signer): SampleStorageProxyConsumer__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506040516109f93803806109f983398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610082565b600060208284031215610065578081fd5b81516001600160a01b038116811461007b578182fd5b9392505050565b610968806100916000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630fb1d7d4146100515780639b606ed914610066578063f5bcb8d61461008f578063f8382ebb146100b0575b600080fd5b61006461005f36600461064e565b6100c3565b005b610079610074366004610613565b61026b565b60405161008691906107ee565b60405180910390f35b6100a261009d36600461079d565b610418565b604051908152602001610086565b6100646100be3660046107b5565b6104c1565b600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061011a9086906004016107ee565b60006040518083038186803b15801561013257600080fd5b505afa158015610146573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261018c919081019061070a565b905060005b8351811015610265578281815181106101d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151828281518110610214577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015114610253576040517f4983170000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061025d816108a5565b915050610191565b50505050565b60606000825167ffffffffffffffff8111156102b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156102d9578160200160208202803683370190505b50905060005b835181101561041157600054845173ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d690869084908110610345577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b815260040161036b91815260200190565b60206040518083038186803b15801561038357600080fd5b505afa158015610397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bb91906107d6565b8282815181106103f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602090810291909101015280610409816108a5565b9150506102df565b5092915050565b600080546040517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b15801561048357600080fd5b505afa158015610497573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bb91906107d6565b92915050565b600080546040517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b15801561052c57600080fd5b505afa158015610540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056491906107d6565b905081811461059f576040517f4983170000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600082601f8301126105b4578081fd5b813560206105c96105c483610881565b610832565b80838252828201915082860187848660051b89010111156105e8578586fd5b855b85811015610606578135845292840192908401906001016105ea565b5090979650505050505050565b600060208284031215610624578081fd5b813567ffffffffffffffff81111561063a578182fd5b610646848285016105a4565b949350505050565b60008060408385031215610660578081fd5b823567ffffffffffffffff80821115610677578283fd5b610683868387016105a4565b9350602091508185013581811115610699578384fd5b85019050601f810186136106ab578283fd5b80356106b96105c482610881565b80828252848201915084840189868560051b87010111156106d8578687fd5b8694505b838510156106fa5780358352600194909401939185019185016106dc565b5080955050505050509250929050565b6000602080838503121561071c578182fd5b825167ffffffffffffffff811115610732578283fd5b8301601f81018513610742578283fd5b80516107506105c482610881565b80828252848201915084840188868560051b870101111561076f578687fd5b8694505b83851015610791578051835260019490940193918501918501610773565b50979650505050505050565b6000602082840312156107ae578081fd5b5035919050565b600080604083850312156107c7578182fd5b50508035926020909101359150565b6000602082840312156107e7578081fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156108265783518352928401929184019160010161080a565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561087957610879610903565b604052919050565b600067ffffffffffffffff82111561089b5761089b610903565b5060051b60200190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156108fc577f4e487b710000000000000000000000000000000000000000000000000000000081526011600452602481fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122013f77be6f49dad010e411d626c2f514b115251d8183c364c2133e2d1b3cd704064736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + name?: undefined; + outputs?: undefined; + } | { + inputs: never[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleStorageProxyConsumerInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleStorageProxyConsumer; +} +export {}; +//# sourceMappingURL=SampleStorageProxyConsumer__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts.map new file mode 100644 index 00000000..1ceb62f2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxyConsumer__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,0BAA0B,EAC1B,mCAAmC,EACpC,MAAM,uDAAuD,CAAC;AAkG/D,aAAK,2CAA2C,GAC5C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,mCAAoC,SAAQ,eAAe;gBAC1D,GAAG,IAAI,EAAE,2CAA2C;IAQvD,MAAM,CACb,mBAAmB,EAAE,cAAc,CAAC,MAAM,CAAC,EAC3C,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,0BAA0B,CAAC;IAM7B,oBAAoB,CAC3B,mBAAmB,EAAE,cAAc,CAAC,MAAM,CAAC,EAC3C,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,0BAA0B;IAGnD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,mCAAmC;IAIrE,MAAM,CAAC,QAAQ,CAAC,QAAQ,0/JAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,mCAAmC;IAG7D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,0BAA0B;CAO9B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js new file mode 100644 index 00000000..7433ab09 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js @@ -0,0 +1,133 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleStorageProxyConsumer__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "address", + name: "_sampleStorageProxy", + type: "address", + }, + ], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "UnexpectedOracleValue", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + { + internalType: "uint256", + name: "expectedValue", + type: "uint256", + }, + ], + name: "checkOracleValue", + outputs: [], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + { + internalType: "uint256[]", + name: "expectedValues", + type: "uint256[]", + }, + ], + name: "checkOracleValues", + outputs: [], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getOracleValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "getOracleValues", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506040516109f93803806109f983398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610082565b600060208284031215610065578081fd5b81516001600160a01b038116811461007b578182fd5b9392505050565b610968806100916000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630fb1d7d4146100515780639b606ed914610066578063f5bcb8d61461008f578063f8382ebb146100b0575b600080fd5b61006461005f36600461064e565b6100c3565b005b610079610074366004610613565b61026b565b60405161008691906107ee565b60405180910390f35b6100a261009d36600461079d565b610418565b604051908152602001610086565b6100646100be3660046107b5565b6104c1565b600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061011a9086906004016107ee565b60006040518083038186803b15801561013257600080fd5b505afa158015610146573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261018c919081019061070a565b905060005b8351811015610265578281815181106101d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151828281518110610214577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015114610253576040517f4983170000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061025d816108a5565b915050610191565b50505050565b60606000825167ffffffffffffffff8111156102b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156102d9578160200160208202803683370190505b50905060005b835181101561041157600054845173ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d690869084908110610345577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b815260040161036b91815260200190565b60206040518083038186803b15801561038357600080fd5b505afa158015610397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bb91906107d6565b8282815181106103f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602090810291909101015280610409816108a5565b9150506102df565b5092915050565b600080546040517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b15801561048357600080fd5b505afa158015610497573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bb91906107d6565b92915050565b600080546040517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b15801561052c57600080fd5b505afa158015610540573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056491906107d6565b905081811461059f576040517f4983170000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600082601f8301126105b4578081fd5b813560206105c96105c483610881565b610832565b80838252828201915082860187848660051b89010111156105e8578586fd5b855b85811015610606578135845292840192908401906001016105ea565b5090979650505050505050565b600060208284031215610624578081fd5b813567ffffffffffffffff81111561063a578182fd5b610646848285016105a4565b949350505050565b60008060408385031215610660578081fd5b823567ffffffffffffffff80821115610677578283fd5b610683868387016105a4565b9350602091508185013581811115610699578384fd5b85019050601f810186136106ab578283fd5b80356106b96105c482610881565b80828252848201915084840189868560051b87010111156106d8578687fd5b8694505b838510156106fa5780358352600194909401939185019185016106dc565b5080955050505050509250929050565b6000602080838503121561071c578182fd5b825167ffffffffffffffff811115610732578283fd5b8301601f81018513610742578283fd5b80516107506105c482610881565b80828252848201915084840188868560051b870101111561076f578687fd5b8694505b83851015610791578051835260019490940193918501918501610773565b50979650505050505050565b6000602082840312156107ae578081fd5b5035919050565b600080604083850312156107c7578182fd5b50508035926020909101359150565b6000602082840312156107e7578081fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156108265783518352928401929184019160010161080a565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561087957610879610903565b604052919050565b600067ffffffffffffffff82111561089b5761089b610903565b5060051b60200190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156108fc577f4e487b710000000000000000000000000000000000000000000000000000000081526011600452602481fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea264697066735822122013f77be6f49dad010e411d626c2f514b115251d8183c364c2133e2d1b3cd704064736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleStorageProxyConsumer__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(_sampleStorageProxy, overrides) { + return super.deploy(_sampleStorageProxy, overrides || {}); + } + getDeployTransaction(_sampleStorageProxy, overrides) { + return super.getDeployTransaction(_sampleStorageProxy, overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleStorageProxyConsumer__factory = SampleStorageProxyConsumer__factory; +SampleStorageProxyConsumer__factory.bytecode = _bytecode; +SampleStorageProxyConsumer__factory.abi = _abi; +//# sourceMappingURL=SampleStorageProxyConsumer__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js.map new file mode 100644 index 00000000..5bd23708 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxyConsumer__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleStorageProxyConsumer__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,gBAAgB;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EAAE,CACuB,CAAC;IAC3C,CAAC;IACQ,oBAAoB,CAC3B,mBAA2C,EAC3C,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,mBAAmB,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA+B,CAAC;IAC7D,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAwC,CAAC;IACtE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAwC,CAAC;IAC1E,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACa,CAAC;IAClC,CAAC;;AA7CH,kFA8CC;AAfiB,4CAAQ,GAAG,SAAS,CAAC;AACrB,uCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts new file mode 100644 index 00000000..f6107b69 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts @@ -0,0 +1,65 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleStorageProxy, SampleStorageProxyInterface } from "../../../contracts/samples/SampleStorageProxy"; +declare type SampleStorageProxyConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleStorageProxy__factory extends ContractFactory { + constructor(...args: SampleStorageProxyConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleStorageProxy; + connect(signer: Signer): SampleStorageProxy__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b506123a7806100206000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806395262d9f116100b2578063df2c65b311610081578063f50b2efe11610066578063f50b2efe14610306578063f5bcb8d614610319578063f90c49241461033957600080fd5b8063df2c65b3146102d3578063ec5986c8146102e657600080fd5b806395262d9f146102875780639b606ed91461029a578063b24ebfcc146102ad578063d22158fa146102c057600080fd5b80633d60fee3116101095780634420e486116100ee5780634420e486146101ff5780636d90217f1461025457806381fc68841461026757600080fd5b80633d60fee3146101d7578063429989f0146101ec57600080fd5b80630a709a051461013b5780632a5284a9146101645780632fb8176b146101925780633ce142f5146101b2575b600080fd5b61014e610149366004611e82565b610340565b60405161015b9190612168565b60405180910390f35b610184610172366004611fa1565b60016020526000908152604090205481565b60405190815260200161015b565b6101a56101a0366004611e82565b610637565b60405161015b9190612142565b6101c56101c0366004611e4e565b61077d565b60405160ff909116815260200161015b565b6101ea6101e5366004611fa1565b61078e565b005b6101c56101fa366004611e4e565b6107a9565b6101ea61020d366004611e4e565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610184610262366004611fa1565b610c82565b61027a610275366004611fa1565b610d3f565b60405161015b9190612155565b6101c5610295366004611e4e565b610e5a565b6101a56102a8366004611e82565b610e65565b6101846102bb366004611e82565b610f48565b6101c56102ce366004611e4e565b610f53565b6101ea6102e1366004611e82565b610fda565b6102f96102f4366004611e82565b611071565b60405161015b91906120c3565b6101ea610314366004611fa1565b6112e1565b610184610327366004611fa1565b60009081526001602052604090205490565b600a6101c5565b6040805180820190915260608082526020820152600061035f83611324565b905060005b83518110156103e65781818151811061038d57634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008684815181106103b957634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806103de906122e2565b915050610364565b50600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061043e90879060040161207f565b60006040518083038186803b15801561045657600080fd5b505afa15801561046a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104929190810190611f1a565b905060006040518060400160405280865167ffffffffffffffff8111156104c957634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156104fc57816020015b60608152602001906001900390816104e75790505b508152602001865167ffffffffffffffff81111561052a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610553578160200160208202803683370190505b509052905060005b855181101561062e5760408051808201909152600681527f73616d706c650000000000000000000000000000000000000000000000000000602082015282518051839081106105ba57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508281815181106105e557634e487b7160e01b600052603260045260246000fd5b60200260200101518260200151828151811061061157634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610626816122e2565b91505061055b565b50949350505050565b6060600061064483611324565b905060005b83518110156106cb5781818151811061067257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600086848151811061069e57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806106c3906122e2565b915050610649565b506000546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061072290869060040161207f565b60006040518083038186803b15801561073a57600080fd5b505afa15801561074e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107769190810190611f1a565b9392505050565b600061078882610e5a565b92915050565b6107978161132f565b60009182526001602052604090912055565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156107e557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561081f57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561085957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561089357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156108cd57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561090757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561094157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561097b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156109b557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156109ef57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff83161415610a295750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff83161415610a635750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff83161415610a9d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff83161415610ad75750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff83161415610b115750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff83161415610b4b5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff83161415610b8557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff83161415610bbf57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff83161415610bf957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610c3357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b6000610c8d8261132f565b600083815260016020526040808220929092555490517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b158015610d0757600080fd5b505afa158015610d1b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190611fb9565b604080518082019091526060815260006020820152610d5d8261132f565b60008381526001602052604080822092909255805491517ff5bcb8d600000000000000000000000000000000000000000000000000000000815260048101859052909173ffffffffffffffffffffffffffffffffffffffff169063f5bcb8d69060240160206040518083038186803b158015610dd857600080fd5b505afa158015610dec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e109190611fb9565b6040805160808101825260069181019182527f73616d706c650000000000000000000000000000000000000000000000000000606082015290815260208101919091529392505050565b600061078882610f53565b60606000825167ffffffffffffffff811115610e9157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610eba578160200160208202803683370190505b50905060005b8351811015610f415760016000858381518110610eed57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002054828281518110610f2457634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610f39816122e2565b915050610ec0565b5092915050565b6000610788826113bb565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610fd1576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610c79565b610788826107a9565b6000610fe582611324565b905060005b825181101561106c5781818151811061101357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600085848151811061103f57634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080611064906122e2565b915050610fea565b505050565b6060600061107e83611324565b905060005b8351811015611105578181815181106110ac57634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008684815181106110d857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806110fd906122e2565b915050611083565b50600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061115d90879060040161207f565b60006040518083038186803b15801561117557600080fd5b505afa158015611189573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111b19190810190611f1a565b90506000845167ffffffffffffffff8111156111dd57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561122357816020015b6040805180820190915260608152600060208201528152602001906001900390816111fb5790505b50905060005b855181101561062e5760405180604001604052806040518060400160405280600681526020017f73616d706c650000000000000000000000000000000000000000000000000000815250815260200184838151811061129857634e487b7160e01b600052603260045260246000fd5b60200260200101518152508282815181106112c357634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806112d9906122e2565b915050611229565b6501812f2590c0811015611321576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6060610788826113c6565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061137657634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061138b81611324565b6000815181106113ab57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6000610788826115c5565b60606000825167ffffffffffffffff8111156113f257634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561141b578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561144857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611471578160200160208202803683370190505b5090506000845167ffffffffffffffff81111561149e57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156114d157816020015b60608152602001906001900390816114bc5790505b50905060005b855181101561153f5760408051600a80825261016082019092529060208201610140803683370190505082828151811061152157634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080611537906122e2565b9150506114d7565b50600061154a6116c9565b90506000611557826117d9565b61ffff169050611568600283612262565b60405190925060005b828110156115ae5760006115888a8989898961182c565b90506115948186612262565b9450826040525080806115a6906122e2565b915050611571565b506115b98487611b3d565b98975050505050505050565b6000815160001415611603576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61160c82611cb5565b60006002835161161c919061227a565b90506002835161162c919061231b565b6116a9576000611694846116416001856122cb565b8151811061165f57634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061168757634e487b7160e01b600052603260045260246000fd5b6020026020010151611d03565b90506116a160028261227a565b949350505050565b8281815181106113ab57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e0000601f1936013581161480611713576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611750576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009611789600362ffffff8516612262565b6117939190612262565b9050366117a1600283612262565b1115610776576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806117e7602084612262565b905036811115611823576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061183b85611d0f565b909250905060008080606081600d61185e611857602089612262565b8990611d5f565b6118689190612262565b9050600061188161187a60688d612262565b3690611d6b565b9050600061189e8361189460418f612262565b61187a9190612262565b90506118aa83826118bd565b93508260208501209450813596506118e1565b60408051838152602081850181019092526000910183838237601f19019392505050565b6118f28765ffffffffffff166112e1565b6119068561190160418f612262565b611d77565b95506119118661077d565b60ff1699505050505050505060008060005b84811015611b0a57611936888583611def565b909350915060005b8c51811015611af7578c818151811061196757634e487b7160e01b600052603260045260246000fd5b6020026020010151841415611ae55760008b828151811061199857634e487b7160e01b600052603260045260246000fd5b602002602001015190506119b181896001901b16151590565b1580156119e85750600a60ff168d83815181106119de57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611adf578c8281518110611a0d57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190611a22906122e2565b81525050838b8381518110611a4757634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110611a7157634e487b7160e01b600052603260045260246000fd5b6020026020010151611a8391906122cb565b81518110611aa157634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110611ad257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611af7565b80611aef816122e2565b91505061193e565b5080611b02816122e2565b915050611923565b50505081602082611b1b9190612262565b611b25919061228e565b611b3090604e612262565b9998505050505050505050565b60606000835167ffffffffffffffff811115611b6957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b92578160200160208202803683370190505b509050600a60005b8551811015611cab5781858281518110611bc457634e487b7160e01b600052603260045260246000fd5b60200260200101511015611c3857848181518110611bf257634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610c79929190918252602082015260400190565b6000611c6a878381518110611c5d57634e487b7160e01b600052603260045260246000fd5b6020026020010151610f48565b905080848381518110611c8d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101525080611ca3816122e2565b915050611b9a565b5090949350505050565b8051602082016020820281019150805b82811015611cfd57815b81811015611cf4578151815180821015611cea578084528183525b5050602001611ccf565b50602001611cc5565b50505050565b60006107768284612262565b600080808080611d20604187612262565b90506000611d3261187a602084612262565b803594509050611d43816003611d6b565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610776828461228e565b600061077682846122cb565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611dda573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008080611dfe604e87612262565b90506000611e2b611e24611e13602089612262565b611e1e886001612262565b90611d5f565b8390611d03565b90506000611e393683611d6b565b80359960209091013598509650505050505050565b600060208284031215611e5f578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610776578182fd5b60006020808385031215611e94578182fd5b823567ffffffffffffffff811115611eaa578283fd5b8301601f81018513611eba578283fd5b8035611ecd611ec88261223e565b61220d565b80828252848201915084840188868560051b8701011115611eec578687fd5b8694505b83851015611f0e578035835260019490940193918501918501611ef0565b50979650505050505050565b60006020808385031215611f2c578182fd5b825167ffffffffffffffff811115611f42578283fd5b8301601f81018513611f52578283fd5b8051611f60611ec88261223e565b80828252848201915084840188868560051b8701011115611f7f578687fd5b8694505b83851015611f0e578051835260019490940193918501918501611f83565b600060208284031215611fb2578081fd5b5035919050565b600060208284031215611fca578081fd5b5051919050565b6000815180845260208085019450808401835b8381101561200057815187529582019590820190600101611fe4565b509495945050505050565b60008151808452815b8181101561203057602081850181015186830182015201612014565b818111156120415782602083870101525b50601f01601f19169290920160200192915050565b600081516040845261206b604085018261200b565b602093840151949093019390935250919050565b6020808252825182820181905260009190848201906040850190845b818110156120b75783518352928401929184019160010161209b565b50909695505050505050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b82811015612135577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612123858351612056565b945092850192908501906001016120e9565b5092979650505050505050565b6020815260006107766020830184611fd1565b6020815260006107766020830184612056565b6000602080835260608301845160408386015281815180845260808701915060808160051b88010193508483019250855b818110156121e5577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808886030183526121d385855161200b565b94509285019291850191600101612199565b5050505090840151838203601f19016040850152906122048183611fd1565b95945050505050565b604051601f8201601f1916810167ffffffffffffffff811182821017156122365761223661235b565b604052919050565b600067ffffffffffffffff8211156122585761225861235b565b5060051b60200190565b600082198211156122755761227561232f565b500190565b60008261228957612289612345565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156122c6576122c661232f565b500290565b6000828210156122dd576122dd61232f565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156123145761231461232f565b5060010190565b60008261232a5761232a612345565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220ab62b1fc64f5249181dc8d354631c3a50e92bafee421baa941ead63930b942b064736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + components: { + internalType: string; + name: string; + type: string; + }[]; + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleStorageProxyInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleStorageProxy; +} +export {}; +//# sourceMappingURL=SampleStorageProxy__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts.map new file mode 100644 index 00000000..67c00a7a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxy__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleStorageProxy__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,+CAA+C,CAAC;AAuavD,aAAK,mCAAmC,GACpC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,2BAA4B,SAAQ,eAAe;gBAClD,GAAG,IAAI,EAAE,mCAAmC;IAQ/C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,kBAAkB,CAAC;IAGrB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB;IAG3C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,2BAA2B;IAI7D,MAAM,CAAC,QAAQ,CAAC,QAAQ,s5jBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,2BAA2B;IAGrD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,kBAAkB;CAGtB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js new file mode 100644 index 00000000..a7f7c967 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js @@ -0,0 +1,458 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleStorageProxy__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "fetchArrayOfStructsUsingProxyDryRun", + outputs: [ + { + components: [ + { + internalType: "string", + name: "name", + type: "string", + }, + { + internalType: "uint256", + name: "dataValue", + type: "uint256", + }, + ], + internalType: "struct SampleStorageProxy.SamplePoint[]", + name: "", + type: "tuple[]", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "fetchStructOfArraysUsingProxyDryRun", + outputs: [ + { + components: [ + { + internalType: "string[]", + name: "names", + type: "string[]", + }, + { + internalType: "uint256[]", + name: "dataValues", + type: "uint256[]", + }, + ], + internalType: "struct SampleStorageProxy.SamplePoints", + name: "", + type: "tuple", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "fetchStructUsingProxyDryRun", + outputs: [ + { + components: [ + { + internalType: "string", + name: "name", + type: "string", + }, + { + internalType: "uint256", + name: "dataValue", + type: "uint256", + }, + ], + internalType: "struct SampleStorageProxy.SamplePoint", + name: "", + type: "tuple", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "fetchValueUsingProxyDryRun", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "fetchValuesUsingProxyDryRun", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getOracleValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "getOracleValues", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + name: "oracleValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "_sampleContract", + type: "address", + }, + ], + name: "register", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "saveOracleValueInContractStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "saveOracleValuesInContractStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b506123a7806100206000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806395262d9f116100b2578063df2c65b311610081578063f50b2efe11610066578063f50b2efe14610306578063f5bcb8d614610319578063f90c49241461033957600080fd5b8063df2c65b3146102d3578063ec5986c8146102e657600080fd5b806395262d9f146102875780639b606ed91461029a578063b24ebfcc146102ad578063d22158fa146102c057600080fd5b80633d60fee3116101095780634420e486116100ee5780634420e486146101ff5780636d90217f1461025457806381fc68841461026757600080fd5b80633d60fee3146101d7578063429989f0146101ec57600080fd5b80630a709a051461013b5780632a5284a9146101645780632fb8176b146101925780633ce142f5146101b2575b600080fd5b61014e610149366004611e82565b610340565b60405161015b9190612168565b60405180910390f35b610184610172366004611fa1565b60016020526000908152604090205481565b60405190815260200161015b565b6101a56101a0366004611e82565b610637565b60405161015b9190612142565b6101c56101c0366004611e4e565b61077d565b60405160ff909116815260200161015b565b6101ea6101e5366004611fa1565b61078e565b005b6101c56101fa366004611e4e565b6107a9565b6101ea61020d366004611e4e565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610184610262366004611fa1565b610c82565b61027a610275366004611fa1565b610d3f565b60405161015b9190612155565b6101c5610295366004611e4e565b610e5a565b6101a56102a8366004611e82565b610e65565b6101846102bb366004611e82565b610f48565b6101c56102ce366004611e4e565b610f53565b6101ea6102e1366004611e82565b610fda565b6102f96102f4366004611e82565b611071565b60405161015b91906120c3565b6101ea610314366004611fa1565b6112e1565b610184610327366004611fa1565b60009081526001602052604090205490565b600a6101c5565b6040805180820190915260608082526020820152600061035f83611324565b905060005b83518110156103e65781818151811061038d57634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008684815181106103b957634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806103de906122e2565b915050610364565b50600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061043e90879060040161207f565b60006040518083038186803b15801561045657600080fd5b505afa15801561046a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104929190810190611f1a565b905060006040518060400160405280865167ffffffffffffffff8111156104c957634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156104fc57816020015b60608152602001906001900390816104e75790505b508152602001865167ffffffffffffffff81111561052a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610553578160200160208202803683370190505b509052905060005b855181101561062e5760408051808201909152600681527f73616d706c650000000000000000000000000000000000000000000000000000602082015282518051839081106105ba57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508281815181106105e557634e487b7160e01b600052603260045260246000fd5b60200260200101518260200151828151811061061157634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610626816122e2565b91505061055b565b50949350505050565b6060600061064483611324565b905060005b83518110156106cb5781818151811061067257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600086848151811061069e57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806106c3906122e2565b915050610649565b506000546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061072290869060040161207f565b60006040518083038186803b15801561073a57600080fd5b505afa15801561074e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107769190810190611f1a565b9392505050565b600061078882610e5a565b92915050565b6107978161132f565b60009182526001602052604090912055565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff831614156107e557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff8316141561081f57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561085957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561089357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff831614156108cd57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561090757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff8316141561094157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561097b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff831614156109b557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff831614156109ef57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff83161415610a295750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff83161415610a635750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff83161415610a9d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff83161415610ad75750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff83161415610b115750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff83161415610b4b5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff83161415610b8557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff83161415610bbf57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff83161415610bf957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610c3357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b6000610c8d8261132f565b600083815260016020526040808220929092555490517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b158015610d0757600080fd5b505afa158015610d1b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190611fb9565b604080518082019091526060815260006020820152610d5d8261132f565b60008381526001602052604080822092909255805491517ff5bcb8d600000000000000000000000000000000000000000000000000000000815260048101859052909173ffffffffffffffffffffffffffffffffffffffff169063f5bcb8d69060240160206040518083038186803b158015610dd857600080fd5b505afa158015610dec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e109190611fb9565b6040805160808101825260069181019182527f73616d706c650000000000000000000000000000000000000000000000000000606082015290815260208101919091529392505050565b600061078882610f53565b60606000825167ffffffffffffffff811115610e9157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610eba578160200160208202803683370190505b50905060005b8351811015610f415760016000858381518110610eed57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002054828281518110610f2457634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610f39816122e2565b915050610ec0565b5092915050565b6000610788826113bb565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610fd1576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610c79565b610788826107a9565b6000610fe582611324565b905060005b825181101561106c5781818151811061101357634e487b7160e01b600052603260045260246000fd5b60200260200101516001600085848151811061103f57634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080611064906122e2565b915050610fea565b505050565b6060600061107e83611324565b905060005b8351811015611105578181815181106110ac57634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008684815181106110d857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806110fd906122e2565b915050611083565b50600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061115d90879060040161207f565b60006040518083038186803b15801561117557600080fd5b505afa158015611189573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111b19190810190611f1a565b90506000845167ffffffffffffffff8111156111dd57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561122357816020015b6040805180820190915260608152600060208201528152602001906001900390816111fb5790505b50905060005b855181101561062e5760405180604001604052806040518060400160405280600681526020017f73616d706c650000000000000000000000000000000000000000000000000000815250815260200184838151811061129857634e487b7160e01b600052603260045260246000fd5b60200260200101518152508282815181106112c357634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806112d9906122e2565b915050611229565b6501812f2590c0811015611321576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6060610788826113c6565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061137657634e487b7160e01b600052603260045260246000fd5b60200260200101818152505061138b81611324565b6000815181106113ab57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6000610788826115c5565b60606000825167ffffffffffffffff8111156113f257634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561141b578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561144857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611471578160200160208202803683370190505b5090506000845167ffffffffffffffff81111561149e57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156114d157816020015b60608152602001906001900390816114bc5790505b50905060005b855181101561153f5760408051600a80825261016082019092529060208201610140803683370190505082828151811061152157634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080611537906122e2565b9150506114d7565b50600061154a6116c9565b90506000611557826117d9565b61ffff169050611568600283612262565b60405190925060005b828110156115ae5760006115888a8989898961182c565b90506115948186612262565b9450826040525080806115a6906122e2565b915050611571565b506115b98487611b3d565b98975050505050505050565b6000815160001415611603576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61160c82611cb5565b60006002835161161c919061227a565b90506002835161162c919061231b565b6116a9576000611694846116416001856122cb565b8151811061165f57634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061168757634e487b7160e01b600052603260045260246000fd5b6020026020010151611d03565b90506116a160028261227a565b949350505050565b8281815181106113ab57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e0000601f1936013581161480611713576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611750576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009611789600362ffffff8516612262565b6117939190612262565b9050366117a1600283612262565b1115610776576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806117e7602084612262565b905036811115611823576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061183b85611d0f565b909250905060008080606081600d61185e611857602089612262565b8990611d5f565b6118689190612262565b9050600061188161187a60688d612262565b3690611d6b565b9050600061189e8361189460418f612262565b61187a9190612262565b90506118aa83826118bd565b93508260208501209450813596506118e1565b60408051838152602081850181019092526000910183838237601f19019392505050565b6118f28765ffffffffffff166112e1565b6119068561190160418f612262565b611d77565b95506119118661077d565b60ff1699505050505050505060008060005b84811015611b0a57611936888583611def565b909350915060005b8c51811015611af7578c818151811061196757634e487b7160e01b600052603260045260246000fd5b6020026020010151841415611ae55760008b828151811061199857634e487b7160e01b600052603260045260246000fd5b602002602001015190506119b181896001901b16151590565b1580156119e85750600a60ff168d83815181106119de57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611adf578c8281518110611a0d57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190611a22906122e2565b81525050838b8381518110611a4757634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110611a7157634e487b7160e01b600052603260045260246000fd5b6020026020010151611a8391906122cb565b81518110611aa157634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110611ad257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611af7565b80611aef816122e2565b91505061193e565b5080611b02816122e2565b915050611923565b50505081602082611b1b9190612262565b611b25919061228e565b611b3090604e612262565b9998505050505050505050565b60606000835167ffffffffffffffff811115611b6957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b92578160200160208202803683370190505b509050600a60005b8551811015611cab5781858281518110611bc457634e487b7160e01b600052603260045260246000fd5b60200260200101511015611c3857848181518110611bf257634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610c79929190918252602082015260400190565b6000611c6a878381518110611c5d57634e487b7160e01b600052603260045260246000fd5b6020026020010151610f48565b905080848381518110611c8d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101525080611ca3816122e2565b915050611b9a565b5090949350505050565b8051602082016020820281019150805b82811015611cfd57815b81811015611cf4578151815180821015611cea578084528183525b5050602001611ccf565b50602001611cc5565b50505050565b60006107768284612262565b600080808080611d20604187612262565b90506000611d3261187a602084612262565b803594509050611d43816003611d6b565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610776828461228e565b600061077682846122cb565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611dda573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008080611dfe604e87612262565b90506000611e2b611e24611e13602089612262565b611e1e886001612262565b90611d5f565b8390611d03565b90506000611e393683611d6b565b80359960209091013598509650505050505050565b600060208284031215611e5f578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610776578182fd5b60006020808385031215611e94578182fd5b823567ffffffffffffffff811115611eaa578283fd5b8301601f81018513611eba578283fd5b8035611ecd611ec88261223e565b61220d565b80828252848201915084840188868560051b8701011115611eec578687fd5b8694505b83851015611f0e578035835260019490940193918501918501611ef0565b50979650505050505050565b60006020808385031215611f2c578182fd5b825167ffffffffffffffff811115611f42578283fd5b8301601f81018513611f52578283fd5b8051611f60611ec88261223e565b80828252848201915084840188868560051b8701011115611f7f578687fd5b8694505b83851015611f0e578051835260019490940193918501918501611f83565b600060208284031215611fb2578081fd5b5035919050565b600060208284031215611fca578081fd5b5051919050565b6000815180845260208085019450808401835b8381101561200057815187529582019590820190600101611fe4565b509495945050505050565b60008151808452815b8181101561203057602081850181015186830182015201612014565b818111156120415782602083870101525b50601f01601f19169290920160200192915050565b600081516040845261206b604085018261200b565b602093840151949093019390935250919050565b6020808252825182820181905260009190848201906040850190845b818110156120b75783518352928401929184019160010161209b565b50909695505050505050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b82811015612135577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452612123858351612056565b945092850192908501906001016120e9565b5092979650505050505050565b6020815260006107766020830184611fd1565b6020815260006107766020830184612056565b6000602080835260608301845160408386015281815180845260808701915060808160051b88010193508483019250855b818110156121e5577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808886030183526121d385855161200b565b94509285019291850191600101612199565b5050505090840151838203601f19016040850152906122048183611fd1565b95945050505050565b604051601f8201601f1916810167ffffffffffffffff811182821017156122365761223661235b565b604052919050565b600067ffffffffffffffff8211156122585761225861235b565b5060051b60200190565b600082198211156122755761227561232f565b500190565b60008261228957612289612345565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156122c6576122c661232f565b500290565b6000828210156122dd576122dd61232f565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156123145761231461232f565b5060010190565b60008261232a5761232a612345565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220ab62b1fc64f5249181dc8d354631c3a50e92bafee421baa941ead63930b942b064736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleStorageProxy__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleStorageProxy__factory = SampleStorageProxy__factory; +SampleStorageProxy__factory.bytecode = _bytecode; +SampleStorageProxy__factory.abi = _abi; +//# sourceMappingURL=SampleStorageProxy__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js.map new file mode 100644 index 00000000..655d94df --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleStorageProxy__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleStorageProxy__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleStorageProxy__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,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AO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAAgC,CAAC;IACtE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAuB,CAAC;IACrD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAgC,CAAC;IAC9D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAgC,CAAC;IAClE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAuB,CAAC;IAC7E,CAAC;;AApCH,kEAqCC;AAXiB,oCAAQ,GAAG,SAAS,CAAC;AACrB,+BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts new file mode 100644 index 00000000..6634e4f4 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts @@ -0,0 +1,49 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { ERC20Initializable, ERC20InitializableInterface } from "../../../../contracts/samples/SampleSyntheticToken.sol/ERC20Initializable"; +declare type ERC20InitializableConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class ERC20Initializable__factory extends ContractFactory { + constructor(...args: ERC20InitializableConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): ERC20Initializable; + connect(signer: Signer): ERC20Initializable__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610b7d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610a24565b60405180910390f35b6100ff6100fa3660046109fb565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c0565b6102a8565b604051601281526020016100e3565b6100ff6101513660046109fb565b61039a565b61011361016436600461096d565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d66103de565b6100ff6101a23660046109fb565b6103ed565b6100ff6101b53660046109fb565b6104c7565b6101136101c836600461098e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610ac4565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b600061029f3384846104d4565b50600192915050565b60006102b5848484610687565b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020548281101561037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61038f853361038a8685610aad565b6104d4565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161029f91859061038a908690610a95565b60606004805461020f90610ac4565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156104ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610372565b6104bd338561038a8685610aad565b5060019392505050565b600061029f338484610687565b73ffffffffffffffffffffffffffffffffffffffff8316610576576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff8216610619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661072a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff82166107cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610372565b61088d8282610aad565b73ffffffffffffffffffffffffffffffffffffffff80861660009081526020819052604080822093909355908516815290812080548492906108d0908490610a95565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161093691815260200190565b60405180910390a350505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461096857600080fd5b919050565b60006020828403121561097e578081fd5b61098782610944565b9392505050565b600080604083850312156109a0578081fd5b6109a983610944565b91506109b760208401610944565b90509250929050565b6000806000606084860312156109d4578081fd5b6109dd84610944565b92506109eb60208501610944565b9150604084013590509250925092565b60008060408385031215610a0d578182fd5b610a1683610944565b946020939093013593505050565b6000602080835283518082850152825b81811015610a5057858101830151858201604001528201610a34565b81811115610a615783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115610aa857610aa8610b18565b500190565b600082821015610abf57610abf610b18565b500390565b600181811c90821680610ad857607f821691505b60208210811415610b12577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212200cbb24385fbf0ea54325dda281331b044f4e9e793ed6383946a0f4d61b1b79a764736f6c63430008040033"; + static readonly abi: ({ + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): ERC20InitializableInterface; + static connect(address: string, signerOrProvider: Signer | Provider): ERC20Initializable; +} +export {}; +//# sourceMappingURL=ERC20Initializable__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts.map new file mode 100644 index 00000000..cd381dce --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ERC20Initializable__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,2EAA2E,CAAC;AAsRnF,aAAK,mCAAmC,GACpC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,2BAA4B,SAAQ,eAAe;gBAClD,GAAG,IAAI,EAAE,mCAAmC;IAQ/C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,kBAAkB,CAAC;IAGrB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB;IAG3C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,2BAA2B;IAI7D,MAAM,CAAC,QAAQ,CAAC,QAAQ,k0LAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,2BAA2B;IAGrD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,kBAAkB;CAGtB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js new file mode 100644 index 00000000..92faa079 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js @@ -0,0 +1,313 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ERC20Initializable__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "owner", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "spender", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + name: "Approval", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "from", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "to", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + name: "Transfer", + type: "event", + }, + { + inputs: [ + { + internalType: "address", + name: "owner", + type: "address", + }, + { + internalType: "address", + name: "spender", + type: "address", + }, + ], + name: "allowance", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "approve", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "balanceOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "decimals", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "subtractedValue", + type: "uint256", + }, + ], + name: "decreaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "addedValue", + type: "uint256", + }, + ], + name: "increaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [], + name: "name", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "symbol", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "totalSupply", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transfer", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "sender", + type: "address", + }, + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transferFrom", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610b7d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610a24565b60405180910390f35b6100ff6100fa3660046109fb565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c0565b6102a8565b604051601281526020016100e3565b6100ff6101513660046109fb565b61039a565b61011361016436600461096d565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d66103de565b6100ff6101a23660046109fb565b6103ed565b6100ff6101b53660046109fb565b6104c7565b6101136101c836600461098e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610ac4565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b600061029f3384846104d4565b50600192915050565b60006102b5848484610687565b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020548281101561037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61038f853361038a8685610aad565b6104d4565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161029f91859061038a908690610a95565b60606004805461020f90610ac4565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156104ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610372565b6104bd338561038a8685610aad565b5060019392505050565b600061029f338484610687565b73ffffffffffffffffffffffffffffffffffffffff8316610576576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff8216610619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661072a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff82166107cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610372565b61088d8282610aad565b73ffffffffffffffffffffffffffffffffffffffff80861660009081526020819052604080822093909355908516815290812080548492906108d0908490610a95565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161093691815260200190565b60405180910390a350505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461096857600080fd5b919050565b60006020828403121561097e578081fd5b61098782610944565b9392505050565b600080604083850312156109a0578081fd5b6109a983610944565b91506109b760208401610944565b90509250929050565b6000806000606084860312156109d4578081fd5b6109dd84610944565b92506109eb60208501610944565b9150604084013590509250925092565b60008060408385031215610a0d578182fd5b610a1683610944565b946020939093013593505050565b6000602080835283518082850152825b81811015610a5057858101830151858201604001528201610a34565b81811115610a615783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115610aa857610aa8610b18565b500190565b600082821015610abf57610abf610b18565b500390565b600181811c90821680610ad857607f821691505b60208210811415610b12577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212200cbb24385fbf0ea54325dda281331b044f4e9e793ed6383946a0f4d61b1b79a764736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class ERC20Initializable__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.ERC20Initializable__factory = ERC20Initializable__factory; +ERC20Initializable__factory.bytecode = _bytecode; +ERC20Initializable__factory.abi = _abi; +//# sourceMappingURL=ERC20Initializable__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js.map new file mode 100644 index 00000000..7dafdcf6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ERC20Initializable__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;I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AG,IAAyC;QACtD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAAgC,CAAC;IACtE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAuB,CAAC;IACrD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAgC,CAAC;IAC9D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAgC,CAAC;IAClE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAuB,CAAC;IAC7E,CAAC;;AApCH,kEAqCC;AAXiB,oCAAQ,GAAG,SAAS,CAAC;AACrB,+BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts new file mode 100644 index 00000000..9f238640 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts @@ -0,0 +1,60 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { SampleSyntheticToken, SampleSyntheticTokenInterface } from "../../../../contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken"; +declare type SampleSyntheticTokenConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleSyntheticToken__factory extends ContractFactory { + constructor(...args: SampleSyntheticTokenConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleSyntheticToken; + connect(signer: Signer): SampleSyntheticToken__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b610071565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612e6980620000816000396000f3fe6080604052600436106102dc5760003560e01c80639b6c56ec11610184578063d22158fa116100d6578063f2fde38b1161008a578063f7960c1711610064578063f7960c1714610838578063f90c49241461086c578063fd8081101461088057600080fd5b8063f2fde38b146107c4578063f50b2efe146107e4578063f5f1f1a71461080457600080fd5b8063d4c3eea0116100bb578063d4c3eea014610749578063dd62ed3e1461075e578063f0f2d4ec146107a457600080fd5b8063d22158fa146106f3578063d283e75f1461071357600080fd5b8063a9059cbb11610138578063b7bda3ac11610112578063b7bda3ac146106a7578063bcbaf487146106bd578063cfbe83f4146106dd57600080fd5b8063a9059cbb14610647578063abff011014610667578063b24ebfcc1461068757600080fd5b8063a0712d6811610169578063a0712d68146105e7578063a457c2d7146105fa578063a5fdc5de1461061a57600080fd5b80639b6c56ec146105b25780639e816999146105df57600080fd5b8063395093511161023d57806370a08231116101f15780638da5cb5b116101cb5780638da5cb5b1461054b57806395262d9f1461057d57806395d89b411461059d57600080fd5b806370a08231146104e0578063715018a614610516578063812eb8b21461052b57600080fd5b80633ce142f5116102225780633ce142f51461048057806342966c68146104a0578063429989f0146104c057600080fd5b806339509351146104405780633a65a3501461046057600080fd5b80632f573910116102945780633237c158116102795780633237c158146103f35780633574d4c41461041557806338d52e0f1461042a57600080fd5b80632f573910146103b1578063313ce567146103d157600080fd5b806318160ddd116102c557806318160ddd1461033c5780631aefb1071461035b57806323b872dd1461039157600080fd5b806306fdde03146102e1578063095ea7b31461030c575b600080fd5b3480156102ed57600080fd5b506102f66108a0565b6040516103039190612c6b565b60405180910390f35b34801561031857600080fd5b5061032c610327366004612af8565b610932565b6040519015158152602001610303565b34801561034857600080fd5b506002545b604051908152602001610303565b34801561036757600080fd5b5061034d610376366004612a71565b6001600160a01b031660009081526008602052604090205490565b34801561039d57600080fd5b5061032c6103ac366004612abd565b610948565b3480156103bd57600080fd5b5061034d6103cc366004612a71565b610a13565b3480156103dd57600080fd5b5060125b60405160ff9091168152602001610303565b3480156103ff57600080fd5b5061041361040e366004612c53565b610a49565b005b34801561042157600080fd5b5061034d603281565b34801561043657600080fd5b5061034d60065481565b34801561044c57600080fd5b5061032c61045b366004612af8565b610bbc565b34801561046c57600080fd5b5061034d61047b366004612a71565b610bf3565b34801561048c57600080fd5b506103e161049b366004612a71565b610c42565b3480156104ac57600080fd5b506104136104bb366004612c53565b610c4d565b3480156104cc57600080fd5b506103e16104db366004612a71565b610cdb565b3480156104ec57600080fd5b5061034d6104fb366004612a71565b6001600160a01b031660009081526020819052604090205490565b34801561052257600080fd5b506104136110a3565b34801561053757600080fd5b50610413610546366004612be9565b6110b7565b34801561055757600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610303565b34801561058957600080fd5b506103e1610598366004612a71565b61112f565b3480156105a957600080fd5b506102f661113a565b3480156105be57600080fd5b5061034d6105cd366004612a71565b60096020526000908152604090205481565b610413611149565b6104136105f5366004612c53565b6111ad565b34801561060657600080fd5b5061032c610615366004612af8565b6111f0565b34801561062657600080fd5b5061034d610635366004612a71565b60086020526000908152604090205481565b34801561065357600080fd5b5061032c610662366004612af8565b6112a3565b34801561067357600080fd5b50600754610565906001600160a01b031681565b34801561069357600080fd5b5061034d6106a2366004612b21565b6112b0565b3480156106b357600080fd5b5061034d6103e881565b3480156106c957600080fd5b506104136106d8366004612af8565b6112bb565b3480156106e957600080fd5b5061034d6104b081565b3480156106ff57600080fd5b506103e161070e366004612a71565b61156d565b34801561071f57600080fd5b5061034d61072e366004612a71565b6001600160a01b031660009081526009602052604090205490565b34801561075557600080fd5b5061034d6115da565b34801561076a57600080fd5b5061034d610779366004612a8b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107b057600080fd5b5061034d6107bf366004612a71565b6115f9565b3480156107d057600080fd5b506104136107df366004612a71565b611624565b3480156107f057600080fd5b506104136107ff366004612c53565b6116b1565b34801561081057600080fd5b5061034d7f455448000000000000000000000000000000000000000000000000000000000081565b34801561084457600080fd5b5061034d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b34801561087857600080fd5b50600a6103e1565b34801561088c57600080fd5b5061034d61089b366004612a71565b6116f1565b6060600380546108af90612d6f565b80601f01602080910402602001604051908101604052809291908181526020018280546108db90612d6f565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b5050505050905090565b600061093f338484611750565b50600192915050565b60006109558484846118a9565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610a088533610a038685612d58565b611750565b506001949350505050565b6000610a20600654611aca565b6001600160a01b038316600090815260096020526040902054610a439190612d1b565b92915050565b33600090815260086020526040902054811115610ace5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742072656d6f7665206d6f726520636f6c6c61746572616c20746860448201527f616e206465706f7369746564000000000000000000000000000000000000000060648201526084016109eb565b3360009081526008602052604081208054839290610aed908490612d58565b9091555050604051339082156108fc029083906000818181858888f19350505050158015610b1f573d6000803e3d6000fd5b506040805133815260208101839052428183015290517f47e1336b6fdb5f42c3a1d28b558fa98786d820c3705d726358dcc8e63a401eef9181900360600190a16104b0610b6b336116f1565b1015610bb95760405162461bcd60e51b815260206004820152601f60248201527f546865206163636f756e74206d7573742072656d61696e20736f6c76656e740060448201526064016109eb565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161093f918590610a03908690612cef565b6000610c1e7f4554480000000000000000000000000000000000000000000000000000000000611aca565b6001600160a01b0383166000908152600860205260409020545b610a439190612d1b565b6000610a438261112f565b33600090815260096020526040902054811115610cac5760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206275726e206d6f7265207468616e206d696e7465640000000060448201526064016109eb565b3360009081526009602052604081208054839290610ccb908490612d58565b90915550610bb990503382611b56565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb922666001600160a01b0383161415610d0a57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c86001600160a01b0383161415610d3757506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc6001600160a01b0383161415610d6457506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b9066001600160a01b0383161415610d9157506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a656001600160a01b0383161415610dbe57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc6001600160a01b0383161415610deb57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa96001600160a01b0383161415610e1857506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d99556001600160a01b0383161415610e4557506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f6001600160a01b0383161415610e7257506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a797206001600160a01b0383161415610e9f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b9540966001600160a01b0383161415610ecc5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c57886001600160a01b0383161415610ef95750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a6001600160a01b0383161415610f265750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec6001600160a01b0383161415610f535750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c70976001600160a01b0383161415610f805750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce716001600160a01b0383161415610fad5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec306001600160a01b0383161415610fda57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e6001600160a01b038316141561100757506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c06001600160a01b038316141561103457506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c11996001600160a01b038316141561106157506013919050565b6040517fec459bc00000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109eb565b919050565b6110ab611cdc565b6110b56000611d36565b565b60055474010000000000000000000000000000000000000000900460ff16156110df57600080fd5b6110e98282611da0565b5050600655600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6000610a438261156d565b6060600480546108af90612d6f565b3360009081526008602052604081208054349290611168908490612cef565b909155505060408051338152346020820152428183015290517f11f8990ac38271f23dea447d5728e9914fca7cea2edda43af6c43c415f8bc30b9181900360600190a1565b6111b73382611dcc565b33600090815260096020526040812080548392906111d6908490612cef565b909155506111e49050611149565b6104b0610b6b336116f1565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561128a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109eb565b6112993385610a038685612d58565b5060019392505050565b600061093f3384846118a9565b6000610a4382611eab565b6104b06112c7836116f1565b1061133a5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206c6971756964617465206120736f6c76656e74206163636f7560448201527f6e7400000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03831660248201526044810182905230906323b872dd90606401602060405180830381600087803b1580156113a157600080fd5b505af11580156113b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d99190612bc9565b506113e48282611b56565b6001600160a01b0382166000908152600960205260408120805483929061140c908490612d58565b909155506000905061143d7f4554480000000000000000000000000000000000000000000000000000000000611aca565b611448600654611aca565b6114529084612d1b565b61145c9190612d07565b905060006103e861146e603284612d1b565b6114789190612d07565b905060006114868284612cef565b6001600160a01b0386166000908152600860205260408120805492935083929091906114b3908490612d58565b9091555050604051339082156108fc029083906000818181858888f193505050501580156114e5573d6000803e3d6000fd5b506104b06114f2866116f1565b10156115665760405162461bcd60e51b815260206004820152602960248201527f4163636f756e74206d75737420626520736f6c76656e74206166746572206c6960448201527f717569646174696f6e000000000000000000000000000000000000000000000060648201526084016109eb565b5050505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c11996001600160a01b03831614156115d1576040517fec459bc00000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109eb565b610a4382610cdb565b60006115e7600654611aca565b6002546115f49190612d1b565b905090565b6000611606600654611aca565b6001600160a01b038316600090815260208190526040902054610c38565b61162c611cdc565b6001600160a01b0381166116a85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109eb565b610bb981611d36565b6501812f2590c0811015610bb9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116fc82610a13565b61172757507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff919050565b61173082610a13565b6103e861173c84610bf3565b6117469190612d1b565b610a439190612d07565b6001600160a01b0383166117cb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b0382166118475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119255760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b0382166119a15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b03831660009081526020819052604090205481811015611a305760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109eb565b611a3a8282612d58565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611a70908490612cef565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611abc91815260200190565b60405180910390a350505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110611b1157634e487b7160e01b600052603260045260246000fd5b602002602001018181525050611b2681611eb6565b600081518110611b4657634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6001600160a01b038216611bd25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b03821660009081526020819052604090205481811015611c615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b611c6b8282612d58565b6001600160a01b03841660009081526020819052604081209190915560028054849290611c99908490612d58565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161189c565b6005546001600160a01b031633146110b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109eb565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8151611db3906003906020850190612956565b508051611dc7906004906020840190612956565b505050565b6001600160a01b038216611e225760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109eb565b8060026000828254611e349190612cef565b90915550506001600160a01b03821660009081526020819052604081208054839290611e61908490612cef565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000610a4382611ec1565b6060610a4382611fcb565b6000815160001415611eff576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f08826121ca565b600060028351611f189190612d07565b905060028351611f289190612ddd565b611fa5576000611f9084611f3d600185612d58565b81518110611f5b57634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110611f8357634e487b7160e01b600052603260045260246000fd5b6020026020010151612218565b9050611f9d600282612d07565b949350505050565b828181518110611b4657634e487b7160e01b600052603260045260246000fd5b50919050565b60606000825167ffffffffffffffff811115611ff757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612020578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561204d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612076578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156120a357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156120d657816020015b60608152602001906001900390816120c15790505b50905060005b85518110156121445760408051600a80825261016082019092529060208201610140803683370190505082828151811061212657634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061213c90612da4565b9150506120dc565b50600061214f61222b565b9050600061215c8261233b565b61ffff16905061216d600283612cef565b60405190925060005b828110156121b357600061218d8a8989898961238e565b90506121998186612cef565b9450826040525080806121ab90612da4565b915050612176565b506121be848761269f565b98975050505050505050565b8051602082016020820281019150805b8281101561221257815b818110156122095781518151808210156121ff578084528183525b50506020016121e4565b506020016121da565b50505050565b60006122248284612cef565b9392505050565b60006602ed57011e0000601f1936013581161480612275576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600036602911156122b2576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096122eb600362ffffff8516612cef565b6122f59190612cef565b905036612303600283612cef565b1115612224576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612349602084612cef565b905036811115612385576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061239d85612817565b909250905060008080606081600d6123c06123b9602089612cef565b8990612867565b6123ca9190612cef565b905060006123e36123dc60688d612cef565b3690612873565b90506000612400836123f660418f612cef565b6123dc9190612cef565b905061240c838261241f565b9350826020850120945081359650612443565b60408051838152602081850181019092526000910183838237601f19019392505050565b6124548765ffffffffffff166116b1565b6124688561246360418f612cef565b61287f565b955061247386610c42565b60ff1699505050505050505060008060005b8481101561266c576124988885836128f7565b909350915060005b8c51811015612659578c81815181106124c957634e487b7160e01b600052603260045260246000fd5b60200260200101518414156126475760008b82815181106124fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151905061251381896001901b16151590565b15801561254a5750600a60ff168d838151811061254057634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15612641578c828151811061256f57634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061258490612da4565b81525050838b83815181106125a957634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106125d357634e487b7160e01b600052603260045260246000fd5b60200260200101516125e59190612d58565b8151811061260357634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061263457634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50612659565b8061265181612da4565b9150506124a0565b508061266481612da4565b915050612485565b5050508160208261267d9190612cef565b6126879190612d1b565b61269290604e612cef565b9998505050505050505050565b60606000835167ffffffffffffffff8111156126cb57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156126f4578160200160208202803683370190505b509050600a60005b855181101561280d578185828151811061272657634e487b7160e01b600052603260045260246000fd5b6020026020010151101561279a5784818151811061275457634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016109eb929190918252602082015260400190565b60006127cc8783815181106127bf57634e487b7160e01b600052603260045260246000fd5b60200260200101516112b0565b9050808483815181106127ef57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061280581612da4565b9150506126fc565b5090949350505050565b600080808080612828604187612cef565b9050600061283a6123dc602084612cef565b80359450905061284b816003612873565b62ffffff9490941697933563ffffffff16965092945050505050565b60006122248284612d1b565b60006122248284612d58565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156128e2573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008080612906604e87612cef565b9050600061293361292c61291b602089612cef565b612926886001612cef565b90612867565b8390612218565b905060006129413683612873565b80359960209091013598509650505050505050565b82805461296290612d6f565b90600052602060002090601f01602090048101928261298457600085556129ca565b82601f1061299d57805160ff19168380011785556129ca565b828001600101855582156129ca579182015b828111156129ca5782518255916020019190600101906129af565b506129d69291506129da565b5090565b5b808211156129d657600081556001016129db565b80356001600160a01b038116811461109e57600080fd5b600082601f830112612a16578081fd5b813567ffffffffffffffff811115612a3057612a30612e1d565b612a436020601f19601f84011601612cbe565b818152846020838601011115612a57578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612a82578081fd5b612224826129ef565b60008060408385031215612a9d578081fd5b612aa6836129ef565b9150612ab4602084016129ef565b90509250929050565b600080600060608486031215612ad1578081fd5b612ada846129ef565b9250612ae8602085016129ef565b9150604084013590509250925092565b60008060408385031215612b0a578182fd5b612b13836129ef565b946020939093013593505050565b60006020808385031215612b33578182fd5b823567ffffffffffffffff80821115612b4a578384fd5b818501915085601f830112612b5d578384fd5b813581811115612b6f57612b6f612e1d565b8060051b9150612b80848301612cbe565b8181528481019084860184860187018a1015612b9a578788fd5b8795505b83861015612bbc578035835260019590950194918601918601612b9e565b5098975050505050505050565b600060208284031215612bda578081fd5b81518015158114612224578182fd5b600080600060608486031215612bfd578283fd5b83359250602084013567ffffffffffffffff80821115612c1b578384fd5b612c2787838801612a06565b93506040860135915080821115612c3c578283fd5b50612c4986828701612a06565b9150509250925092565b600060208284031215612c64578081fd5b5035919050565b6000602080835283518082850152825b81811015612c9757858101830151858201604001528201612c7b565b81811115612ca85783604083870101525b50601f01601f1916929092016040019392505050565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ce757612ce7612e1d565b604052919050565b60008219821115612d0257612d02612df1565b500190565b600082612d1657612d16612e07565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d5357612d53612df1565b500290565b600082821015612d6a57612d6a612df1565b500390565b600181811c90821680612d8357607f821691505b60208210811415611fc557634e487b7160e01b600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612dd657612dd6612df1565b5060010190565b600082612dec57612dec612e07565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122071a1908ba901b1136d635d27c82229bf7de39eebe3610cacfdfff00cae9910a664736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + anonymous?: undefined; + outputs?: undefined; + stateMutability?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): SampleSyntheticTokenInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleSyntheticToken; +} +export {}; +//# sourceMappingURL=SampleSyntheticToken__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts.map new file mode 100644 index 00000000..cef145db --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleSyntheticToken__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC9B,MAAM,6EAA6E,CAAC;AA+4BrF,aAAK,qCAAqC,GACtC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,6BAA8B,SAAQ,eAAe;gBACpD,GAAG,IAAI,EAAE,qCAAqC;IAQjD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,oBAAoB,CAAC;IAGvB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB;IAG7C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,6BAA6B;IAI/D,MAAM,CAAC,QAAQ,CAAC,QAAQ,49uBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,6BAA6B;IAGvD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,oBAAoB;CAOxB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js new file mode 100644 index 00000000..b1eaf1ad --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js @@ -0,0 +1,946 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleSyntheticToken__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + 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: false, + internalType: "address", + name: "account", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "val", + type: "uint256", + }, + { + indexed: false, + internalType: "uint256", + name: "time", + type: "uint256", + }, + ], + name: "CollateralAdded", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "account", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "val", + type: "uint256", + }, + { + indexed: false, + internalType: "uint256", + name: "time", + type: "uint256", + }, + ], + name: "CollateralRemoved", + 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: "from", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "to", + type: "address", + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + name: "Transfer", + type: "event", + }, + { + inputs: [], + name: "COLLATERAL_TOKEN", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "LIQUIDATION_BONUS", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "MAX_SOLVENCY", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "MIN_SOLVENCY", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "SOLVENCY_PRECISION", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "addCollateral", + outputs: [], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "owner", + type: "address", + }, + { + internalType: "address", + name: "spender", + type: "address", + }, + ], + name: "allowance", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "approve", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [], + name: "asset", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "view", + 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", + }, + ], + name: "balanceValueOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "broker", + outputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "burn", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + name: "collateral", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "collateralOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "collateralValueOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + name: "debt", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "debtOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "debtValueOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "decimals", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "subtractedValue", + type: "uint256", + }, + ], + name: "decreaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address", + }, + { + internalType: "uint256", + name: "addedValue", + type: "uint256", + }, + ], + name: "increaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "asset_", + type: "bytes32", + }, + { + internalType: "string", + name: "name_", + type: "string", + }, + { + internalType: "string", + name: "symbol_", + type: "string", + }, + ], + name: "initialize", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "liquidate", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "mint", + outputs: [], + stateMutability: "payable", + 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: "amount", + type: "uint256", + }, + ], + name: "removeCollateral", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [], + name: "renounceOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "solvencyOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "symbol", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "totalSupply", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "totalValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transfer", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "sender", + type: "address", + }, + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint256", + name: "amount", + type: "uint256", + }, + ], + name: "transferFrom", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "newOwner", + type: "address", + }, + ], + name: "transferOwnership", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b610071565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612e6980620000816000396000f3fe6080604052600436106102dc5760003560e01c80639b6c56ec11610184578063d22158fa116100d6578063f2fde38b1161008a578063f7960c1711610064578063f7960c1714610838578063f90c49241461086c578063fd8081101461088057600080fd5b8063f2fde38b146107c4578063f50b2efe146107e4578063f5f1f1a71461080457600080fd5b8063d4c3eea0116100bb578063d4c3eea014610749578063dd62ed3e1461075e578063f0f2d4ec146107a457600080fd5b8063d22158fa146106f3578063d283e75f1461071357600080fd5b8063a9059cbb11610138578063b7bda3ac11610112578063b7bda3ac146106a7578063bcbaf487146106bd578063cfbe83f4146106dd57600080fd5b8063a9059cbb14610647578063abff011014610667578063b24ebfcc1461068757600080fd5b8063a0712d6811610169578063a0712d68146105e7578063a457c2d7146105fa578063a5fdc5de1461061a57600080fd5b80639b6c56ec146105b25780639e816999146105df57600080fd5b8063395093511161023d57806370a08231116101f15780638da5cb5b116101cb5780638da5cb5b1461054b57806395262d9f1461057d57806395d89b411461059d57600080fd5b806370a08231146104e0578063715018a614610516578063812eb8b21461052b57600080fd5b80633ce142f5116102225780633ce142f51461048057806342966c68146104a0578063429989f0146104c057600080fd5b806339509351146104405780633a65a3501461046057600080fd5b80632f573910116102945780633237c158116102795780633237c158146103f35780633574d4c41461041557806338d52e0f1461042a57600080fd5b80632f573910146103b1578063313ce567146103d157600080fd5b806318160ddd116102c557806318160ddd1461033c5780631aefb1071461035b57806323b872dd1461039157600080fd5b806306fdde03146102e1578063095ea7b31461030c575b600080fd5b3480156102ed57600080fd5b506102f66108a0565b6040516103039190612c6b565b60405180910390f35b34801561031857600080fd5b5061032c610327366004612af8565b610932565b6040519015158152602001610303565b34801561034857600080fd5b506002545b604051908152602001610303565b34801561036757600080fd5b5061034d610376366004612a71565b6001600160a01b031660009081526008602052604090205490565b34801561039d57600080fd5b5061032c6103ac366004612abd565b610948565b3480156103bd57600080fd5b5061034d6103cc366004612a71565b610a13565b3480156103dd57600080fd5b5060125b60405160ff9091168152602001610303565b3480156103ff57600080fd5b5061041361040e366004612c53565b610a49565b005b34801561042157600080fd5b5061034d603281565b34801561043657600080fd5b5061034d60065481565b34801561044c57600080fd5b5061032c61045b366004612af8565b610bbc565b34801561046c57600080fd5b5061034d61047b366004612a71565b610bf3565b34801561048c57600080fd5b506103e161049b366004612a71565b610c42565b3480156104ac57600080fd5b506104136104bb366004612c53565b610c4d565b3480156104cc57600080fd5b506103e16104db366004612a71565b610cdb565b3480156104ec57600080fd5b5061034d6104fb366004612a71565b6001600160a01b031660009081526020819052604090205490565b34801561052257600080fd5b506104136110a3565b34801561053757600080fd5b50610413610546366004612be9565b6110b7565b34801561055757600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610303565b34801561058957600080fd5b506103e1610598366004612a71565b61112f565b3480156105a957600080fd5b506102f661113a565b3480156105be57600080fd5b5061034d6105cd366004612a71565b60096020526000908152604090205481565b610413611149565b6104136105f5366004612c53565b6111ad565b34801561060657600080fd5b5061032c610615366004612af8565b6111f0565b34801561062657600080fd5b5061034d610635366004612a71565b60086020526000908152604090205481565b34801561065357600080fd5b5061032c610662366004612af8565b6112a3565b34801561067357600080fd5b50600754610565906001600160a01b031681565b34801561069357600080fd5b5061034d6106a2366004612b21565b6112b0565b3480156106b357600080fd5b5061034d6103e881565b3480156106c957600080fd5b506104136106d8366004612af8565b6112bb565b3480156106e957600080fd5b5061034d6104b081565b3480156106ff57600080fd5b506103e161070e366004612a71565b61156d565b34801561071f57600080fd5b5061034d61072e366004612a71565b6001600160a01b031660009081526009602052604090205490565b34801561075557600080fd5b5061034d6115da565b34801561076a57600080fd5b5061034d610779366004612a8b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107b057600080fd5b5061034d6107bf366004612a71565b6115f9565b3480156107d057600080fd5b506104136107df366004612a71565b611624565b3480156107f057600080fd5b506104136107ff366004612c53565b6116b1565b34801561081057600080fd5b5061034d7f455448000000000000000000000000000000000000000000000000000000000081565b34801561084457600080fd5b5061034d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b34801561087857600080fd5b50600a6103e1565b34801561088c57600080fd5b5061034d61089b366004612a71565b6116f1565b6060600380546108af90612d6f565b80601f01602080910402602001604051908101604052809291908181526020018280546108db90612d6f565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b5050505050905090565b600061093f338484611750565b50600192915050565b60006109558484846118a9565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109f45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610a088533610a038685612d58565b611750565b506001949350505050565b6000610a20600654611aca565b6001600160a01b038316600090815260096020526040902054610a439190612d1b565b92915050565b33600090815260086020526040902054811115610ace5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742072656d6f7665206d6f726520636f6c6c61746572616c20746860448201527f616e206465706f7369746564000000000000000000000000000000000000000060648201526084016109eb565b3360009081526008602052604081208054839290610aed908490612d58565b9091555050604051339082156108fc029083906000818181858888f19350505050158015610b1f573d6000803e3d6000fd5b506040805133815260208101839052428183015290517f47e1336b6fdb5f42c3a1d28b558fa98786d820c3705d726358dcc8e63a401eef9181900360600190a16104b0610b6b336116f1565b1015610bb95760405162461bcd60e51b815260206004820152601f60248201527f546865206163636f756e74206d7573742072656d61696e20736f6c76656e740060448201526064016109eb565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161093f918590610a03908690612cef565b6000610c1e7f4554480000000000000000000000000000000000000000000000000000000000611aca565b6001600160a01b0383166000908152600860205260409020545b610a439190612d1b565b6000610a438261112f565b33600090815260096020526040902054811115610cac5760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206275726e206d6f7265207468616e206d696e7465640000000060448201526064016109eb565b3360009081526009602052604081208054839290610ccb908490612d58565b90915550610bb990503382611b56565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb922666001600160a01b0383161415610d0a57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c86001600160a01b0383161415610d3757506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc6001600160a01b0383161415610d6457506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b9066001600160a01b0383161415610d9157506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a656001600160a01b0383161415610dbe57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc6001600160a01b0383161415610deb57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa96001600160a01b0383161415610e1857506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d99556001600160a01b0383161415610e4557506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f6001600160a01b0383161415610e7257506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a797206001600160a01b0383161415610e9f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b9540966001600160a01b0383161415610ecc5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c57886001600160a01b0383161415610ef95750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a6001600160a01b0383161415610f265750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec6001600160a01b0383161415610f535750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c70976001600160a01b0383161415610f805750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce716001600160a01b0383161415610fad5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec306001600160a01b0383161415610fda57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e6001600160a01b038316141561100757506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c06001600160a01b038316141561103457506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c11996001600160a01b038316141561106157506013919050565b6040517fec459bc00000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109eb565b919050565b6110ab611cdc565b6110b56000611d36565b565b60055474010000000000000000000000000000000000000000900460ff16156110df57600080fd5b6110e98282611da0565b5050600655600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6000610a438261156d565b6060600480546108af90612d6f565b3360009081526008602052604081208054349290611168908490612cef565b909155505060408051338152346020820152428183015290517f11f8990ac38271f23dea447d5728e9914fca7cea2edda43af6c43c415f8bc30b9181900360600190a1565b6111b73382611dcc565b33600090815260096020526040812080548392906111d6908490612cef565b909155506111e49050611149565b6104b0610b6b336116f1565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561128a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109eb565b6112993385610a038685612d58565b5060019392505050565b600061093f3384846118a9565b6000610a4382611eab565b6104b06112c7836116f1565b1061133a5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206c6971756964617465206120736f6c76656e74206163636f7560448201527f6e7400000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03831660248201526044810182905230906323b872dd90606401602060405180830381600087803b1580156113a157600080fd5b505af11580156113b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d99190612bc9565b506113e48282611b56565b6001600160a01b0382166000908152600960205260408120805483929061140c908490612d58565b909155506000905061143d7f4554480000000000000000000000000000000000000000000000000000000000611aca565b611448600654611aca565b6114529084612d1b565b61145c9190612d07565b905060006103e861146e603284612d1b565b6114789190612d07565b905060006114868284612cef565b6001600160a01b0386166000908152600860205260408120805492935083929091906114b3908490612d58565b9091555050604051339082156108fc029083906000818181858888f193505050501580156114e5573d6000803e3d6000fd5b506104b06114f2866116f1565b10156115665760405162461bcd60e51b815260206004820152602960248201527f4163636f756e74206d75737420626520736f6c76656e74206166746572206c6960448201527f717569646174696f6e000000000000000000000000000000000000000000000060648201526084016109eb565b5050505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c11996001600160a01b03831614156115d1576040517fec459bc00000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016109eb565b610a4382610cdb565b60006115e7600654611aca565b6002546115f49190612d1b565b905090565b6000611606600654611aca565b6001600160a01b038316600090815260208190526040902054610c38565b61162c611cdc565b6001600160a01b0381166116a85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109eb565b610bb981611d36565b6501812f2590c0811015610bb9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116fc82610a13565b61172757507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff919050565b61173082610a13565b6103e861173c84610bf3565b6117469190612d1b565b610a439190612d07565b6001600160a01b0383166117cb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b0382166118475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119255760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b0382166119a15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b03831660009081526020819052604090205481811015611a305760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109eb565b611a3a8282612d58565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611a70908490612cef565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611abc91815260200190565b60405180910390a350505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110611b1157634e487b7160e01b600052603260045260246000fd5b602002602001018181525050611b2681611eb6565b600081518110611b4657634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b6001600160a01b038216611bd25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b6001600160a01b03821660009081526020819052604090205481811015611c615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016109eb565b611c6b8282612d58565b6001600160a01b03841660009081526020819052604081209190915560028054849290611c99908490612d58565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161189c565b6005546001600160a01b031633146110b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109eb565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8151611db3906003906020850190612956565b508051611dc7906004906020840190612956565b505050565b6001600160a01b038216611e225760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109eb565b8060026000828254611e349190612cef565b90915550506001600160a01b03821660009081526020819052604081208054839290611e61908490612cef565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000610a4382611ec1565b6060610a4382611fcb565b6000815160001415611eff576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f08826121ca565b600060028351611f189190612d07565b905060028351611f289190612ddd565b611fa5576000611f9084611f3d600185612d58565b81518110611f5b57634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110611f8357634e487b7160e01b600052603260045260246000fd5b6020026020010151612218565b9050611f9d600282612d07565b949350505050565b828181518110611b4657634e487b7160e01b600052603260045260246000fd5b50919050565b60606000825167ffffffffffffffff811115611ff757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612020578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561204d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612076578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156120a357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156120d657816020015b60608152602001906001900390816120c15790505b50905060005b85518110156121445760408051600a80825261016082019092529060208201610140803683370190505082828151811061212657634e487b7160e01b600052603260045260246000fd5b6020026020010181905250808061213c90612da4565b9150506120dc565b50600061214f61222b565b9050600061215c8261233b565b61ffff16905061216d600283612cef565b60405190925060005b828110156121b357600061218d8a8989898961238e565b90506121998186612cef565b9450826040525080806121ab90612da4565b915050612176565b506121be848761269f565b98975050505050505050565b8051602082016020820281019150805b8281101561221257815b818110156122095781518151808210156121ff578084528183525b50506020016121e4565b506020016121da565b50505050565b60006122248284612cef565b9392505050565b60006602ed57011e0000601f1936013581161480612275576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600036602911156122b2576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096122eb600362ffffff8516612cef565b6122f59190612cef565b905036612303600283612cef565b1115612224576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612349602084612cef565b905036811115612385576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061239d85612817565b909250905060008080606081600d6123c06123b9602089612cef565b8990612867565b6123ca9190612cef565b905060006123e36123dc60688d612cef565b3690612873565b90506000612400836123f660418f612cef565b6123dc9190612cef565b905061240c838261241f565b9350826020850120945081359650612443565b60408051838152602081850181019092526000910183838237601f19019392505050565b6124548765ffffffffffff166116b1565b6124688561246360418f612cef565b61287f565b955061247386610c42565b60ff1699505050505050505060008060005b8481101561266c576124988885836128f7565b909350915060005b8c51811015612659578c81815181106124c957634e487b7160e01b600052603260045260246000fd5b60200260200101518414156126475760008b82815181106124fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151905061251381896001901b16151590565b15801561254a5750600a60ff168d838151811061254057634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15612641578c828151811061256f57634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061258490612da4565b81525050838b83815181106125a957634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106125d357634e487b7160e01b600052603260045260246000fd5b60200260200101516125e59190612d58565b8151811061260357634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061263457634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50612659565b8061265181612da4565b9150506124a0565b508061266481612da4565b915050612485565b5050508160208261267d9190612cef565b6126879190612d1b565b61269290604e612cef565b9998505050505050505050565b60606000835167ffffffffffffffff8111156126cb57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156126f4578160200160208202803683370190505b509050600a60005b855181101561280d578185828151811061272657634e487b7160e01b600052603260045260246000fd5b6020026020010151101561279a5784818151811061275457634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016109eb929190918252602082015260400190565b60006127cc8783815181106127bf57634e487b7160e01b600052603260045260246000fd5b60200260200101516112b0565b9050808483815181106127ef57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061280581612da4565b9150506126fc565b5090949350505050565b600080808080612828604187612cef565b9050600061283a6123dc602084612cef565b80359450905061284b816003612873565b62ffffff9490941697933563ffffffff16965092945050505050565b60006122248284612d1b565b60006122248284612d58565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156128e2573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008080612906604e87612cef565b9050600061293361292c61291b602089612cef565b612926886001612cef565b90612867565b8390612218565b905060006129413683612873565b80359960209091013598509650505050505050565b82805461296290612d6f565b90600052602060002090601f01602090048101928261298457600085556129ca565b82601f1061299d57805160ff19168380011785556129ca565b828001600101855582156129ca579182015b828111156129ca5782518255916020019190600101906129af565b506129d69291506129da565b5090565b5b808211156129d657600081556001016129db565b80356001600160a01b038116811461109e57600080fd5b600082601f830112612a16578081fd5b813567ffffffffffffffff811115612a3057612a30612e1d565b612a436020601f19601f84011601612cbe565b818152846020838601011115612a57578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612a82578081fd5b612224826129ef565b60008060408385031215612a9d578081fd5b612aa6836129ef565b9150612ab4602084016129ef565b90509250929050565b600080600060608486031215612ad1578081fd5b612ada846129ef565b9250612ae8602085016129ef565b9150604084013590509250925092565b60008060408385031215612b0a578182fd5b612b13836129ef565b946020939093013593505050565b60006020808385031215612b33578182fd5b823567ffffffffffffffff80821115612b4a578384fd5b818501915085601f830112612b5d578384fd5b813581811115612b6f57612b6f612e1d565b8060051b9150612b80848301612cbe565b8181528481019084860184860187018a1015612b9a578788fd5b8795505b83861015612bbc578035835260019590950194918601918601612b9e565b5098975050505050505050565b600060208284031215612bda578081fd5b81518015158114612224578182fd5b600080600060608486031215612bfd578283fd5b83359250602084013567ffffffffffffffff80821115612c1b578384fd5b612c2787838801612a06565b93506040860135915080821115612c3c578283fd5b50612c4986828701612a06565b9150509250925092565b600060208284031215612c64578081fd5b5035919050565b6000602080835283518082850152825b81811015612c9757858101830151858201604001528201612c7b565b81811115612ca85783604083870101525b50601f01601f1916929092016040019392505050565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ce757612ce7612e1d565b604052919050565b60008219821115612d0257612d02612df1565b500190565b600082612d1657612d16612e07565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d5357612d53612df1565b500290565b600082821015612d6a57612d6a612df1565b500390565b600181811c90821680612d8357607f821691505b60208210811415611fc557634e487b7160e01b600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612dd657612dd6612df1565b5060010190565b600082612dec57612dec612e07565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122071a1908ba901b1136d635d27c82229bf7de39eebe3610cacfdfff00cae9910a664736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleSyntheticToken__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleSyntheticToken__factory = SampleSyntheticToken__factory; +SampleSyntheticToken__factory.bytecode = _bytecode; +SampleSyntheticToken__factory.abi = _abi; +//# sourceMappingURL=SampleSyntheticToken__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js.map new file mode 100644 index 00000000..154cbeeb --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleSyntheticToken__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI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,CACO,CAAC;IAC5B,CAAC;;AAxCH,sEAyCC;AAfiB,sCAAQ,GAAG,SAAS,CAAC;AACrB,iCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts new file mode 100644 index 00000000..11054f9f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts @@ -0,0 +1,3 @@ +export { ERC20Initializable__factory } from "./ERC20Initializable__factory"; +export { SampleSyntheticToken__factory } from "./SampleSyntheticToken__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map new file mode 100644 index 00000000..cbf23a36 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js new file mode 100644 index 00000000..15c3cfc2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleSyntheticToken__factory = exports.ERC20Initializable__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var ERC20Initializable__factory_1 = require("./ERC20Initializable__factory"); +Object.defineProperty(exports, "ERC20Initializable__factory", { enumerable: true, get: function () { return ERC20Initializable__factory_1.ERC20Initializable__factory; } }); +var SampleSyntheticToken__factory_1 = require("./SampleSyntheticToken__factory"); +Object.defineProperty(exports, "SampleSyntheticToken__factory", { enumerable: true, get: function () { return SampleSyntheticToken__factory_1.SampleSyntheticToken__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js.map new file mode 100644 index 00000000..fddc87f1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/SampleSyntheticToken.sol/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,6EAA4E;AAAnE,0IAAA,2BAA2B,OAAA;AACpC,iFAAgF;AAAvE,8IAAA,6BAA6B,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts new file mode 100644 index 00000000..6a55da7d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts @@ -0,0 +1,60 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../common"; +import type { SampleWithEvents, SampleWithEventsInterface } from "../../../contracts/samples/SampleWithEvents"; +declare type SampleWithEventsConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleWithEvents__factory extends ContractFactory { + constructor(...args: SampleWithEventsConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleWithEvents; + connect(signer: Signer): SampleWithEvents__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50611562806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b24ebfcc1161005b578063b24ebfcc146100e7578063d22158fa14610108578063f50b2efe1461011b578063f90c49241461012e57600080fd5b80633ce142f51461008d578063429989f0146100b7578063769b5605146100ca57806395262d9f146100d4575b600080fd5b6100a061009b3660046112f3565b610135565b60405160ff90911681526020015b60405180910390f35b6100a06100c53660046112f3565b610146565b6100d261061f565b005b6100a06100e23660046112f3565b610688565b6100fa6100f5366004611327565b610693565b6040519081526020016100ae565b6100a06101163660046112f3565b61069e565b6100d2610129366004611405565b610725565b600a6100a0565b600061014082610688565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561018257506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156101bc57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156101f657506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561023057506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561026a57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156102a457506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156102de57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561031857506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561035257506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561038c57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156103c65750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156104005750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561043a5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104745750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156104ae5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156104e85750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561052257506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561055c57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561059657506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156105d057506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061064a7f4554480000000000000000000000000000000000000000000000000000000000610768565b90507f4273d0736f60e0dedfe745e86718093d8ec8646ebd2a60cd60643eeced5658118160405161067d91815260200190565b60405180910390a150565b60006101408261069e565b6000610140826107f4565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561071c576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610616565b61014082610146565b6501812f2590c0811015610765576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106107af57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506107c4816107ff565b6000815181106107e457634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006101408261080a565b60606101408261090e565b6000815160001415610848576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61085182610b0d565b6000600283516108619190611435565b90506002835161087191906114d6565b6108ee5760006108d984610886600185611486565b815181106108a457634e487b7160e01b600052603260045260246000fd5b60200260200101518584815181106108cc57634e487b7160e01b600052603260045260246000fd5b6020026020010151610b5b565b90506108e6600282611435565b949350505050565b8281815181106107e457634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff81111561093a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610963578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561099057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156109b9578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156109e657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a1957816020015b6060815260200190600190039081610a045790505b50905060005b8551811015610a875760408051600a808252610160820190925290602082016101408036833701905050828281518110610a6957634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610a7f9061149d565b915050610a1f565b506000610a92610b6e565b90506000610a9f82610c9c565b61ffff169050610ab060028361141d565b60405190925060005b82811015610af6576000610ad08a89898989610cef565b9050610adc818661141d565b945082604052508080610aee9061149d565b915050610ab9565b50610b01848761101e565b98975050505050505050565b8051602082016020820281019150805b82811015610b5557815b81811015610b4c578151815180821015610b42578084528183525b5050602001610b27565b50602001610b1d565b50505050565b6000610b67828461141d565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610bd6576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610c13576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610c4c600362ffffff851661141d565b610c56919061141d565b905036610c6460028361141d565b1115610b67576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610caa60208461141d565b905036811115610ce6576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610cfe85611196565b909250905060008080606081600d610d21610d1a60208961141d565b89906111e6565b610d2b919061141d565b90506000610d44610d3d60688d61141d565b36906111f2565b90506000610d6183610d5760418f61141d565b610d3d919061141d565b9050610d6d8382610d80565b9350826020850120945081359650610dc2565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610dd38765ffffffffffff16610725565b610de785610de260418f61141d565b6111fe565b9550610df286610135565b60ff1699505050505050505060008060005b84811015610feb57610e17888583611294565b909350915060005b8c51811015610fd8578c8181518110610e4857634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610fc65760008b8281518110610e7957634e487b7160e01b600052603260045260246000fd5b60200260200101519050610e9281896001901b16151590565b158015610ec95750600a60ff168d8381518110610ebf57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610fc0578c8281518110610eee57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610f039061149d565b81525050838b8381518110610f2857634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610f5257634e487b7160e01b600052603260045260246000fd5b6020026020010151610f649190611486565b81518110610f8257634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610fb357634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610fd8565b80610fd08161149d565b915050610e1f565b5080610fe38161149d565b915050610e04565b50505081602082610ffc919061141d565b6110069190611449565b61101190604e61141d565b9998505050505050505050565b60606000835167ffffffffffffffff81111561104a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611073578160200160208202803683370190505b509050600a60005b855181101561118c57818582815181106110a557634e487b7160e01b600052603260045260246000fd5b60200260200101511015611119578481815181106110d357634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610616929190918252602082015260400190565b600061114b87838151811061113e57634e487b7160e01b600052603260045260246000fd5b6020026020010151610693565b90508084838151811061116e57634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806111848161149d565b91505061107b565b5090949350505050565b6000808080806111a760418761141d565b905060006111b9610d3d60208461141d565b8035945090506111ca8160036111f2565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610b678284611449565b6000610b678284611486565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611261573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806112a3604e8761141d565b905060006112d06112c96112b860208961141d565b6112c388600161141d565b906111e6565b8390610b5b565b905060006112de36836111f2565b80359960209091013598509650505050505050565b600060208284031215611304578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610b67578182fd5b60006020808385031215611339578182fd5b823567ffffffffffffffff80821115611350578384fd5b818501915085601f830112611363578384fd5b81358181111561137557611375611516565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156113b8576113b8611516565b604052828152858101935084860182860187018a10156113d6578788fd5b8795505b838610156113f85780358552600195909501949386019386016113da565b5098975050505050505050565b600060208284031215611416578081fd5b5035919050565b60008219821115611430576114306114ea565b500190565b60008261144457611444611500565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611481576114816114ea565b500290565b600082821015611498576114986114ea565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156114cf576114cf6114ea565b5060010190565b6000826114e5576114e5611500565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220be0b93465af3279a71c43bae4bd46de129ebdee4ba284469b82020825500395c64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + anonymous?: undefined; + outputs?: undefined; + stateMutability?: undefined; + } | { + anonymous: boolean; + inputs: { + indexed: boolean; + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + anonymous?: undefined; + })[]; + static createInterface(): SampleWithEventsInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleWithEvents; +} +export {}; +//# sourceMappingURL=SampleWithEvents__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts.map new file mode 100644 index 00000000..3ed49201 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleWithEvents__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleWithEvents__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EACV,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,6CAA6C,CAAC;AAwNrD,aAAK,iCAAiC,GAClC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,yBAA0B,SAAQ,eAAe;gBAChD,GAAG,IAAI,EAAE,iCAAiC;IAQ7C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,gBAAgB,CAAC;IAGnB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB;IAGzC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,yBAAyB;IAI3D,MAAM,CAAC,QAAQ,CAAC,QAAQ,4wVAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,yBAAyB;IAGnD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,gBAAgB;CAGpB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js new file mode 100644 index 00000000..f932a1e2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js @@ -0,0 +1,251 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleWithEvents__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "uint256", + name: "_updatedValue", + type: "uint256", + }, + ], + name: "ValueUpdated", + type: "event", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "emitEventWithLatestOracleValue", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50611562806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063b24ebfcc1161005b578063b24ebfcc146100e7578063d22158fa14610108578063f50b2efe1461011b578063f90c49241461012e57600080fd5b80633ce142f51461008d578063429989f0146100b7578063769b5605146100ca57806395262d9f146100d4575b600080fd5b6100a061009b3660046112f3565b610135565b60405160ff90911681526020015b60405180910390f35b6100a06100c53660046112f3565b610146565b6100d261061f565b005b6100a06100e23660046112f3565b610688565b6100fa6100f5366004611327565b610693565b6040519081526020016100ae565b6100a06101163660046112f3565b61069e565b6100d2610129366004611405565b610725565b600a6100a0565b600061014082610688565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561018257506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156101bc57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156101f657506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561023057506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561026a57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156102a457506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156102de57506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561031857506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561035257506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561038c57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156103c65750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156104005750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561043a5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156104745750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156104ae5750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156104e85750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561052257506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561055c57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561059657506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156105d057506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600061064a7f4554480000000000000000000000000000000000000000000000000000000000610768565b90507f4273d0736f60e0dedfe745e86718093d8ec8646ebd2a60cd60643eeced5658118160405161067d91815260200190565b60405180910390a150565b60006101408261069e565b6000610140826107f4565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff8316141561071c576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610616565b61014082610146565b6501812f2590c0811015610765576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6040805160018082528183019092526000918291906020808301908036833701905050905082816000815181106107af57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506107c4816107ff565b6000815181106107e457634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006101408261080a565b60606101408261090e565b6000815160001415610848576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61085182610b0d565b6000600283516108619190611435565b90506002835161087191906114d6565b6108ee5760006108d984610886600185611486565b815181106108a457634e487b7160e01b600052603260045260246000fd5b60200260200101518584815181106108cc57634e487b7160e01b600052603260045260246000fd5b6020026020010151610b5b565b90506108e6600282611435565b949350505050565b8281815181106107e457634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff81111561093a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610963578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561099057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156109b9578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156109e657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a1957816020015b6060815260200190600190039081610a045790505b50905060005b8551811015610a875760408051600a808252610160820190925290602082016101408036833701905050828281518110610a6957634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610a7f9061149d565b915050610a1f565b506000610a92610b6e565b90506000610a9f82610c9c565b61ffff169050610ab060028361141d565b60405190925060005b82811015610af6576000610ad08a89898989610cef565b9050610adc818661141d565b945082604052508080610aee9061149d565b915050610ab9565b50610b01848761101e565b98975050505050505050565b8051602082016020820281019150805b82811015610b5557815b81811015610b4c578151815180821015610b42578084528183525b5050602001610b27565b50602001610b1d565b50505050565b6000610b67828461141d565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610bd6576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610c13576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610c4c600362ffffff851661141d565b610c56919061141d565b905036610c6460028361141d565b1115610b67576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610caa60208461141d565b905036811115610ce6576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610cfe85611196565b909250905060008080606081600d610d21610d1a60208961141d565b89906111e6565b610d2b919061141d565b90506000610d44610d3d60688d61141d565b36906111f2565b90506000610d6183610d5760418f61141d565b610d3d919061141d565b9050610d6d8382610d80565b9350826020850120945081359650610dc2565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610dd38765ffffffffffff16610725565b610de785610de260418f61141d565b6111fe565b9550610df286610135565b60ff1699505050505050505060008060005b84811015610feb57610e17888583611294565b909350915060005b8c51811015610fd8578c8181518110610e4857634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610fc65760008b8281518110610e7957634e487b7160e01b600052603260045260246000fd5b60200260200101519050610e9281896001901b16151590565b158015610ec95750600a60ff168d8381518110610ebf57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610fc0578c8281518110610eee57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610f039061149d565b81525050838b8381518110610f2857634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610f5257634e487b7160e01b600052603260045260246000fd5b6020026020010151610f649190611486565b81518110610f8257634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610fb357634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610fd8565b80610fd08161149d565b915050610e1f565b5080610fe38161149d565b915050610e04565b50505081602082610ffc919061141d565b6110069190611449565b61101190604e61141d565b9998505050505050505050565b60606000835167ffffffffffffffff81111561104a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611073578160200160208202803683370190505b509050600a60005b855181101561118c57818582815181106110a557634e487b7160e01b600052603260045260246000fd5b60200260200101511015611119578481815181106110d357634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610616929190918252602082015260400190565b600061114b87838151811061113e57634e487b7160e01b600052603260045260246000fd5b6020026020010151610693565b90508084838151811061116e57634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806111848161149d565b91505061107b565b5090949350505050565b6000808080806111a760418761141d565b905060006111b9610d3d60208461141d565b8035945090506111ca8160036111f2565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610b678284611449565b6000610b678284611486565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611261573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806112a3604e8761141d565b905060006112d06112c96112b860208961141d565b6112c388600161141d565b906111e6565b8390610b5b565b905060006112de36836111f2565b80359960209091013598509650505050505050565b600060208284031215611304578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610b67578182fd5b60006020808385031215611339578182fd5b823567ffffffffffffffff80821115611350578384fd5b818501915085601f830112611363578384fd5b81358181111561137557611375611516565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156113b8576113b8611516565b604052828152858101935084860182860187018a10156113d6578788fd5b8795505b838610156113f85780358552600195909501949386019386016113da565b5098975050505050505050565b600060208284031215611416578081fd5b5035919050565b60008219821115611430576114306114ea565b500190565b60008261144457611444611500565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611481576114816114ea565b500290565b600082821015611498576114986114ea565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156114cf576114cf6114ea565b5060010190565b6000826114e5576114e5611500565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220be0b93465af3279a71c43bae4bd46de129ebdee4ba284469b82020825500395c64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleWithEvents__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleWithEvents__factory = SampleWithEvents__factory; +SampleWithEvents__factory.bytecode = _bytecode; +SampleWithEvents__factory.abi = _abi; +//# sourceMappingURL=SampleWithEvents__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js.map new file mode 100644 index 00000000..28da2219 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/SampleWithEvents__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleWithEvents__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/SampleWithEvents__factory.ts"],"names":[],"mapp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,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAA8B,CAAC;IACpE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAqB,CAAC;IACnD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA8B,CAAC;IAC5D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA8B,CAAC;IAChE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAqB,CAAC;IAC3E,CAAC;;AApCH,8DAqCC;AAXiB,kCAAQ,GAAG,SAAS,CAAC;AACrB,6BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts new file mode 100644 index 00000000..6d83adde --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { Benchmark, BenchmarkInterface } from "../../../../contracts/samples/benchmarks/Benchmark"; +declare type BenchmarkConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class Benchmark__factory extends ContractFactory { + constructor(...args: BenchmarkConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): Benchmark; + connect(signer: Signer): Benchmark__factory; + static readonly bytecode = "0x6080604052600080556001805460ff19168117905534801561002057600080fd5b5061163d806100306000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063a09f9c3a11610076578063d22158fa1161005b578063d22158fa146101a1578063f50b2efe146101b4578063f90c4924146101c757600080fd5b8063a09f9c3a1461013e578063b24ebfcc1461018057600080fd5b8063429989f0116100a7578063429989f0146101025780634b11366f1461011557806395262d9f1461012b57600080fd5b80630b3703ef146100c35780633ce142f5146100d8575b600080fd5b6100d66100d1366004611371565b6101d2565b005b6100eb6100e636600461133d565b61021a565b60405160ff90911681526020015b60405180910390f35b6100eb61011036600461133d565b61022b565b6100d6610123366004611371565b505060008055565b6100eb61013936600461133d565b610704565b6100d661014c3660046114d7565b600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055565b61019361018e3660046113e1565b61070f565b6040519081526020016100f9565b6100eb6101af36600461133d565b61071a565b6100d66101c23660046114bf565b6107a1565b60015460ff166100eb565b60006102108383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506107e492505050565b5050600080555050565b600061022582610704565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561026757506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156102a157506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156102db57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561031557506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561034f57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561038957506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156103c357506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff831614156103fd57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561043757506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561047157506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156104ab5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156104e55750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561051f5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156105595750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156105935750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156105cd5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561060757506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561064157506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561067b57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156106b557506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006102258261022b565b6000610225826107ef565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610798576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016106fb565b6102258261022b565b6501812f2590c08110156107e1576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6060610225826107fa565b600061022582610a2e565b60606000825167ffffffffffffffff81111561082657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561084f578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561087c57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108a5578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156108d257634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561090557816020015b60608152602001906001900390816108f05790505b50905060005b85518110156109a85760015460ff1667ffffffffffffffff81111561094057634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610969578160200160208202803683370190505b5082828151811061098a57634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806109a090611578565b91505061090b565b5060006109b3610b42565b905060006109c082610c77565b61ffff1690506109d16002836114f8565b60405190925060005b82811015610a175760006109f18a89898989610cca565b90506109fd81866114f8565b945082604052508080610a0f90611578565b9150506109da565b50610a228487610ffd565b98975050505050505050565b6000815160001415610a6c576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a7582611186565b600060028351610a859190611510565b905060028351610a9591906115b1565b610b12576000610afd84610aaa600185611561565b81518110610ac857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610af057634e487b7160e01b600052603260045260246000fd5b60200260200101516111d4565b9050610b0a600282611510565b949350505050565b828181518110610b3257634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610baa576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610be7576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610c20600362ffffff85166114f8565b610c2a91906114f8565b905036610c386002836114f8565b1115610c70576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610c856020846114f8565b905036811115610cc1576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610cd9856111e0565b909250905060008080606081600d610cfc610cf56020896114f8565b8990611230565b610d0691906114f8565b90506000610d1f610d1860688d6114f8565b369061123c565b90506000610d3c83610d3260418f6114f8565b610d1891906114f8565b9050610d488382610d5b565b9350826020850120945081359650610d9d565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610dae8765ffffffffffff166107a1565b610dc285610dbd60418f6114f8565b611248565b9550610dcd8661021a565b60ff1699505050505050505060008060005b84811015610fca57610df28885836112de565b909350915060005b8c51811015610fb7578c8181518110610e2357634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610fa55760008b8281518110610e5457634e487b7160e01b600052603260045260246000fd5b60200260200101519050610e6d81896001901b16151590565b158015610ea8575060015460ff1660ff168d8381518110610e9e57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610f9f578c8281518110610ecd57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610ee290611578565b81525050838b8381518110610f0757634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610f3157634e487b7160e01b600052603260045260246000fd5b6020026020010151610f439190611561565b81518110610f6157634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610f9257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610fb7565b80610faf81611578565b915050610dfa565b5080610fc281611578565b915050610ddf565b50505081602082610fdb91906114f8565b610fe59190611524565b610ff090604e6114f8565b9998505050505050505050565b60606000835167ffffffffffffffff81111561102957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611052578160200160208202803683370190505b509050600061106360015460ff1690565b60ff16905060005b855181101561117c578185828151811061109557634e487b7160e01b600052603260045260246000fd5b60200260200101511015611109578481815181106110c357634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016106fb929190918252602082015260400190565b600061113b87838151811061112e57634e487b7160e01b600052603260045260246000fd5b602002602001015161070f565b90508084838151811061115e57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061117481611578565b91505061106b565b5090949350505050565b8051602082016020820281019150805b828110156111ce57815b818110156111c55781518151808210156111bb578084528183525b50506020016111a0565b50602001611196565b50505050565b6000610c7082846114f8565b6000808080806111f16041876114f8565b90506000611203610d186020846114f8565b80359450905061121481600361123c565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610c708284611524565b6000610c708284611561565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156112ab573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806112ed604e876114f8565b9050600061131a6113136113026020896114f8565b61130d8860016114f8565b90611230565b83906111d4565b90506000611328368361123c565b80359960209091013598509650505050505050565b60006020828403121561134e578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c70578182fd5b60008060208385031215611383578081fd5b823567ffffffffffffffff8082111561139a578283fd5b818501915085601f8301126113ad578283fd5b8135818111156113bb578384fd5b8660208260051b85010111156113cf578384fd5b60209290920196919550909350505050565b600060208083850312156113f3578182fd5b823567ffffffffffffffff8082111561140a578384fd5b818501915085601f83011261141d578384fd5b81358181111561142f5761142f6115f1565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715611472576114726115f1565b604052828152858101935084860182860187018a1015611490578788fd5b8795505b838610156114b2578035855260019590950194938601938601611494565b5098975050505050505050565b6000602082840312156114d0578081fd5b5035919050565b6000602082840312156114e8578081fd5b813560ff81168114610c70578182fd5b6000821982111561150b5761150b6115c5565b500190565b60008261151f5761151f6115db565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561155c5761155c6115c5565b500290565b600082821015611573576115736115c5565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156115aa576115aa6115c5565b5060010190565b6000826115c0576115c06115db565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122022d94d834be712e2079d84afcfc3ec9ee1237381564c7861ba1f464b30e32d8a64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): BenchmarkInterface; + static connect(address: string, signerOrProvider: Signer | Provider): Benchmark; +} +export {}; +//# sourceMappingURL=Benchmark__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts.map new file mode 100644 index 00000000..dcecf03a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Benchmark__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EACnB,MAAM,oDAAoD,CAAC;AA2O5D,aAAK,0BAA0B,GAC3B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,kBAAmB,SAAQ,eAAe;gBACzC,GAAG,IAAI,EAAE,0BAA0B;IAQtC,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,SAAS,CAAC;IAGZ,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS;IAGlC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB;IAIpD,MAAM,CAAC,QAAQ,CAAC,QAAQ,kuWAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kBAAkB;IAG5C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,SAAS;CAGb"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js new file mode 100644 index 00000000..19f84e01 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js @@ -0,0 +1,270 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Benchmark__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "emptyExtractOracleValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "extractOracleValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "_signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint8", + name: "newUniqueSignersThreshold", + type: "uint8", + }, + ], + name: "updateUniqueSignersThreshold", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x6080604052600080556001805460ff19168117905534801561002057600080fd5b5061163d806100306000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063a09f9c3a11610076578063d22158fa1161005b578063d22158fa146101a1578063f50b2efe146101b4578063f90c4924146101c757600080fd5b8063a09f9c3a1461013e578063b24ebfcc1461018057600080fd5b8063429989f0116100a7578063429989f0146101025780634b11366f1461011557806395262d9f1461012b57600080fd5b80630b3703ef146100c35780633ce142f5146100d8575b600080fd5b6100d66100d1366004611371565b6101d2565b005b6100eb6100e636600461133d565b61021a565b60405160ff90911681526020015b60405180910390f35b6100eb61011036600461133d565b61022b565b6100d6610123366004611371565b505060008055565b6100eb61013936600461133d565b610704565b6100d661014c3660046114d7565b600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055565b61019361018e3660046113e1565b61070f565b6040519081526020016100f9565b6100eb6101af36600461133d565b61071a565b6100d66101c23660046114bf565b6107a1565b60015460ff166100eb565b60006102108383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506107e492505050565b5050600080555050565b600061022582610704565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561026757506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156102a157506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156102db57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561031557506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561034f57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561038957506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156103c357506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff831614156103fd57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561043757506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561047157506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156104ab5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156104e55750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561051f5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156105595750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156105935750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156105cd5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561060757506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561064157506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561067b57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156106b557506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b60006102258261022b565b6000610225826107ef565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610798576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016106fb565b6102258261022b565b6501812f2590c08110156107e1576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6060610225826107fa565b600061022582610a2e565b60606000825167ffffffffffffffff81111561082657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561084f578160200160208202803683370190505b5090506000835167ffffffffffffffff81111561087c57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156108a5578160200160208202803683370190505b5090506000845167ffffffffffffffff8111156108d257634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561090557816020015b60608152602001906001900390816108f05790505b50905060005b85518110156109a85760015460ff1667ffffffffffffffff81111561094057634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610969578160200160208202803683370190505b5082828151811061098a57634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806109a090611578565b91505061090b565b5060006109b3610b42565b905060006109c082610c77565b61ffff1690506109d16002836114f8565b60405190925060005b82811015610a175760006109f18a89898989610cca565b90506109fd81866114f8565b945082604052508080610a0f90611578565b9150506109da565b50610a228487610ffd565b98975050505050505050565b6000815160001415610a6c576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a7582611186565b600060028351610a859190611510565b905060028351610a9591906115b1565b610b12576000610afd84610aaa600185611561565b81518110610ac857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610af057634e487b7160e01b600052603260045260246000fd5b60200260200101516111d4565b9050610b0a600282611510565b949350505050565b828181518110610b3257634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610baa576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610be7576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610c20600362ffffff85166114f8565b610c2a91906114f8565b905036610c386002836114f8565b1115610c70576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610c856020846114f8565b905036811115610cc1576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080610cd9856111e0565b909250905060008080606081600d610cfc610cf56020896114f8565b8990611230565b610d0691906114f8565b90506000610d1f610d1860688d6114f8565b369061123c565b90506000610d3c83610d3260418f6114f8565b610d1891906114f8565b9050610d488382610d5b565b9350826020850120945081359650610d9d565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b610dae8765ffffffffffff166107a1565b610dc285610dbd60418f6114f8565b611248565b9550610dcd8661021a565b60ff1699505050505050505060008060005b84811015610fca57610df28885836112de565b909350915060005b8c51811015610fb7578c8181518110610e2357634e487b7160e01b600052603260045260246000fd5b6020026020010151841415610fa55760008b8281518110610e5457634e487b7160e01b600052603260045260246000fd5b60200260200101519050610e6d81896001901b16151590565b158015610ea8575060015460ff1660ff168d8381518110610e9e57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15610f9f578c8281518110610ecd57634e487b7160e01b600052603260045260246000fd5b602002602001018051809190610ee290611578565b81525050838b8381518110610f0757634e487b7160e01b600052603260045260246000fd5b602002602001015160018f8581518110610f3157634e487b7160e01b600052603260045260246000fd5b6020026020010151610f439190611561565b81518110610f6157634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c8381518110610f9257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50610fb7565b80610faf81611578565b915050610dfa565b5080610fc281611578565b915050610ddf565b50505081602082610fdb91906114f8565b610fe59190611524565b610ff090604e6114f8565b9998505050505050505050565b60606000835167ffffffffffffffff81111561102957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611052578160200160208202803683370190505b509050600061106360015460ff1690565b60ff16905060005b855181101561117c578185828151811061109557634e487b7160e01b600052603260045260246000fd5b60200260200101511015611109578481815181106110c357634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016106fb929190918252602082015260400190565b600061113b87838151811061112e57634e487b7160e01b600052603260045260246000fd5b602002602001015161070f565b90508084838151811061115e57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061117481611578565b91505061106b565b5090949350505050565b8051602082016020820281019150805b828110156111ce57815b818110156111c55781518151808210156111bb578084528183525b50506020016111a0565b50602001611196565b50505050565b6000610c7082846114f8565b6000808080806111f16041876114f8565b90506000611203610d186020846114f8565b80359450905061121481600361123c565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610c708284611524565b6000610c708284611561565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156112ab573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b600080806112ed604e876114f8565b9050600061131a6113136113026020896114f8565b61130d8860016114f8565b90611230565b83906111d4565b90506000611328368361123c565b80359960209091013598509650505050505050565b60006020828403121561134e578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c70578182fd5b60008060208385031215611383578081fd5b823567ffffffffffffffff8082111561139a578283fd5b818501915085601f8301126113ad578283fd5b8135818111156113bb578384fd5b8660208260051b85010111156113cf578384fd5b60209290920196919550909350505050565b600060208083850312156113f3578182fd5b823567ffffffffffffffff8082111561140a578384fd5b818501915085601f83011261141d578384fd5b81358181111561142f5761142f6115f1565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715611472576114726115f1565b604052828152858101935084860182860187018a1015611490578788fd5b8795505b838610156114b2578035855260019590950194938601938601611494565b5098975050505050505050565b6000602082840312156114d0578081fd5b5035919050565b6000602082840312156114e8578081fd5b813560ff81168114610c70578182fd5b6000821982111561150b5761150b6115c5565b500190565b60008261151f5761151f6115db565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561155c5761155c6115c5565b500290565b600082821015611573576115736115c5565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156115aa576115aa6115c5565b5060010190565b6000826115c0576115c06115db565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122022d94d834be712e2079d84afcfc3ec9ee1237381564c7861ba1f464b30e32d8a64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class Benchmark__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.Benchmark__factory = Benchmark__factory; +Benchmark__factory.bytecode = _bytecode; +Benchmark__factory.abi = _abi; +//# sourceMappingURL=Benchmark__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js.map new file mode 100644 index 00000000..ee84c9da --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Benchmark__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/Benchmark__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EA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e;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAc,CAAC;IAC5C,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAuB,CAAC;IACrD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAuB,CAAC;IACzD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAc,CAAC;IACpE,CAAC;;AApCH,gDAqCC;AAXiB,2BAAQ,GAAG,SAAS,CAAC;AACrB,sBAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts new file mode 100644 index 00000000..4a03b6c8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { HashCalldataModel, HashCalldataModelInterface } from "../../../../contracts/samples/benchmarks/HashCalldataModel"; +declare type HashCalldataModelConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class HashCalldataModel__factory extends ContractFactory { + constructor(...args: HashCalldataModelConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): HashCalldataModel; + connect(signer: Signer): HashCalldataModel__factory; + static readonly bytecode = "0x608060405260006001556002805460ff1916905534801561001f57600080fd5b50611cda8061002f6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80639d86698511610097578063e46e9d5c11610066578063e46e9d5c1461031d578063ed3958bb1461033e578063f50b2efe14610404578063f90c49241461041757600080fd5b80639d866985146102b1578063b24ebfcc146102e4578063d021243a146102f7578063d22158fa1461030a57600080fd5b80634dcbab33116100d35780634dcbab33146101e75780635acac63e146101fc5780635edf10751461028b57806395262d9f1461029e57600080fd5b80633ce142f5146100fa578063429989f0146101245780634ae4590714610137575b600080fd5b61010d610108366004611879565b61041e565b60405160ff90911681526020015b60405180910390f35b61010d610132366004611879565b61042f565b6101d96101453660046119d4565b60408051436020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b168284015260548201979097526074810195909552609485019390935260b484019190915260d4808401919091528151808403909101815260f490920181528151918301919091206000818152928390529120805460ff1916600117905590565b60405190815260200161011b565b6101fa6101f5366004611a75565b61090d565b005b6101d961020a3660046119a9565b60408051436020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1682840152605482019590955260748101939093526094808401929092528051808403909201825260b490920182528051908301206000818152928390529120805460ff1916600117905590565b6101fa610299366004611aba565b610a2d565b61010d6102ac366004611879565b610af6565b6102d46102bf366004611991565b60006020819052908152604090205460ff1681565b604051901515815260200161011b565b6101d96102f2366004611893565b610b01565b6101fa610305366004611b10565b610b0c565b61010d610318366004611879565b610c02565b6101fa61032b366004611971565b6002805460ff1916911515919091179055565b6101d961034c366004611a0e565b60408051436020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1682840152605482019c909c52607481019a909a5260948a019890985260b489019690965260d488019490945260f4870192909252610114860152610134850152610154840152610174808401919091528151808403909101815261019490920181528151918301919091206000818152928390529120805460ff1916600117905590565b6101fa610412366004611991565b610c89565b600361010d565b600061042982610af6565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561046b57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156104a557506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156104df57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561051957506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561055357506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561058d57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156105c757506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561060157506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561063b57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561067557506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106af5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106e95750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156107235750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff8316141561075d5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107975750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107d15750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561080b57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561084557506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561087f57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108b957506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b919050565b604080516020808201889052606087901b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001682840152605482018690526074820185905260948083018590528351808403909101815260b490920183528151918101919091206000818152918290529190205460ff16600181151514156109c25761099885610ccc565b60015560025460ff16156109bd576000828152602081905260409020805460ff191690555b610a24565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f52657175657374206e6f7420666f756e6400000000000000000000000000000060448201526064016108ff565b50505050505050565b6040805160208082018a9052606089901b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000168284015260548201889052607482018790526094820186905260b4820185905260d48083018590528351808403909101815260f490920183528151918101919091206000818152918290529190205460ff16600181151514156109c257610ac686610ccc565b60015560025460ff1615610aeb576000828152602081905260409020805460ff191690555b505050505050505050565b600061042982610c02565b600061042982610d58565b6040805160208082018f905260608e901b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001682840152605482018d9052607482018c9052609482018b905260b482018a905260d4820189905260f482018890526101148201879052610134820186905261015482018590526101748083018590528351808403909101815261019490920183528151918101919091206000818152918290529190205460ff16600181151514156109c257610bcd8a610ccc565b60015560025460ff1615610bf2576000828152602081905260409020805460ff191690555b5050505050505050505050505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610c80576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016108ff565b6104298261042f565b6501812f2590c0811015610cc9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610d1357634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610d2881610d63565b600081518110610d4857634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061042982610d6e565b606061042982610e72565b6000815160001415610dac576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db58261106f565b600060028351610dc59190611bad565b905060028351610dd59190611c4e565b610e52576000610e3d84610dea600185611bfe565b81518110610e0857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610e3057634e487b7160e01b600052603260045260246000fd5b60200260200101516110bd565b9050610e4a600282611bad565b949350505050565b828181518110610d4857634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff811115610e9e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ec7578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610ef457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f1d578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610f4a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f7d57816020015b6060815260200190600190039081610f685790505b50905060005b8551811015610fe95760408051600380825260808201909252906020820160608036833701905050828281518110610fcb57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610fe190611c15565b915050610f83565b506000610ff46110d0565b90506000611001826111fe565b61ffff169050611012600283611b95565b60405190925060005b828110156110585760006110328a89898989611251565b905061103e8186611b95565b94508260405250808061105090611c15565b91505061101b565b506110638487611580565b98975050505050505050565b8051602082016020820281019150805b828110156110b757815b818110156110ae5781518151808210156110a4578084528183525b5050602001611089565b5060200161107f565b50505050565b60006110c98284611b95565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480611138576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611175576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096111ae600362ffffff8516611b95565b6111b89190611b95565b9050366111c6600283611b95565b11156110c9576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061120c602084611b95565b905036811115611248576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080611260856116f8565b909250905060008080606081600d61128361127c602089611b95565b8990611748565b61128d9190611b95565b905060006112a661129f60688d611b95565b3690611754565b905060006112c3836112b960418f611b95565b61129f9190611b95565b90506112cf83826112e2565b9350826020850120945081359650611324565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6113358765ffffffffffff16610c89565b6113498561134460418f611b95565b611760565b95506113548661041e565b60ff1699505050505050505060008060005b8481101561154d576113798885836117f6565b909350915060005b8c5181101561153a578c81815181106113aa57634e487b7160e01b600052603260045260246000fd5b60200260200101518414156115285760008b82815181106113db57634e487b7160e01b600052603260045260246000fd5b602002602001015190506113f481896001901b16151590565b15801561142b5750600360ff168d838151811061142157634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611522578c828151811061145057634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061146590611c15565b81525050838b838151811061148a57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106114b457634e487b7160e01b600052603260045260246000fd5b60200260200101516114c69190611bfe565b815181106114e457634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061151557634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061153a565b8061153281611c15565b915050611381565b508061154581611c15565b915050611366565b5050508160208261155e9190611b95565b6115689190611bc1565b61157390604e611b95565b9998505050505050505050565b60606000835167ffffffffffffffff8111156115ac57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156115d5578160200160208202803683370190505b509050600360005b85518110156116ee578185828151811061160757634e487b7160e01b600052603260045260246000fd5b6020026020010151101561167b5784818151811061163557634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016108ff929190918252602082015260400190565b60006116ad8783815181106116a057634e487b7160e01b600052603260045260246000fd5b6020026020010151610b01565b9050808483815181106116d057634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806116e681611c15565b9150506115dd565b5090949350505050565b600080808080611709604187611b95565b9050600061171b61129f602084611b95565b80359450905061172c816003611754565b62ffffff9490941697933563ffffffff16965092945050505050565b60006110c98284611bc1565b60006110c98284611bfe565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156117c3573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611805604e87611b95565b9050600061183261182b61181a602089611b95565b611825886001611b95565b90611748565b83906110bd565b905060006118403683611754565b80359960209091013598509650505050505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461090857600080fd5b60006020828403121561188a578081fd5b6110c982611855565b600060208083850312156118a5578182fd5b823567ffffffffffffffff808211156118bc578384fd5b818501915085601f8301126118cf578384fd5b8135818111156118e1576118e1611c8e565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561192457611924611c8e565b604052828152858101935084860182860187018a1015611942578788fd5b8795505b83861015611964578035855260019590950194938601938601611946565b5098975050505050505050565b600060208284031215611982578081fd5b813580151581146110c9578182fd5b6000602082840312156119a2578081fd5b5035919050565b6000806000606084860312156119bd578182fd5b505081359360208301359350604090920135919050565b600080600080600060a086880312156119eb578081fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000806000806000806000806000806101408b8d031215611a2d578485fd5b505088359a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0810135965060e081013595506101008101359450610120013592509050565b600080600080600060a08688031215611a8c578081fd5b85359450611a9c60208701611855565b94979496505050506040830135926060810135926080909101359150565b600080600080600080600060e0888a031215611ad4578283fd5b87359650611ae460208901611855565b96999698505050506040850135946060810135946080820135945060a0820135935060c0909101359150565b6000806000806000806000806000806000806101808d8f031215611b32578586fd5b8c359b50611b4260208e01611855565b9b9e9b9d5050505060408a0135996060810135996080820135995060a0820135985060c0820135975060e08201359650610100820135955061012082013594506101408201359350610160909101359150565b60008219821115611ba857611ba8611c62565b500190565b600082611bbc57611bbc611c78565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611bf957611bf9611c62565b500290565b600082821015611c1057611c10611c62565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c4757611c47611c62565b5060010190565b600082611c5d57611c5d611c78565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212200845f1e8e9dd0aa4304150454c8219f519a2ca74668cc94b575e82413c4f510f64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): HashCalldataModelInterface; + static connect(address: string, signerOrProvider: Signer | Provider): HashCalldataModel; +} +export {}; +//# sourceMappingURL=HashCalldataModel__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts.map new file mode 100644 index 00000000..b74932ca --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"HashCalldataModel__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,4DAA4D,CAAC;AAwfpE,aAAK,kCAAkC,GACnC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,0BAA2B,SAAQ,eAAe;gBACjD,GAAG,IAAI,EAAE,kCAAkC;IAQ9C,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,iBAAiB,CAAC;IAGpB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB;IAG1C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,0BAA0B;IAI5D,MAAM,CAAC,QAAQ,CAAC,QAAQ,0hdAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iBAAiB;CAGrB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js new file mode 100644 index 00000000..a4b1d481 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js @@ -0,0 +1,539 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.HashCalldataModel__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "blockNumber", + type: "uint256", + }, + { + internalType: "address", + name: "sender", + type: "address", + }, + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg6", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg7", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg8", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg9", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg10", + type: "bytes32", + }, + ], + name: "executeRequestWith10ArgsWithPrices", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "blockNumber", + type: "uint256", + }, + { + internalType: "address", + name: "sender", + type: "address", + }, + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + ], + name: "executeRequestWith3ArgsWithPrices", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "blockNumber", + type: "uint256", + }, + { + internalType: "address", + name: "sender", + type: "address", + }, + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + ], + name: "executeRequestWith5ArgsWithPrices", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + name: "requests", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg6", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg7", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg8", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg9", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg10", + type: "bytes32", + }, + ], + name: "sendRequestWith10Args", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + ], + name: "sendRequestWith3Args", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + ], + name: "sendRequestWith5Args", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bool", + name: "_deleteFromStorage", + type: "bool", + }, + ], + name: "setDeleteFromStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405260006001556002805460ff1916905534801561001f57600080fd5b50611cda8061002f6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80639d86698511610097578063e46e9d5c11610066578063e46e9d5c1461031d578063ed3958bb1461033e578063f50b2efe14610404578063f90c49241461041757600080fd5b80639d866985146102b1578063b24ebfcc146102e4578063d021243a146102f7578063d22158fa1461030a57600080fd5b80634dcbab33116100d35780634dcbab33146101e75780635acac63e146101fc5780635edf10751461028b57806395262d9f1461029e57600080fd5b80633ce142f5146100fa578063429989f0146101245780634ae4590714610137575b600080fd5b61010d610108366004611879565b61041e565b60405160ff90911681526020015b60405180910390f35b61010d610132366004611879565b61042f565b6101d96101453660046119d4565b60408051436020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b168284015260548201979097526074810195909552609485019390935260b484019190915260d4808401919091528151808403909101815260f490920181528151918301919091206000818152928390529120805460ff1916600117905590565b60405190815260200161011b565b6101fa6101f5366004611a75565b61090d565b005b6101d961020a3660046119a9565b60408051436020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1682840152605482019590955260748101939093526094808401929092528051808403909201825260b490920182528051908301206000818152928390529120805460ff1916600117905590565b6101fa610299366004611aba565b610a2d565b61010d6102ac366004611879565b610af6565b6102d46102bf366004611991565b60006020819052908152604090205460ff1681565b604051901515815260200161011b565b6101d96102f2366004611893565b610b01565b6101fa610305366004611b10565b610b0c565b61010d610318366004611879565b610c02565b6101fa61032b366004611971565b6002805460ff1916911515919091179055565b6101d961034c366004611a0e565b60408051436020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1682840152605482019c909c52607481019a909a5260948a019890985260b489019690965260d488019490945260f4870192909252610114860152610134850152610154840152610174808401919091528151808403909101815261019490920181528151918301919091206000818152928390529120805460ff1916600117905590565b6101fa610412366004611991565b610c89565b600361010d565b600061042982610af6565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561046b57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156104a557506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156104df57506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561051957506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561055357506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561058d57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156105c757506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561060157506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561063b57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561067557506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106af5750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106e95750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156107235750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff8316141561075d5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107975750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107d15750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561080b57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561084557506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561087f57506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108b957506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b919050565b604080516020808201889052606087901b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001682840152605482018690526074820185905260948083018590528351808403909101815260b490920183528151918101919091206000818152918290529190205460ff16600181151514156109c25761099885610ccc565b60015560025460ff16156109bd576000828152602081905260409020805460ff191690555b610a24565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f52657175657374206e6f7420666f756e6400000000000000000000000000000060448201526064016108ff565b50505050505050565b6040805160208082018a9052606089901b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000168284015260548201889052607482018790526094820186905260b4820185905260d48083018590528351808403909101815260f490920183528151918101919091206000818152918290529190205460ff16600181151514156109c257610ac686610ccc565b60015560025460ff1615610aeb576000828152602081905260409020805460ff191690555b505050505050505050565b600061042982610c02565b600061042982610d58565b6040805160208082018f905260608e901b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001682840152605482018d9052607482018c9052609482018b905260b482018a905260d4820189905260f482018890526101148201879052610134820186905261015482018590526101748083018590528351808403909101815261019490920183528151918101919091206000818152918290529190205460ff16600181151514156109c257610bcd8a610ccc565b60015560025460ff1615610bf2576000828152602081905260409020805460ff191690555b5050505050505050505050505050565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610c80576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016108ff565b6104298261042f565b6501812f2590c0811015610cc9576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610d1357634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610d2881610d63565b600081518110610d4857634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061042982610d6e565b606061042982610e72565b6000815160001415610dac576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db58261106f565b600060028351610dc59190611bad565b905060028351610dd59190611c4e565b610e52576000610e3d84610dea600185611bfe565b81518110610e0857634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610e3057634e487b7160e01b600052603260045260246000fd5b60200260200101516110bd565b9050610e4a600282611bad565b949350505050565b828181518110610d4857634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff811115610e9e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ec7578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610ef457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f1d578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610f4a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f7d57816020015b6060815260200190600190039081610f685790505b50905060005b8551811015610fe95760408051600380825260808201909252906020820160608036833701905050828281518110610fcb57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610fe190611c15565b915050610f83565b506000610ff46110d0565b90506000611001826111fe565b61ffff169050611012600283611b95565b60405190925060005b828110156110585760006110328a89898989611251565b905061103e8186611b95565b94508260405250808061105090611c15565b91505061101b565b506110638487611580565b98975050505050505050565b8051602082016020820281019150805b828110156110b757815b818110156110ae5781518151808210156110a4578084528183525b5050602001611089565b5060200161107f565b50505050565b60006110c98284611b95565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480611138576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611175576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096111ae600362ffffff8516611b95565b6111b89190611b95565b9050366111c6600283611b95565b11156110c9576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061120c602084611b95565b905036811115611248576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080611260856116f8565b909250905060008080606081600d61128361127c602089611b95565b8990611748565b61128d9190611b95565b905060006112a661129f60688d611b95565b3690611754565b905060006112c3836112b960418f611b95565b61129f9190611b95565b90506112cf83826112e2565b9350826020850120945081359650611324565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6113358765ffffffffffff16610c89565b6113498561134460418f611b95565b611760565b95506113548661041e565b60ff1699505050505050505060008060005b8481101561154d576113798885836117f6565b909350915060005b8c5181101561153a578c81815181106113aa57634e487b7160e01b600052603260045260246000fd5b60200260200101518414156115285760008b82815181106113db57634e487b7160e01b600052603260045260246000fd5b602002602001015190506113f481896001901b16151590565b15801561142b5750600360ff168d838151811061142157634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611522578c828151811061145057634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061146590611c15565b81525050838b838151811061148a57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106114b457634e487b7160e01b600052603260045260246000fd5b60200260200101516114c69190611bfe565b815181106114e457634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061151557634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061153a565b8061153281611c15565b915050611381565b508061154581611c15565b915050611366565b5050508160208261155e9190611b95565b6115689190611bc1565b61157390604e611b95565b9998505050505050505050565b60606000835167ffffffffffffffff8111156115ac57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156115d5578160200160208202803683370190505b509050600360005b85518110156116ee578185828151811061160757634e487b7160e01b600052603260045260246000fd5b6020026020010151101561167b5784818151811061163557634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef50000000000000000000000000000000000000000000000000000000081526004016108ff929190918252602082015260400190565b60006116ad8783815181106116a057634e487b7160e01b600052603260045260246000fd5b6020026020010151610b01565b9050808483815181106116d057634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806116e681611c15565b9150506115dd565b5090949350505050565b600080808080611709604187611b95565b9050600061171b61129f602084611b95565b80359450905061172c816003611754565b62ffffff9490941697933563ffffffff16965092945050505050565b60006110c98284611bc1565b60006110c98284611bfe565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156117c3573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611805604e87611b95565b9050600061183261182b61181a602089611b95565b611825886001611b95565b90611748565b83906110bd565b905060006118403683611754565b80359960209091013598509650505050505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461090857600080fd5b60006020828403121561188a578081fd5b6110c982611855565b600060208083850312156118a5578182fd5b823567ffffffffffffffff808211156118bc578384fd5b818501915085601f8301126118cf578384fd5b8135818111156118e1576118e1611c8e565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561192457611924611c8e565b604052828152858101935084860182860187018a1015611942578788fd5b8795505b83861015611964578035855260019590950194938601938601611946565b5098975050505050505050565b600060208284031215611982578081fd5b813580151581146110c9578182fd5b6000602082840312156119a2578081fd5b5035919050565b6000806000606084860312156119bd578182fd5b505081359360208301359350604090920135919050565b600080600080600060a086880312156119eb578081fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000806000806000806000806000806101408b8d031215611a2d578485fd5b505088359a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0810135965060e081013595506101008101359450610120013592509050565b600080600080600060a08688031215611a8c578081fd5b85359450611a9c60208701611855565b94979496505050506040830135926060810135926080909101359150565b600080600080600080600060e0888a031215611ad4578283fd5b87359650611ae460208901611855565b96999698505050506040850135946060810135946080820135945060a0820135935060c0909101359150565b6000806000806000806000806000806000806101808d8f031215611b32578586fd5b8c359b50611b4260208e01611855565b9b9e9b9d5050505060408a0135996060810135996080820135995060a0820135985060c0820135975060e08201359650610100820135955061012082013594506101408201359350610160909101359150565b60008219821115611ba857611ba8611c62565b500190565b600082611bbc57611bbc611c78565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611bf957611bf9611c62565b500290565b600082821015611c1057611c10611c62565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c4757611c47611c62565b5060010190565b600082611c5d57611c5d611c78565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212200845f1e8e9dd0aa4304150454c8219f519a2ca74668cc94b575e82413c4f510f64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class HashCalldataModel__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.HashCalldataModel__factory = HashCalldataModel__factory; +HashCalldataModel__factory.bytecode = _bytecode; +HashCalldataModel__factory.abi = _abi; +//# sourceMappingURL=HashCalldataModel__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js.map new file mode 100644 index 00000000..d6e1501d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"HashCalldataModel__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/HashCalldataModel__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAA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H,gEAqCC;AAXiB,mCAAQ,GAAG,SAAS,CAAC;AACrB,8BAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts new file mode 100644 index 00000000..9f24947a --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts @@ -0,0 +1,42 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { SampleChainableProxyConnector, SampleChainableProxyConnectorInterface } from "../../../../contracts/samples/benchmarks/SampleChainableProxyConnector"; +declare type SampleChainableProxyConnectorConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleChainableProxyConnector__factory extends ContractFactory { + constructor(...args: SampleChainableProxyConnectorConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleChainableProxyConnector; + connect(signer: Signer): SampleChainableProxyConnector__factory; + static readonly bytecode = "0x608060405234801561001057600080fd5b50610b5e806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806344b22fdd146100515780634db39f23146100a8578063c6062a68146100bb578063fabdf83614610110575b600080fd5b6100a661005f36600461080e565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b005b6100a66100b6366004610920565b610123565b6100a66100c936600461080e565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6100a661011e366004610842565b6102f7565b60015473ffffffffffffffffffffffffffffffffffffffff161561021e57604051602481018290526000907f4db39f2300000000000000000000000000000000000000000000000000000000906044015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506102199073ffffffffffffffffffffffffffffffffffffffff1682600061034b565b505050565b604051602481018290526000907f4db39f2300000000000000000000000000000000000000000000000000000000906044015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600080549192506102199173ffffffffffffffffffffffffffffffffffffffff1690839061034b565b60015473ffffffffffffffffffffffffffffffffffffffff161561033057600063fabdf83660e01b82604051602401610174919061099e565b600063fabdf83660e01b82604051602401610251919061099e565b60606000610358846103ec565b90506000808673ffffffffffffffffffffffffffffffffffffffff1685610380576000610382565b345b846040516103909190610982565b60006040518083038185875af1925050503d80600081146103cd576040519150601f19603f3d011682016040523d82523d6000602084013e6103d2565b606091505b50915091506103e18282610494565b979650505050505050565b805160609060006103fb61057c565b9050600061040982846109f5565b905036821115610445576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060604051905081815285602001848101826020015b8183101561047357825181526020928301920161045b565b50505082833603856020018301379190920181016020016040529392505050565b6060826105765781516104d3576040517f567fe27a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208201517f08c379a000000000000000000000000000000000000000000000000000000000148015610542576040517f0f7e827800000000000000000000000000000000000000000000000000000000815260448401906105399082906004016109e2565b60405180910390fd5b826040517ffd36fde300000000000000000000000000000000000000000000000000000000815260040161053991906109e2565b50919050565b6000806105876105e7565b905060006105948261071c565b61ffff1690506105a56002836109f5565b915060005b818110156105df5760006105bd8461076f565b90506105c981856109f5565b93505080806105d790610a91565b9150506105aa565b509092915050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358116148061064f576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366029111561068c576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096106c5600362ffffff85166109f5565b6106cf91906109f5565b9050366106dd6002836109f5565b1115610715576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b60008061072a6020846109f5565b905036811115610766576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600061077d846107ab565b9092509050604e61078f8260206109f5565b6107999084610a0d565b6107a391906109f5565b949350505050565b6000808080806107bc6041876109f5565b905060006107d56107ce6020846109f5565b3690610802565b8035945090506107e6816003610802565b62ffffff9490941697933563ffffffff16965092945050505050565b60006107158284610a4a565b60006020828403121561081f578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610715578182fd5b60006020808385031215610854578182fd5b823567ffffffffffffffff8082111561086b578384fd5b818501915085601f83011261087e578384fd5b81358181111561089057610890610af9565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156108d3576108d3610af9565b604052828152858101935084860182860187018a10156108f1578788fd5b8795505b838610156109135780358552600195909501949386019386016108f5565b5098975050505050505050565b600060208284031215610931578081fd5b5035919050565b60008151808452610950816020860160208601610a61565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251610994818460208701610a61565b9190910192915050565b6020808252825182820181905260009190848201906040850190845b818110156109d6578351835292840192918401916001016109ba565b50909695505050505050565b6020815260006107156020830184610938565b60008219821115610a0857610a08610aca565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a4557610a45610aca565b500290565b600082821015610a5c57610a5c610aca565b500390565b60005b83811015610a7c578181015183820152602001610a64565b83811115610a8b576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610ac357610ac3610aca565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212207c7b9894fc8365ea02cb844702379c00f3d440e82082dc73724829fd124ddf8364736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: never[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleChainableProxyConnectorInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleChainableProxyConnector; +} +export {}; +//# sourceMappingURL=SampleChainableProxyConnector__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts.map new file mode 100644 index 00000000..b347c4f2 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableProxyConnector__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,6BAA6B,EAC7B,sCAAsC,EACvC,MAAM,wEAAwE,CAAC;AAgJhF,aAAK,8CAA8C,GAC/C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,sCAAuC,SAAQ,eAAe;gBAC7D,GAAG,IAAI,EAAE,8CAA8C;IAQ1D,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,6BAA6B,CAAC;IAKhC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,6BAA6B;IAGtD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,sCAAsC;IAIxE,MAAM,CAAC,QAAQ,CAAC,QAAQ,owLAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,sCAAsC;IAGhE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,6BAA6B;CAOjC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js new file mode 100644 index 00000000..9d1d9976 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js @@ -0,0 +1,179 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleChainableProxyConnector__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes", + name: "result", + type: "bytes", + }, + ], + name: "ProxyCalldataFailedWithCustomError", + type: "error", + }, + { + inputs: [ + { + internalType: "string", + name: "message", + type: "string", + }, + ], + name: "ProxyCalldataFailedWithStringMessage", + type: "error", + }, + { + inputs: [], + name: "ProxyCalldataFailedWithoutErrMsg", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "processOracleValue", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "processOracleValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "_sampleProxyConnectorConsumer", + type: "address", + }, + ], + name: "registerConsumer", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "_sampleProxyConnector", + type: "address", + }, + ], + name: "registerNextConnector", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, +]; +const _bytecode = "0x608060405234801561001057600080fd5b50610b5e806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806344b22fdd146100515780634db39f23146100a8578063c6062a68146100bb578063fabdf83614610110575b600080fd5b6100a661005f36600461080e565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b005b6100a66100b6366004610920565b610123565b6100a66100c936600461080e565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6100a661011e366004610842565b6102f7565b60015473ffffffffffffffffffffffffffffffffffffffff161561021e57604051602481018290526000907f4db39f2300000000000000000000000000000000000000000000000000000000906044015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526001549091506102199073ffffffffffffffffffffffffffffffffffffffff1682600061034b565b505050565b604051602481018290526000907f4db39f2300000000000000000000000000000000000000000000000000000000906044015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152600080549192506102199173ffffffffffffffffffffffffffffffffffffffff1690839061034b565b60015473ffffffffffffffffffffffffffffffffffffffff161561033057600063fabdf83660e01b82604051602401610174919061099e565b600063fabdf83660e01b82604051602401610251919061099e565b60606000610358846103ec565b90506000808673ffffffffffffffffffffffffffffffffffffffff1685610380576000610382565b345b846040516103909190610982565b60006040518083038185875af1925050503d80600081146103cd576040519150601f19603f3d011682016040523d82523d6000602084013e6103d2565b606091505b50915091506103e18282610494565b979650505050505050565b805160609060006103fb61057c565b9050600061040982846109f5565b905036821115610445576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060604051905081815285602001848101826020015b8183101561047357825181526020928301920161045b565b50505082833603856020018301379190920181016020016040529392505050565b6060826105765781516104d3576040517f567fe27a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208201517f08c379a000000000000000000000000000000000000000000000000000000000148015610542576040517f0f7e827800000000000000000000000000000000000000000000000000000000815260448401906105399082906004016109e2565b60405180910390fd5b826040517ffd36fde300000000000000000000000000000000000000000000000000000000815260040161053991906109e2565b50919050565b6000806105876105e7565b905060006105948261071c565b61ffff1690506105a56002836109f5565b915060005b818110156105df5760006105bd8461076f565b90506105c981856109f5565b93505080806105d790610a91565b9150506105aa565b509092915050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358116148061064f576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000366029111561068c576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096106c5600362ffffff85166109f5565b6106cf91906109f5565b9050366106dd6002836109f5565b1115610715576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b60008061072a6020846109f5565b905036811115610766576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600061077d846107ab565b9092509050604e61078f8260206109f5565b6107999084610a0d565b6107a391906109f5565b949350505050565b6000808080806107bc6041876109f5565b905060006107d56107ce6020846109f5565b3690610802565b8035945090506107e6816003610802565b62ffffff9490941697933563ffffffff16965092945050505050565b60006107158284610a4a565b60006020828403121561081f578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610715578182fd5b60006020808385031215610854578182fd5b823567ffffffffffffffff8082111561086b578384fd5b818501915085601f83011261087e578384fd5b81358181111561089057610890610af9565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811085821117156108d3576108d3610af9565b604052828152858101935084860182860187018a10156108f1578788fd5b8795505b838610156109135780358552600195909501949386019386016108f5565b5098975050505050505050565b600060208284031215610931578081fd5b5035919050565b60008151808452610950816020860160208601610a61565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008251610994818460208701610a61565b9190910192915050565b6020808252825182820181905260009190848201906040850190845b818110156109d6578351835292840192918401916001016109ba565b50909695505050505050565b6020815260006107156020830184610938565b60008219821115610a0857610a08610aca565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a4557610a45610aca565b500290565b600082821015610a5c57610a5c610aca565b500390565b60005b83811015610a7c578181015183820152602001610a64565b83811115610a8b576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610ac357610ac3610aca565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212207c7b9894fc8365ea02cb844702379c00f3d440e82082dc73724829fd124ddf8364736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleChainableProxyConnector__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleChainableProxyConnector__factory = SampleChainableProxyConnector__factory; +SampleChainableProxyConnector__factory.bytecode = _bytecode; +SampleChainableProxyConnector__factory.abi = _abi; +//# sourceMappingURL=SampleChainableProxyConnector__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js.map new file mode 100644 index 00000000..3b3ee071 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableProxyConnector__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,+BAA+B;QACrC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,oCAAoC;QAC1C,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI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AAC;AAEF,MAAM,SAAS,GACb,gwLAAgwL,CAAC;AAMnwL,MAAM,WAAW,GAAG,CAClB,EAAkD,EACG,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,sCAAuC,SAAQ,wBAAe;IACzE,YAAY,GAAG,IAAoD;QACjE,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CACjB,SAAS,IAAI,EAAE,CAC0B,CAAC;IAC9C,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAkC,CAAC;IAChE,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA2C,CAAC;IACzE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA2C,CAAC;IAC7E,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACgB,CAAC;IACrC,CAAC;;AA1CH,wFA2CC;AAfiB,+CAAQ,GAAG,SAAS,CAAC;AACrB,0CAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts new file mode 100644 index 00000000..4c9fa4df --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts @@ -0,0 +1,58 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { SampleChainableStorageProxyConsumer, SampleChainableStorageProxyConsumerInterface } from "../../../../contracts/samples/benchmarks/SampleChainableStorageProxyConsumer"; +declare type SampleChainableStorageProxyConsumerConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleChainableStorageProxyConsumer__factory extends ContractFactory { + constructor(...args: SampleChainableStorageProxyConsumerConstructorParams); + deploy(_sampleStorageProxy: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(_sampleStorageProxy: PromiseOrValue, overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleChainableStorageProxyConsumer; + connect(signer: Signer): SampleChainableStorageProxyConsumer__factory; + static readonly bytecode = "0x6080604052600060025534801561001557600080fd5b5060405161081238038061081283398101604081905261003491610059565b600080546001600160a01b0319166001600160a01b0392909216919091179055610087565b60006020828403121561006a578081fd5b81516001600160a01b0381168114610080578182fd5b9392505050565b61077c806100966000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630f6561e7146100515780634420e486146100665780634db39f23146100bd578063fabdf836146100d0575b600080fd5b60025460405190815260200160405180910390f35b6100bb610074366004610419565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b005b6100bb6100cb366004610573565b6100e3565b6100bb6100de366004610454565b610253565b60015473ffffffffffffffffffffffffffffffffffffffff1615610189576001546040517f4db39f230000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690634db39f23906024015b600060405180830381600087803b15801561016e57600080fd5b505af1158015610182573d6000803e3d6000fd5b5050505050565b600080546040517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b1580156101f457600080fd5b505afa158015610208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022c919061058b565b905061023981602a610672565b6002600082825461024a919061065a565b90915550505050565b60015473ffffffffffffffffffffffffffffffffffffffff16156102c7576001546040517ffabdf83600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063fabdf836906101549084906004016105a3565b600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061031e9085906004016105a3565b60006040518083038186803b15801561033657600080fd5b505afa15801561034a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261039091908101906104ec565b905060005b8251811015610414578181815181106103d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151602a6103eb9190610672565b600260008282546103fc919061065a565b9091555081905061040c816106af565b915050610395565b505050565b60006020828403121561042a578081fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461044d578182fd5b9392505050565b60006020808385031215610466578182fd5b823567ffffffffffffffff81111561047c578283fd5b8301601f8101851361048c578283fd5b803561049f61049a82610636565b6105e7565b80828252848201915084840188868560051b87010111156104be578687fd5b8694505b838510156104e05780358352600194909401939185019185016104c2565b50979650505050505050565b600060208083850312156104fe578182fd5b825167ffffffffffffffff811115610514578283fd5b8301601f81018513610524578283fd5b805161053261049a82610636565b80828252848201915084840188868560051b8701011115610551578687fd5b8694505b838510156104e0578051835260019490940193918501918501610555565b600060208284031215610584578081fd5b5035919050565b60006020828403121561059c578081fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156105db578351835292840192918401916001016105bf565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561062e5761062e610717565b604052919050565b600067ffffffffffffffff82111561065057610650610717565b5060051b60200190565b6000821982111561066d5761066d6106e8565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156106aa576106aa6106e8565b500290565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156106e1576106e16106e8565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212205baba14ccf84a47c1b8195d5b10195d4f36806091226ab0ea9e395be0b15625f64736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + name?: undefined; + outputs?: undefined; + } | { + inputs: never[]; + name: string; + type: string; + stateMutability?: undefined; + outputs?: undefined; + } | { + inputs: never[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: never[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleChainableStorageProxyConsumerInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleChainableStorageProxyConsumer; +} +export {}; +//# sourceMappingURL=SampleChainableStorageProxyConsumer__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts.map new file mode 100644 index 00000000..934f2459 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxyConsumer__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,mCAAmC,EACnC,4CAA4C,EAC7C,MAAM,8EAA8E,CAAC;AA4EtF,aAAK,oDAAoD,GACrD,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,4CAA6C,SAAQ,eAAe;gBACnE,GAAG,IAAI,EAAE,oDAAoD;IAQhE,MAAM,CACb,mBAAmB,EAAE,cAAc,CAAC,MAAM,CAAC,EAC3C,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,mCAAmC,CAAC;IAMtC,oBAAoB,CAC3B,mBAAmB,EAAE,cAAc,CAAC,MAAM,CAAC,EAC3C,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,mCAAmC;IAG5D,OAAO,CACd,MAAM,EAAE,MAAM,GACb,4CAA4C;IAM/C,MAAM,CAAC,QAAQ,CAAC,QAAQ,4iIAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,4CAA4C;IAKtE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,mCAAmC;CAOvC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js new file mode 100644 index 00000000..e94ec02d --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js @@ -0,0 +1,111 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleChainableStorageProxyConsumer__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [ + { + internalType: "address", + name: "_sampleStorageProxy", + type: "address", + }, + ], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "UnexpectedOracleValue", + type: "error", + }, + { + inputs: [], + name: "getComputationResult", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "processOracleValue", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "processOracleValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "_nextContract", + type: "address", + }, + ], + name: "register", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, +]; +const _bytecode = "0x6080604052600060025534801561001557600080fd5b5060405161081238038061081283398101604081905261003491610059565b600080546001600160a01b0319166001600160a01b0392909216919091179055610087565b60006020828403121561006a578081fd5b81516001600160a01b0381168114610080578182fd5b9392505050565b61077c806100966000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630f6561e7146100515780634420e486146100665780634db39f23146100bd578063fabdf836146100d0575b600080fd5b60025460405190815260200160405180910390f35b6100bb610074366004610419565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b005b6100bb6100cb366004610573565b6100e3565b6100bb6100de366004610454565b610253565b60015473ffffffffffffffffffffffffffffffffffffffff1615610189576001546040517f4db39f230000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690634db39f23906024015b600060405180830381600087803b15801561016e57600080fd5b505af1158015610182573d6000803e3d6000fd5b5050505050565b600080546040517ff5bcb8d60000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063f5bcb8d69060240160206040518083038186803b1580156101f457600080fd5b505afa158015610208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022c919061058b565b905061023981602a610672565b6002600082825461024a919061065a565b90915550505050565b60015473ffffffffffffffffffffffffffffffffffffffff16156102c7576001546040517ffabdf83600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063fabdf836906101549084906004016105a3565b600080546040517f9b606ed900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690639b606ed99061031e9085906004016105a3565b60006040518083038186803b15801561033657600080fd5b505afa15801561034a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261039091908101906104ec565b905060005b8251811015610414578181815181106103d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151602a6103eb9190610672565b600260008282546103fc919061065a565b9091555081905061040c816106af565b915050610395565b505050565b60006020828403121561042a578081fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461044d578182fd5b9392505050565b60006020808385031215610466578182fd5b823567ffffffffffffffff81111561047c578283fd5b8301601f8101851361048c578283fd5b803561049f61049a82610636565b6105e7565b80828252848201915084840188868560051b87010111156104be578687fd5b8694505b838510156104e05780358352600194909401939185019185016104c2565b50979650505050505050565b600060208083850312156104fe578182fd5b825167ffffffffffffffff811115610514578283fd5b8301601f81018513610524578283fd5b805161053261049a82610636565b80828252848201915084840188868560051b8701011115610551578687fd5b8694505b838510156104e0578051835260019490940193918501918501610555565b600060208284031215610584578081fd5b5035919050565b60006020828403121561059c578081fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156105db578351835292840192918401916001016105bf565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561062e5761062e610717565b604052919050565b600067ffffffffffffffff82111561065057610650610717565b5060051b60200190565b6000821982111561066d5761066d6106e8565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156106aa576106aa6106e8565b500290565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156106e1576106e16106e8565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212205baba14ccf84a47c1b8195d5b10195d4f36806091226ab0ea9e395be0b15625f64736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleChainableStorageProxyConsumer__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(_sampleStorageProxy, overrides) { + return super.deploy(_sampleStorageProxy, overrides || {}); + } + getDeployTransaction(_sampleStorageProxy, overrides) { + return super.getDeployTransaction(_sampleStorageProxy, overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleChainableStorageProxyConsumer__factory = SampleChainableStorageProxyConsumer__factory; +SampleChainableStorageProxyConsumer__factory.bytecode = _bytecode; +SampleChainableStorageProxyConsumer__factory.abi = _abi; +//# sourceMappingURL=SampleChainableStorageProxyConsumer__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js.map new file mode 100644 index 00000000..1b8bbf8e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxyConsumer__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,sBAAsB;QAC5B,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAA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AAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAwC,CAAC;IACtE,CAAC;IACQ,OAAO,CACd,MAAc;QAEd,OAAO,KAAK,CAAC,OAAO,CAClB,MAAM,CACyC,CAAC;IACpD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CACxB,IAAI,CAC2C,CAAC;IACpD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACsB,CAAC;IAC3C,CAAC;;AAnDH,oGAoDC;AAjBiB,qDAAQ,GAAG,SAAS,CAAC;AACrB,gDAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts new file mode 100644 index 00000000..5e1cd284 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { SampleChainableStorageProxy, SampleChainableStorageProxyInterface } from "../../../../contracts/samples/benchmarks/SampleChainableStorageProxy"; +declare type SampleChainableStorageProxyConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleChainableStorageProxy__factory extends ContractFactory { + constructor(...args: SampleChainableStorageProxyConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleChainableStorageProxy; + connect(signer: Signer): SampleChainableStorageProxy__factory; + static readonly bytecode = "0x60806040526000805460ff60a01b1916600160a01b17905534801561002357600080fd5b50611a8a806100336000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063a09f9c3a11610097578063f50b2efe11610066578063f50b2efe146102b3578063f5bcb8d6146102c6578063f90c4924146102e6578063fabdf8361461030957600080fd5b8063a09f9c3a14610220578063b24ebfcc1461027a578063d22158fa1461028d578063df2c65b3146102a057600080fd5b80634420e486116100d35780634420e486146101855780634db39f23146101da57806395262d9f146101ed5780639b606ed91461020057600080fd5b80632a5284a9146101055780633ce142f5146101385780633d60fee31461015d578063429989f014610172575b600080fd5b610125610113366004611855565b60016020526000908152604090205481565b6040519081526020015b60405180910390f35b61014b610146366004611789565b61031c565b60405160ff909116815260200161012f565b61017061016b366004611855565b61032d565b005b61014b610180366004611789565b610348565b610170610193366004611789565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6101706101e8366004611855565b610821565b61014b6101fb366004611789565b6108b2565b61021361020e3660046117bd565b6108bd565b60405161012f919061188e565b61017061022e36600461186d565b6000805460ff90921674010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6101256102883660046117bd565b6109a0565b61014b61029b366004611789565b6109ab565b6101706102ae3660046117bd565b610a32565b6101706102c1366004611855565b610ac9565b6101256102d4366004611855565b60009081526001602052604090205490565b60005474010000000000000000000000000000000000000000900460ff1661014b565b6101706103173660046117bd565b610b0c565b6000610327826108b2565b92915050565b61033681610b6b565b60009182526001602052604090912055565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561038457506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156103be57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156103f857506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561043257506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561046c57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156104a657506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104e057506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561051a57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561055457506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561058e57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105c85750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106025750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561063c5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106765750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106b05750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106ea5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561072457506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561075e57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561079857506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107d257506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b61082a8161032d565b6000546040517f4db39f230000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690634db39f23906024015b600060405180830381600087803b15801561089757600080fd5b505af11580156108ab573d6000803e3d6000fd5b5050505050565b6000610327826109ab565b60606000825167ffffffffffffffff8111156108e957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610912578160200160208202803683370190505b50905060005b8351811015610999576001600085838151811061094557634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205482828151811061097c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610991816119c5565b915050610918565b5092915050565b600061032782610bf7565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610a29576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610818565b61032782610348565b6000610a3d82610c02565b905060005b8251811015610ac457818181518110610a6b57634e487b7160e01b600052603260045260246000fd5b602002602001015160016000858481518110610a9757634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080610abc906119c5565b915050610a42565b505050565b6501812f2590c0811015610b09576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b610b1581610a32565b6000546040517ffabdf83600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063fabdf8369061087d90849060040161188e565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610bb257634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610bc781610c02565b600081518110610be757634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061032782610c0d565b606061032782610d11565b6000815160001415610c4b576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c5482610f5d565b600060028351610c64919061195d565b905060028351610c7491906119fe565b610cf1576000610cdc84610c896001856119ae565b81518110610ca757634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610ccf57634e487b7160e01b600052603260045260246000fd5b6020026020010151610fab565b9050610ce960028261195d565b949350505050565b828181518110610be757634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff811115610d3d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d66578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610d9357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610dbc578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610de957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e1c57816020015b6060815260200190600190039081610e075790505b50905060005b8551811015610ed75760005474010000000000000000000000000000000000000000900460ff1667ffffffffffffffff811115610e6f57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e98578160200160208202803683370190505b50828281518110610eb957634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610ecf906119c5565b915050610e22565b506000610ee2610fbe565b90506000610eef826110ec565b61ffff169050610f00600283611945565b60405190925060005b82811015610f46576000610f208a8989898961113f565b9050610f2c8186611945565b945082604052508080610f3e906119c5565b915050610f09565b50610f51848761148a565b98975050505050505050565b8051602082016020820281019150805b82811015610fa557815b81811015610f9c578151815180821015610f92578084528183525b5050602001610f77565b50602001610f6d565b50505050565b6000610fb78284611945565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480611026576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611063576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd73601356000600961109c600362ffffff8516611945565b6110a69190611945565b9050366110b4600283611945565b1115610fb7576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110fa602084611945565b905036811115611136576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061114e8561162c565b909250905060008080606081600d61117161116a602089611945565b899061167c565b61117b9190611945565b9050600061119461118d60688d611945565b3690611688565b905060006111b1836111a760418f611945565b61118d9190611945565b90506111bd83826111d0565b9350826020850120945081359650611212565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6112238765ffffffffffff16610ac9565b6112378561123260418f611945565b611694565b95506112428661031c565b60ff1699505050505050505060008060005b848110156114575761126788858361172a565b909350915060005b8c51811015611444578c818151811061129857634e487b7160e01b600052603260045260246000fd5b60200260200101518414156114325760008b82815181106112c957634e487b7160e01b600052603260045260246000fd5b602002602001015190506112e281896001901b16151590565b158015611335575060005474010000000000000000000000000000000000000000900460ff1660ff168d838151811061132b57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561142c578c828151811061135a57634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061136f906119c5565b81525050838b838151811061139457634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106113be57634e487b7160e01b600052603260045260246000fd5b60200260200101516113d091906119ae565b815181106113ee57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061141f57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611444565b8061143c816119c5565b91505061126f565b508061144f816119c5565b915050611254565b505050816020826114689190611945565b6114729190611971565b61147d90604e611945565b9998505050505050505050565b60606000835167ffffffffffffffff8111156114b657634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156114df578160200160208202803683370190505b509050600061150960005460ff740100000000000000000000000000000000000000009091041690565b60ff16905060005b8551811015611622578185828151811061153b57634e487b7160e01b600052603260045260246000fd5b602002602001015110156115af5784818151811061156957634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610818929190918252602082015260400190565b60006115e18783815181106115d457634e487b7160e01b600052603260045260246000fd5b60200260200101516109a0565b90508084838151811061160457634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061161a816119c5565b915050611511565b5090949350505050565b60008080808061163d604187611945565b9050600061164f61118d602084611945565b803594509050611660816003611688565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610fb78284611971565b6000610fb782846119ae565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156116f7573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611739604e87611945565b9050600061176661175f61174e602089611945565b611759886001611945565b9061167c565b8390610fab565b905060006117743683611688565b80359960209091013598509650505050505050565b60006020828403121561179a578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610fb7578182fd5b600060208083850312156117cf578182fd5b823567ffffffffffffffff8111156117e5578283fd5b8301601f810185136117f5578283fd5b803561180861180382611921565b6118d2565b80828252848201915084840188868560051b8701011115611827578687fd5b8694505b8385101561184957803583526001949094019391850191850161182b565b50979650505050505050565b600060208284031215611866578081fd5b5035919050565b60006020828403121561187e578081fd5b813560ff81168114610fb7578182fd5b6020808252825182820181905260009190848201906040850190845b818110156118c6578351835292840192918401916001016118aa565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561191957611919611a3e565b604052919050565b600067ffffffffffffffff82111561193b5761193b611a3e565b5060051b60200190565b6000821982111561195857611958611a12565b500190565b60008261196c5761196c611a28565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156119a9576119a9611a12565b500290565b6000828210156119c0576119c0611a12565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156119f7576119f7611a12565b5060010190565b600082611a0d57611a0d611a28565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a66c3059c64ab9373ee262d7d9f5256729349234c1173136e35c5d4e7666d82564736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleChainableStorageProxyInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleChainableStorageProxy; +} +export {}; +//# sourceMappingURL=SampleChainableStorageProxy__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts.map new file mode 100644 index 00000000..c8be96af --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxy__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,sEAAsE,CAAC;AA2U9E,aAAK,4CAA4C,GAC7C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,oCAAqC,SAAQ,eAAe;gBAC3D,GAAG,IAAI,EAAE,4CAA4C;IAQxD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,2BAA2B,CAAC;IAK9B,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,2BAA2B;IAGpD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,oCAAoC;IAItE,MAAM,CAAC,QAAQ,CAAC,QAAQ,k4aAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oCAAoC;IAG9D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,2BAA2B;CAO/B"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js new file mode 100644 index 00000000..e31b3e29 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js @@ -0,0 +1,366 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleChainableStorageProxy__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getOracleValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "getOracleValues", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + name: "oracleValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "processOracleValue", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "processOracleValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "_sampleContract", + type: "address", + }, + ], + name: "register", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "saveOracleValueInContractStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "saveOracleValuesInContractStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint8", + name: "newUniqueSignersThreshold", + type: "uint8", + }, + ], + name: "updateUniqueSignersThreshold", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x60806040526000805460ff60a01b1916600160a01b17905534801561002357600080fd5b50611a8a806100336000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063a09f9c3a11610097578063f50b2efe11610066578063f50b2efe146102b3578063f5bcb8d6146102c6578063f90c4924146102e6578063fabdf8361461030957600080fd5b8063a09f9c3a14610220578063b24ebfcc1461027a578063d22158fa1461028d578063df2c65b3146102a057600080fd5b80634420e486116100d35780634420e486146101855780634db39f23146101da57806395262d9f146101ed5780639b606ed91461020057600080fd5b80632a5284a9146101055780633ce142f5146101385780633d60fee31461015d578063429989f014610172575b600080fd5b610125610113366004611855565b60016020526000908152604090205481565b6040519081526020015b60405180910390f35b61014b610146366004611789565b61031c565b60405160ff909116815260200161012f565b61017061016b366004611855565b61032d565b005b61014b610180366004611789565b610348565b610170610193366004611789565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6101706101e8366004611855565b610821565b61014b6101fb366004611789565b6108b2565b61021361020e3660046117bd565b6108bd565b60405161012f919061188e565b61017061022e36600461186d565b6000805460ff90921674010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6101256102883660046117bd565b6109a0565b61014b61029b366004611789565b6109ab565b6101706102ae3660046117bd565b610a32565b6101706102c1366004611855565b610ac9565b6101256102d4366004611855565b60009081526001602052604090205490565b60005474010000000000000000000000000000000000000000900460ff1661014b565b6101706103173660046117bd565b610b0c565b6000610327826108b2565b92915050565b61033681610b6b565b60009182526001602052604090912055565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561038457506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156103be57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156103f857506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561043257506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561046c57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156104a657506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156104e057506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561051a57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561055457506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561058e57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156105c85750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156106025750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561063c5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156106765750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156106b05750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156106ea5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561072457506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561075e57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561079857506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156107d257506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b61082a8161032d565b6000546040517f4db39f230000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff90911690634db39f23906024015b600060405180830381600087803b15801561089757600080fd5b505af11580156108ab573d6000803e3d6000fd5b5050505050565b6000610327826109ab565b60606000825167ffffffffffffffff8111156108e957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610912578160200160208202803683370190505b50905060005b8351811015610999576001600085838151811061094557634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205482828151811061097c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610991816119c5565b915050610918565b5092915050565b600061032782610bf7565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610a29576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610818565b61032782610348565b6000610a3d82610c02565b905060005b8251811015610ac457818181518110610a6b57634e487b7160e01b600052603260045260246000fd5b602002602001015160016000858481518110610a9757634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080610abc906119c5565b915050610a42565b505050565b6501812f2590c0811015610b09576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b610b1581610a32565b6000546040517ffabdf83600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063fabdf8369061087d90849060040161188e565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610bb257634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610bc781610c02565b600081518110610be757634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061032782610c0d565b606061032782610d11565b6000815160001415610c4b576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c5482610f5d565b600060028351610c64919061195d565b905060028351610c7491906119fe565b610cf1576000610cdc84610c896001856119ae565b81518110610ca757634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610ccf57634e487b7160e01b600052603260045260246000fd5b6020026020010151610fab565b9050610ce960028261195d565b949350505050565b828181518110610be757634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff811115610d3d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d66578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610d9357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610dbc578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610de957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e1c57816020015b6060815260200190600190039081610e075790505b50905060005b8551811015610ed75760005474010000000000000000000000000000000000000000900460ff1667ffffffffffffffff811115610e6f57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e98578160200160208202803683370190505b50828281518110610eb957634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610ecf906119c5565b915050610e22565b506000610ee2610fbe565b90506000610eef826110ec565b61ffff169050610f00600283611945565b60405190925060005b82811015610f46576000610f208a8989898961113f565b9050610f2c8186611945565b945082604052508080610f3e906119c5565b915050610f09565b50610f51848761148a565b98975050505050505050565b8051602082016020820281019150805b82811015610fa557815b81811015610f9c578151815180821015610f92578084528183525b5050602001610f77565b50602001610f6d565b50505050565b6000610fb78284611945565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480611026576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611063576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd73601356000600961109c600362ffffff8516611945565b6110a69190611945565b9050366110b4600283611945565b1115610fb7576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110fa602084611945565b905036811115611136576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b60008060008061114e8561162c565b909250905060008080606081600d61117161116a602089611945565b899061167c565b61117b9190611945565b9050600061119461118d60688d611945565b3690611688565b905060006111b1836111a760418f611945565b61118d9190611945565b90506111bd83826111d0565b9350826020850120945081359650611212565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6112238765ffffffffffff16610ac9565b6112378561123260418f611945565b611694565b95506112428661031c565b60ff1699505050505050505060008060005b848110156114575761126788858361172a565b909350915060005b8c51811015611444578c818151811061129857634e487b7160e01b600052603260045260246000fd5b60200260200101518414156114325760008b82815181106112c957634e487b7160e01b600052603260045260246000fd5b602002602001015190506112e281896001901b16151590565b158015611335575060005474010000000000000000000000000000000000000000900460ff1660ff168d838151811061132b57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b1561142c578c828151811061135a57634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061136f906119c5565b81525050838b838151811061139457634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106113be57634e487b7160e01b600052603260045260246000fd5b60200260200101516113d091906119ae565b815181106113ee57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061141f57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611444565b8061143c816119c5565b91505061126f565b508061144f816119c5565b915050611254565b505050816020826114689190611945565b6114729190611971565b61147d90604e611945565b9998505050505050505050565b60606000835167ffffffffffffffff8111156114b657634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156114df578160200160208202803683370190505b509050600061150960005460ff740100000000000000000000000000000000000000009091041690565b60ff16905060005b8551811015611622578185828151811061153b57634e487b7160e01b600052603260045260246000fd5b602002602001015110156115af5784818151811061156957634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610818929190918252602082015260400190565b60006115e18783815181106115d457634e487b7160e01b600052603260045260246000fd5b60200260200101516109a0565b90508084838151811061160457634e487b7160e01b600052603260045260246000fd5b6020908102919091010152508061161a816119c5565b915050611511565b5090949350505050565b60008080808061163d604187611945565b9050600061164f61118d602084611945565b803594509050611660816003611688565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610fb78284611971565b6000610fb782846119ae565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156116f7573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611739604e87611945565b9050600061176661175f61174e602089611945565b611759886001611945565b9061167c565b8390610fab565b905060006117743683611688565b80359960209091013598509650505050505050565b60006020828403121561179a578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610fb7578182fd5b600060208083850312156117cf578182fd5b823567ffffffffffffffff8111156117e5578283fd5b8301601f810185136117f5578283fd5b803561180861180382611921565b6118d2565b80828252848201915084840188868560051b8701011115611827578687fd5b8694505b8385101561184957803583526001949094019391850191850161182b565b50979650505050505050565b600060208284031215611866578081fd5b5035919050565b60006020828403121561187e578081fd5b813560ff81168114610fb7578182fd5b6020808252825182820181905260009190848201906040850190845b818110156118c6578351835292840192918401916001016118aa565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561191957611919611a3e565b604052919050565b600067ffffffffffffffff82111561193b5761193b611a3e565b5060051b60200190565b6000821982111561195857611958611a12565b500190565b60008261196c5761196c611a28565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156119a9576119a9611a12565b500290565b6000828210156119c0576119c0611a12565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156119f7576119f7611a12565b5060010190565b600082611a0d57611a0d611a28565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a66c3059c64ab9373ee262d7d9f5256729349234c1173136e35c5d4e7666d82564736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleChainableStorageProxy__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleChainableStorageProxy__factory = SampleChainableStorageProxy__factory; +SampleChainableStorageProxy__factory.bytecode = _bytecode; +SampleChainableStorageProxy__factory.abi = _abi; +//# sourceMappingURL=SampleChainableStorageProxy__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js.map new file mode 100644 index 00000000..fa7e38f6 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleChainableStorageProxy__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mCAAmC;QACzC,IAA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MAAM,WAAW,GAAG,CAClB,EAAgD,EACK,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,oCAAqC,SAAQ,wBAAe;IACvE,YAAY,GAAG,IAAkD;QAC/D,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CACjB,SAAS,IAAI,EAAE,CACwB,CAAC;IAC5C,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAgC,CAAC;IAC9D,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAyC,CAAC;IACvE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAyC,CAAC;IAC3E,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACc,CAAC;IACnC,CAAC;;AA1CH,oFA2CC;AAfiB,6CAAQ,GAAG,SAAS,CAAC;AACrB,wCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts new file mode 100644 index 00000000..f669ff34 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { SampleProxyConnectorConsumer, SampleProxyConnectorConsumerInterface } from "../../../../contracts/samples/benchmarks/SampleProxyConnectorConsumer"; +declare type SampleProxyConnectorConsumerConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class SampleProxyConnectorConsumer__factory extends ContractFactory { + constructor(...args: SampleProxyConnectorConsumerConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): SampleProxyConnectorConsumer; + connect(signer: Signer): SampleProxyConnectorConsumer__factory; + static readonly bytecode = "0x6080604052600060019081556002805460ff1916909117905534801561002457600080fd5b50611b02806100346000396000f3fe6080604052600436106101445760003560e01c80637a1202c8116100c0578063c06a97cb11610074578063f50b2efe11610059578063f50b2efe14610363578063f90c492414610383578063fabdf8361461039b57600080fd5b8063c06a97cb1461032e578063d22158fa1461034357600080fd5b806395262d9f116100a557806395262d9f1461029f578063a09f9c3a146102bf578063b24ebfcc1461030e57600080fd5b80637a1202c8146102795780638e7a41201461029957600080fd5b80633d60fee3116101175780634db39f23116100fc5780634db39f23146102165780634f178e44146102365780635ddf81ba1461026357600080fd5b80633d60fee3146101d6578063429989f0146101f657600080fd5b80630f6561e714610149578063351d31ab1461016d5780633c154daf1461018d5780633ce142f5146101a4575b600080fd5b34801561015557600080fd5b506001545b6040519081526020015b60405180910390f35b34801561017957600080fd5b5061015a610188366004611806565b6103bb565b34801561019957600080fd5b506101a26103d2565b005b3480156101b057600080fd5b506101c46101bf366004611722565b610439565b60405160ff9091168152602001610164565b3480156101e257600080fd5b506101a26101f13660046117ee565b61044a565b34801561020257600080fd5b506101c4610211366004611722565b610459565b34801561022257600080fd5b506101a26102313660046117ee565b61092d565b34801561024257600080fd5b50610256610251366004611756565b61095f565b6040516101649190611906565b34801561026f57600080fd5b5061015a60005481565b34801561028557600080fd5b5061015a6102943660046117ee565b61096a565b3461015a565b3480156102ab57600080fd5b506101c46102ba366004611722565b610975565b3480156102cb57600080fd5b506101a26102da3660046118e5565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055565b34801561031a57600080fd5b5061015a610329366004611756565b610980565b34801561033a57600080fd5b506101a2600080fd5b34801561034f57600080fd5b506101c461035e366004611722565b61098b565b34801561036f57600080fd5b506101a261037e3660046117ee565b610a12565b34801561038f57600080fd5b5060025460ff166101c4565b3480156103a757600080fd5b506101a26103b6366004611756565b610a55565b60006103c688610ad0565b98975050505050505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f54657374206d657373616765000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600061044482610975565b92915050565b61045381610ad0565b60005550565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561049557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156104cf57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561050957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561054357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561057d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156105b757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156105f157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561062b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561066557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561069f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106d95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156107135750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561074d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156107875750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107c15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107fb5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561083557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561086f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156108a957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108e357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610430565b600061093882610ad0565b905061094581602a6119e9565b6001600082825461095691906119bd565b90915550505050565b606061044482610b5c565b600061044482610ad0565b60006104448261098b565b600061044482610b67565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610a09576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610430565b61044482610459565b6501812f2590c0811015610a52576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6000610a6082610b5c565b905060005b8251811015610acb57818181518110610a8e57634e487b7160e01b600052603260045260246000fd5b6020026020010151602a610aa291906119e9565b60016000828254610ab391906119bd565b90915550819050610ac381611a3d565b915050610a65565b505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610b1757634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610b2c81610b5c565b600081518110610b4c57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b606061044482610b72565b600061044482610d9a565b60606000825167ffffffffffffffff811115610b9e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bc7578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610bf457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c1d578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610c4a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c7d57816020015b6060815260200190600190039081610c685790505b50905060005b8551811015610d205760025460ff1667ffffffffffffffff811115610cb857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ce1578160200160208202803683370190505b50828281518110610d0257634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610d1890611a3d565b915050610c83565b506000610d2b610e9e565b90506000610d3882610fd3565b61ffff169050610d496002836119bd565b60405190925060005b82811015610d8f576000610d698a89898989611026565b9050610d7581866119bd565b945082604052508080610d8790611a3d565b915050610d52565b506103c68487611359565b6000815160001415610dd8576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610de1826114e2565b600060028351610df191906119d5565b905060028351610e019190611a76565b610e7e576000610e6984610e16600185611a26565b81518110610e3457634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610e5c57634e487b7160e01b600052603260045260246000fd5b6020026020010151611530565b9050610e766002826119d5565b949350505050565b828181518110610b4c57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610f06576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610f43576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610f7c600362ffffff85166119bd565b610f8691906119bd565b905036610f946002836119bd565b1115610fcc576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610fe16020846119bd565b90503681111561101d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b6000806000806110358561153c565b909250905060008080606081600d6110586110516020896119bd565b899061158c565b61106291906119bd565b9050600061107b61107460688d6119bd565b3690611598565b905060006110988361108e60418f6119bd565b61107491906119bd565b90506110a483826110b7565b93508260208501209450813596506110f9565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b61110a8765ffffffffffff16610a12565b61111e8561111960418f6119bd565b6115a4565b955061112986610439565b60ff1699505050505050505060008060005b848110156113265761114e88858361163a565b909350915060005b8c51811015611313578c818151811061117f57634e487b7160e01b600052603260045260246000fd5b60200260200101518414156113015760008b82815181106111b057634e487b7160e01b600052603260045260246000fd5b602002602001015190506111c981896001901b16151590565b158015611204575060025460ff1660ff168d83815181106111fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b156112fb578c828151811061122957634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061123e90611a3d565b81525050838b838151811061126357634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061128d57634e487b7160e01b600052603260045260246000fd5b602002602001015161129f9190611a26565b815181106112bd57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c83815181106112ee57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611313565b8061130b81611a3d565b915050611156565b508061131e81611a3d565b91505061113b565b5050508160208261133791906119bd565b61134191906119e9565b61134c90604e6119bd565b9998505050505050505050565b60606000835167ffffffffffffffff81111561138557634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156113ae578160200160208202803683370190505b50905060006113bf60025460ff1690565b60ff16905060005b85518110156114d857818582815181106113f157634e487b7160e01b600052603260045260246000fd5b602002602001015110156114655784818151811061141f57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610430929190918252602082015260400190565b600061149787838151811061148a57634e487b7160e01b600052603260045260246000fd5b6020026020010151610980565b9050808483815181106114ba57634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806114d081611a3d565b9150506113c7565b5090949350505050565b8051602082016020820281019150805b8281101561152a57815b81811015611521578151815180821015611517578084528183525b50506020016114fc565b506020016114f2565b50505050565b6000610fcc82846119bd565b60008080808061154d6041876119bd565b9050600061155f6110746020846119bd565b803594509050611570816003611598565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610fcc82846119e9565b6000610fcc8284611a26565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611607573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611649604e876119bd565b9050600061167661166f61165e6020896119bd565b6116698860016119bd565b9061158c565b8390611530565b905060006116843683611598565b80359960209091013598509650505050505050565b600082601f8301126116a9578081fd5b813567ffffffffffffffff8111156116c3576116c3611ab6565b6116f460207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161194a565b818152846020838601011115611708578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215611733578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610fcc578182fd5b60006020808385031215611768578182fd5b823567ffffffffffffffff81111561177e578283fd5b8301601f8101851361178e578283fd5b80356117a161179c82611999565b61194a565b80828252848201915084840188868560051b87010111156117c0578687fd5b8694505b838510156117e25780358352600194909401939185019185016117c4565b50979650505050505050565b6000602082840312156117ff578081fd5b5035919050565b600080600080600080600060e0888a031215611820578283fd5b8735965060208801359550604088013567ffffffffffffffff80821115611845578485fd5b6118518b838c01611699565b965060608a0135915080821115611866578485fd5b6118728b838c01611699565b955060808a0135915080821115611887578485fd5b6118938b838c01611699565b945060a08a01359150808211156118a8578384fd5b6118b48b838c01611699565b935060c08a01359150808211156118c9578283fd5b506118d68a828b01611699565b91505092959891949750929550565b6000602082840312156118f6578081fd5b813560ff81168114610fcc578182fd5b6020808252825182820181905260009190848201906040850190845b8181101561193e57835183529284019291840191600101611922565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199157611991611ab6565b604052919050565b600067ffffffffffffffff8211156119b3576119b3611ab6565b5060051b60200190565b600082198211156119d0576119d0611a8a565b500190565b6000826119e4576119e4611aa0565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611a2157611a21611a8a565b500290565b600082821015611a3857611a38611a8a565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611a6f57611a6f611a8a565b5060010190565b600082611a8557611a85611aa0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122025f821809c5909c2539b1472fc9b5f727a4a08638af4189d0efa753f62a904f164736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): SampleProxyConnectorConsumerInterface; + static connect(address: string, signerOrProvider: Signer | Provider): SampleProxyConnectorConsumer; +} +export {}; +//# sourceMappingURL=SampleProxyConnectorConsumer__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts.map new file mode 100644 index 00000000..e0eeddf3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnectorConsumer__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,4BAA4B,EAC5B,qCAAqC,EACtC,MAAM,uEAAuE,CAAC;AAoY/E,aAAK,6CAA6C,GAC9C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,qCAAsC,SAAQ,eAAe;gBAC5D,GAAG,IAAI,EAAE,6CAA6C;IAQzD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,4BAA4B,CAAC;IAK/B,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,4BAA4B;IAGrD,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,qCAAqC;IAIvE,MAAM,CAAC,QAAQ,CAAC,QAAQ,onbAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,qCAAqC;IAG/D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,4BAA4B;CAOhC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js new file mode 100644 index 00000000..0881bcca --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js @@ -0,0 +1,423 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleProxyConnectorConsumer__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getComputationResult", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "getValueForDataFeedId", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + { + internalType: "uint256", + name: "mockArg1", + type: "uint256", + }, + { + internalType: "string", + name: "mockArg2", + type: "string", + }, + { + internalType: "string", + name: "mockArg3", + type: "string", + }, + { + internalType: "string", + name: "mockArg4", + type: "string", + }, + { + internalType: "string", + name: "mockArg5", + type: "string", + }, + { + internalType: "string", + name: "mockArg6", + type: "string", + }, + ], + name: "getValueManyParams", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "getValuesForDataFeedIds", + outputs: [ + { + internalType: "uint256[]", + name: "", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "latestSavedValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "processOracleValue", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "dataFeedIds", + type: "bytes32[]", + }, + ], + name: "processOracleValues", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [], + name: "returnMsgValue", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [], + name: "revertWithTestMessage", + outputs: [], + stateMutability: "pure", + type: "function", + }, + { + inputs: [], + name: "revertWithoutMessage", + outputs: [], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "dataFeedId", + type: "bytes32", + }, + ], + name: "saveOracleValueInContractStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint8", + name: "newUniqueSignersThreshold", + type: "uint8", + }, + ], + name: "updateUniqueSignersThreshold", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x6080604052600060019081556002805460ff1916909117905534801561002457600080fd5b50611b02806100346000396000f3fe6080604052600436106101445760003560e01c80637a1202c8116100c0578063c06a97cb11610074578063f50b2efe11610059578063f50b2efe14610363578063f90c492414610383578063fabdf8361461039b57600080fd5b8063c06a97cb1461032e578063d22158fa1461034357600080fd5b806395262d9f116100a557806395262d9f1461029f578063a09f9c3a146102bf578063b24ebfcc1461030e57600080fd5b80637a1202c8146102795780638e7a41201461029957600080fd5b80633d60fee3116101175780634db39f23116100fc5780634db39f23146102165780634f178e44146102365780635ddf81ba1461026357600080fd5b80633d60fee3146101d6578063429989f0146101f657600080fd5b80630f6561e714610149578063351d31ab1461016d5780633c154daf1461018d5780633ce142f5146101a4575b600080fd5b34801561015557600080fd5b506001545b6040519081526020015b60405180910390f35b34801561017957600080fd5b5061015a610188366004611806565b6103bb565b34801561019957600080fd5b506101a26103d2565b005b3480156101b057600080fd5b506101c46101bf366004611722565b610439565b60405160ff9091168152602001610164565b3480156101e257600080fd5b506101a26101f13660046117ee565b61044a565b34801561020257600080fd5b506101c4610211366004611722565b610459565b34801561022257600080fd5b506101a26102313660046117ee565b61092d565b34801561024257600080fd5b50610256610251366004611756565b61095f565b6040516101649190611906565b34801561026f57600080fd5b5061015a60005481565b34801561028557600080fd5b5061015a6102943660046117ee565b61096a565b3461015a565b3480156102ab57600080fd5b506101c46102ba366004611722565b610975565b3480156102cb57600080fd5b506101a26102da3660046118e5565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055565b34801561031a57600080fd5b5061015a610329366004611756565b610980565b34801561033a57600080fd5b506101a2600080fd5b34801561034f57600080fd5b506101c461035e366004611722565b61098b565b34801561036f57600080fd5b506101a261037e3660046117ee565b610a12565b34801561038f57600080fd5b5060025460ff166101c4565b3480156103a757600080fd5b506101a26103b6366004611756565b610a55565b60006103c688610ad0565b98975050505050505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f54657374206d657373616765000000000000000000000000000000000000000060448201526064015b60405180910390fd5b600061044482610975565b92915050565b61045381610ad0565b60005550565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561049557506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156104cf57506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff8316141561050957506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561054357506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561057d57506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff831614156105b757506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156105f157506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561062b57506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561066557506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561069f57506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156106d95750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156107135750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff8316141561074d5750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff831614156107875750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156107c15750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156107fb5750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561083557506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561086f57506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff831614156108a957506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156108e357506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610430565b600061093882610ad0565b905061094581602a6119e9565b6001600082825461095691906119bd565b90915550505050565b606061044482610b5c565b600061044482610ad0565b60006104448261098b565b600061044482610b67565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610a09576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610430565b61044482610459565b6501812f2590c0811015610a52576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6000610a6082610b5c565b905060005b8251811015610acb57818181518110610a8e57634e487b7160e01b600052603260045260246000fd5b6020026020010151602a610aa291906119e9565b60016000828254610ab391906119bd565b90915550819050610ac381611a3d565b915050610a65565b505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610b1757634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610b2c81610b5c565b600081518110610b4c57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b606061044482610b72565b600061044482610d9a565b60606000825167ffffffffffffffff811115610b9e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bc7578160200160208202803683370190505b5090506000835167ffffffffffffffff811115610bf457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c1d578160200160208202803683370190505b5090506000845167ffffffffffffffff811115610c4a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610c7d57816020015b6060815260200190600190039081610c685790505b50905060005b8551811015610d205760025460ff1667ffffffffffffffff811115610cb857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ce1578160200160208202803683370190505b50828281518110610d0257634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610d1890611a3d565b915050610c83565b506000610d2b610e9e565b90506000610d3882610fd3565b61ffff169050610d496002836119bd565b60405190925060005b82811015610d8f576000610d698a89898989611026565b9050610d7581866119bd565b945082604052508080610d8790611a3d565b915050610d52565b506103c68487611359565b6000815160001415610dd8576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610de1826114e2565b600060028351610df191906119d5565b905060028351610e019190611a76565b610e7e576000610e6984610e16600185611a26565b81518110610e3457634e487b7160e01b600052603260045260246000fd5b6020026020010151858481518110610e5c57634e487b7160e01b600052603260045260246000fd5b6020026020010151611530565b9050610e766002826119d5565b949350505050565b828181518110610b4c57634e487b7160e01b600052603260045260246000fd5b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe036013581161480610f06576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115610f43576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd736013560006009610f7c600362ffffff85166119bd565b610f8691906119bd565b905036610f946002836119bd565b1115610fcc576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b600080610fe16020846119bd565b90503681111561101d576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b6000806000806110358561153c565b909250905060008080606081600d6110586110516020896119bd565b899061158c565b61106291906119bd565b9050600061107b61107460688d6119bd565b3690611598565b905060006110988361108e60418f6119bd565b61107491906119bd565b90506110a483826110b7565b93508260208501209450813596506110f9565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b61110a8765ffffffffffff16610a12565b61111e8561111960418f6119bd565b6115a4565b955061112986610439565b60ff1699505050505050505060008060005b848110156113265761114e88858361163a565b909350915060005b8c51811015611313578c818151811061117f57634e487b7160e01b600052603260045260246000fd5b60200260200101518414156113015760008b82815181106111b057634e487b7160e01b600052603260045260246000fd5b602002602001015190506111c981896001901b16151590565b158015611204575060025460ff1660ff168d83815181106111fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151105b156112fb578c828151811061122957634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061123e90611a3d565b81525050838b838151811061126357634e487b7160e01b600052603260045260246000fd5b602002602001015160018f858151811061128d57634e487b7160e01b600052603260045260246000fd5b602002602001015161129f9190611a26565b815181106112bd57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c83815181106112ee57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b50611313565b8061130b81611a3d565b915050611156565b508061131e81611a3d565b91505061113b565b5050508160208261133791906119bd565b61134191906119e9565b61134c90604e6119bd565b9998505050505050505050565b60606000835167ffffffffffffffff81111561138557634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156113ae578160200160208202803683370190505b50905060006113bf60025460ff1690565b60ff16905060005b85518110156114d857818582815181106113f157634e487b7160e01b600052603260045260246000fd5b602002602001015110156114655784818151811061141f57634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610430929190918252602082015260400190565b600061149787838151811061148a57634e487b7160e01b600052603260045260246000fd5b6020026020010151610980565b9050808483815181106114ba57634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806114d081611a3d565b9150506113c7565b5090949350505050565b8051602082016020820281019150805b8281101561152a57815b81811015611521578151815180821015611517578084528183525b50506020016114fc565b506020016114f2565b50505050565b6000610fcc82846119bd565b60008080808061154d6041876119bd565b9050600061155f6110746020846119bd565b803594509050611570816003611598565b62ffffff9490941697933563ffffffff16965092945050505050565b6000610fcc82846119e9565b6000610fcc8284611a26565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa158015611607573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611649604e876119bd565b9050600061167661166f61165e6020896119bd565b6116698860016119bd565b9061158c565b8390611530565b905060006116843683611598565b80359960209091013598509650505050505050565b600082601f8301126116a9578081fd5b813567ffffffffffffffff8111156116c3576116c3611ab6565b6116f460207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161194a565b818152846020838601011115611708578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215611733578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610fcc578182fd5b60006020808385031215611768578182fd5b823567ffffffffffffffff81111561177e578283fd5b8301601f8101851361178e578283fd5b80356117a161179c82611999565b61194a565b80828252848201915084840188868560051b87010111156117c0578687fd5b8694505b838510156117e25780358352600194909401939185019185016117c4565b50979650505050505050565b6000602082840312156117ff578081fd5b5035919050565b600080600080600080600060e0888a031215611820578283fd5b8735965060208801359550604088013567ffffffffffffffff80821115611845578485fd5b6118518b838c01611699565b965060608a0135915080821115611866578485fd5b6118728b838c01611699565b955060808a0135915080821115611887578485fd5b6118938b838c01611699565b945060a08a01359150808211156118a8578384fd5b6118b48b838c01611699565b935060c08a01359150808211156118c9578283fd5b506118d68a828b01611699565b91505092959891949750929550565b6000602082840312156118f6578081fd5b813560ff81168114610fcc578182fd5b6020808252825182820181905260009190848201906040850190845b8181101561193e57835183529284019291840191600101611922565b50909695505050505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561199157611991611ab6565b604052919050565b600067ffffffffffffffff8211156119b3576119b3611ab6565b5060051b60200190565b600082198211156119d0576119d0611a8a565b500190565b6000826119e4576119e4611aa0565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611a2157611a21611a8a565b500290565b600082821015611a3857611a38611a8a565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611a6f57611a6f611a8a565b5060010190565b600082611a8557611a85611aa0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122025f821809c5909c2539b1472fc9b5f727a4a08638af4189d0efa753f62a904f164736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class SampleProxyConnectorConsumer__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.SampleProxyConnectorConsumer__factory = SampleProxyConnectorConsumer__factory; +SampleProxyConnectorConsumer__factory.bytecode = _bytecode; +SampleProxyConnectorConsumer__factory.abi = _abi; +//# sourceMappingURL=SampleProxyConnectorConsumer__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js.map new file mode 100644 index 00000000..3ec9b9d3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SampleProxyConnectorConsumer__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory.ts"],"names":[],"mappings":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diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts new file mode 100644 index 00000000..03159ee1 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts @@ -0,0 +1,46 @@ +import { Signer, ContractFactory, Overrides } from "ethers"; +import type { Provider, TransactionRequest } from "@ethersproject/providers"; +import type { PromiseOrValue } from "../../../../common"; +import type { StorageStructureModel, StorageStructureModelInterface } from "../../../../contracts/samples/benchmarks/StorageStructureModel"; +declare type StorageStructureModelConstructorParams = [signer?: Signer] | ConstructorParameters; +export declare class StorageStructureModel__factory extends ContractFactory { + constructor(...args: StorageStructureModelConstructorParams); + deploy(overrides?: Overrides & { + from?: PromiseOrValue; + }): Promise; + getDeployTransaction(overrides?: Overrides & { + from?: PromiseOrValue; + }): TransactionRequest; + attach(address: string): StorageStructureModel; + connect(signer: Signer): StorageStructureModel__factory; + static readonly bytecode = "0x608060405260008080556001556002805460ff1916905534801561002257600080fd5b50611db2806100326000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c8063a7d0d607116100b2578063e46e9d5c11610081578063ed3958bb11610066578063ed3958bb14610475578063f50b2efe14610488578063f90c49241461049b57600080fd5b8063e46e9d5c14610343578063e9ee56641461038257600080fd5b8063a7d0d6071461025e578063ae538b8214610271578063b24ebfcc1461031d578063d22158fa1461033057600080fd5b80634ae45907116100ee5780634ae45907146102045780635acac63e1461022557806364ee6bbb1461023857806395262d9f1461024b57600080fd5b80632dad44ac14610120578063382d0a7c146101355780633ce142f5146101cc578063429989f0146101f1575b600080fd5b61013361012e366004611c55565b6104a2565b005b610189610143366004611c55565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909173ffffffffffffffffffffffffffffffffffffffff1685565b60408051958652602086019490945292840191909152606083015273ffffffffffffffffffffffffffffffffffffffff16608082015260a0015b60405180910390f35b6101df6101da366004611a57565b610530565b60405160ff90911681526020016101c3565b6101df6101ff366004611a57565b610541565b610217610212366004611bb4565b610a1a565b6040519081526020016101c3565b610217610233366004611b89565b610aee565b610133610246366004611c55565b610ba6565b6101df610259366004611a57565b610c21565b61013361026c366004611c55565b610c2c565b6102d261027f366004611c55565b6004602081905260009182526040909120805460018201546002830154600384015494840154600585015460069095015493959294919390919073ffffffffffffffffffffffffffffffffffffffff1687565b604080519788526020880196909652948601939093526060850191909152608084015260a083015273ffffffffffffffffffffffffffffffffffffffff1660c082015260e0016101c3565b61021761032b366004611a8b565b610cdb565b6101df61033e366004611a57565b610ce6565b610133610351366004611b69565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b610406610390366004611c55565b600560208190526000918252604090912080546001820154600283015460038401546004850154958501546006860154600787015460088801546009890154600a8a0154600b909a0154989a979996989597969495939492939192909173ffffffffffffffffffffffffffffffffffffffff168c565b604080519c8d5260208d019b909b52998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015261014083015273ffffffffffffffffffffffffffffffffffffffff16610160820152610180016101c3565b610217610483366004611bee565b610d6d565b610133610496366004611c55565b610e8b565b60036101df565b600081815260046020526040902060018101546104be90610ece565b60015560025460ff161561052c5760008281526004602081905260408220828155600181018390556002810183905560038101839055908101829055600581019190915560060180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555b5050565b600061053b82610c21565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561057d57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156105b757506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156105f157506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561062b57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561066557506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561069f57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156106d957506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561071357506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561074d57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561078757506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156107c15750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156107fb5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156108355750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff8316141561086f5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156108a95750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156108e35750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561091d57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561095757506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561099157506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156109cb57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600080548180610a2983611ced565b90915550506040805160e081018252968752602080880196875287820195865260608801948552608088019384524360a089019081523360c08a0190815260008054815260049384905293842099518a55975160018a0155955160028901559351600388015591519286019290925591516005850155509051600690920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909316929092179091555490565b600080548180610afd83611ced565b90915550506040805160a081018252948552602080860194855285820193845243606087019081523360808801908152600080548152600393849052938420975188559551600188015593516002870155925192850192909255509051600490920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909316929092179091555490565b60008181526003602052604090208054610bbf90610ece565b60015560025460ff161561052c57506000908152600360208190526040822082815560018101839055600281018390559081019190915560040180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600061053b82610ce6565b60008181526005602052604090206002810154610c4890610ece565b60015560025460ff161561052c5750600090815260056020819052604082208281556001810183905560028101839055600381018390556004810183905590810182905560068101829055600781018290556008810182905560098101829055600a810191909155600b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600061053b82610f5a565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610d64576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610a11565b61053b82610541565b600080548180610d7c83611ced565b909155505060408051610180810182529b8c526020808d019b8c528c82019a8b5260608d01998a5260808d0198895260a08d0197885260c08d0196875260e08d019586526101008d019485526101208d01938452436101408e01908152336101608f019081526000805481526005938490529384209e518f559c5160018f01559a5160028e0155985160038d0155965160048c0155509351958901959095559051600688015551600787015591516008860155905160098501559051600a8401559051600b90920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909316929092179091555490565b6501812f2590c0811015610ecb576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610f1557634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610f2a81610f65565b600081518110610f4a57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061053b82610f70565b606061053b82611074565b6000815160001415610fae576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb782611271565b600060028351610fc79190611c85565b905060028351610fd79190611d26565b61105457600061103f84610fec600185611cd6565b8151811061100a57634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061103257634e487b7160e01b600052603260045260246000fd5b60200260200101516112bf565b905061104c600282611c85565b949350505050565b828181518110610f4a57634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff8111156110a057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156110c9578160200160208202803683370190505b5090506000835167ffffffffffffffff8111156110f657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561111f578160200160208202803683370190505b5090506000845167ffffffffffffffff81111561114c57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561117f57816020015b606081526020019060019003908161116a5790505b50905060005b85518110156111eb57604080516003808252608082019092529060208201606080368337019050508282815181106111cd57634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806111e390611ced565b915050611185565b5060006111f66112d2565b9050600061120382611400565b61ffff169050611214600283611c6d565b60405190925060005b8281101561125a5760006112348a89898989611453565b90506112408186611c6d565b94508260405250808061125290611ced565b91505061121d565b506112658487611782565b98975050505050505050565b8051602082016020820281019150805b828110156112b957815b818110156112b05781518151808210156112a6578084528183525b505060200161128b565b50602001611281565b50505050565b60006112cb8284611c6d565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358116148061133a576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611377576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096113b0600362ffffff8516611c6d565b6113ba9190611c6d565b9050366113c8600283611c6d565b11156112cb576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061140e602084611c6d565b90503681111561144a576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080611462856118fa565b909250905060008080606081600d61148561147e602089611c6d565b899061194a565b61148f9190611c6d565b905060006114a86114a160688d611c6d565b3690611956565b905060006114c5836114bb60418f611c6d565b6114a19190611c6d565b90506114d183826114e4565b9350826020850120945081359650611526565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6115378765ffffffffffff16610e8b565b61154b8561154660418f611c6d565b611962565b955061155686610530565b60ff1699505050505050505060008060005b8481101561174f5761157b8885836119f8565b909350915060005b8c5181101561173c578c81815181106115ac57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561172a5760008b82815181106115dd57634e487b7160e01b600052603260045260246000fd5b602002602001015190506115f681896001901b16151590565b15801561162d5750600360ff168d838151811061162357634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611724578c828151811061165257634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061166790611ced565b81525050838b838151811061168c57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106116b657634e487b7160e01b600052603260045260246000fd5b60200260200101516116c89190611cd6565b815181106116e657634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061171757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061173c565b8061173481611ced565b915050611583565b508061174781611ced565b915050611568565b505050816020826117609190611c6d565b61176a9190611c99565b61177590604e611c6d565b9998505050505050505050565b60606000835167ffffffffffffffff8111156117ae57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156117d7578160200160208202803683370190505b509050600360005b85518110156118f0578185828151811061180957634e487b7160e01b600052603260045260246000fd5b6020026020010151101561187d5784818151811061183757634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610a11929190918252602082015260400190565b60006118af8783815181106118a257634e487b7160e01b600052603260045260246000fd5b6020026020010151610cdb565b9050808483815181106118d257634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806118e881611ced565b9150506117df565b5090949350505050565b60008080808061190b604187611c6d565b9050600061191d6114a1602084611c6d565b80359450905061192e816003611956565b62ffffff9490941697933563ffffffff16965092945050505050565b60006112cb8284611c99565b60006112cb8284611cd6565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156119c5573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611a07604e87611c6d565b90506000611a34611a2d611a1c602089611c6d565b611a27886001611c6d565b9061194a565b83906112bf565b90506000611a423683611956565b80359960209091013598509650505050505050565b600060208284031215611a68578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146112cb578182fd5b60006020808385031215611a9d578182fd5b823567ffffffffffffffff80821115611ab4578384fd5b818501915085601f830112611ac7578384fd5b813581811115611ad957611ad9611d66565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715611b1c57611b1c611d66565b604052828152858101935084860182860187018a1015611b3a578788fd5b8795505b83861015611b5c578035855260019590950194938601938601611b3e565b5098975050505050505050565b600060208284031215611b7a578081fd5b813580151581146112cb578182fd5b600080600060608486031215611b9d578182fd5b505081359360208301359350604090920135919050565b600080600080600060a08688031215611bcb578081fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000806000806000806000806000806101408b8d031215611c0d578485fd5b505088359a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0810135965060e081013595506101008101359450610120013592509050565b600060208284031215611c66578081fd5b5035919050565b60008219821115611c8057611c80611d3a565b500190565b600082611c9457611c94611d50565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611cd157611cd1611d3a565b500290565b600082821015611ce857611ce8611d3a565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611d1f57611d1f611d3a565b5060010190565b600082611d3557611d35611d50565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205909e839094150a1fe83ffe143e521965619d637cdedf8b609919787a6ec378264736f6c63430008040033"; + static readonly abi: ({ + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + type: string; + outputs?: undefined; + stateMutability?: undefined; + } | { + inputs: { + internalType: string; + name: string; + type: string; + }[]; + name: string; + outputs: { + internalType: string; + name: string; + type: string; + }[]; + stateMutability: string; + type: string; + })[]; + static createInterface(): StorageStructureModelInterface; + static connect(address: string, signerOrProvider: Signer | Provider): StorageStructureModel; +} +export {}; +//# sourceMappingURL=StorageStructureModel__factory.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts.map new file mode 100644 index 00000000..e8022ea3 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"StorageStructureModel__factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAC/B,MAAM,gEAAgE,CAAC;AA8hBxE,aAAK,sCAAsC,GACvC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,8BAA+B,SAAQ,eAAe;gBACrD,GAAG,IAAI,EAAE,sCAAsC;IAQlD,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,qBAAqB,CAAC;IAGxB,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB;IAG9C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,8BAA8B;IAIhE,MAAM,CAAC,QAAQ,CAAC,QAAQ,g9dAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,8BAA8B;IAGxD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,qBAAqB;CAOzB"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js new file mode 100644 index 00000000..b698e0d8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js @@ -0,0 +1,577 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StorageStructureModel__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +const ethers_1 = require("ethers"); +const _abi = [ + { + inputs: [], + name: "CalldataMustHaveValidPayload", + type: "error", + }, + { + inputs: [], + name: "CalldataOverOrUnderFlow", + type: "error", + }, + { + inputs: [], + name: "CanNotPickMedianOfEmptyArray", + type: "error", + }, + { + inputs: [], + name: "EachSignerMustProvideTheSameValue", + type: "error", + }, + { + inputs: [], + name: "EmptyCalldataPointersArr", + type: "error", + }, + { + inputs: [], + name: "IncorrectUnsignedMetadataSize", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedSignersCount", + type: "uint256", + }, + { + internalType: "uint256", + name: "requiredSignersCount", + type: "uint256", + }, + ], + name: "InsufficientNumberOfUniqueSigners", + type: "error", + }, + { + inputs: [], + name: "InvalidCalldataPointer", + type: "error", + }, + { + inputs: [ + { + internalType: "address", + name: "receivedSigner", + type: "address", + }, + ], + name: "SignerNotAuthorised", + type: "error", + }, + { + inputs: [], + name: "TimestampIsNotValid", + type: "error", + }, + { + inputs: [ + { + internalType: "uint256[]", + name: "values", + type: "uint256[]", + }, + ], + name: "aggregateValues", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "requestId", + type: "uint256", + }, + ], + name: "executeRequestWith10ArgsWithPrices", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "requestId", + type: "uint256", + }, + ], + name: "executeRequestWith3ArgsWithPrices", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "requestId", + type: "uint256", + }, + ], + name: "executeRequestWith5ArgsWithPrices", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAllMockExceptLastOneAuthorised", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedMockSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "signerAddress", + type: "address", + }, + ], + name: "getAuthorisedSignerIndex", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getUniqueSignersThreshold", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + name: "requestsWith10Args", + outputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg6", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg7", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg8", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg9", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg10", + type: "bytes32", + }, + { + internalType: "uint256", + name: "blockNumber", + type: "uint256", + }, + { + internalType: "address", + name: "requesterAddress", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + name: "requestsWith3Args", + outputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "uint256", + name: "blockNumber", + type: "uint256", + }, + { + internalType: "address", + name: "requesterAddress", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + name: "requestsWith5Args", + outputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + { + internalType: "uint256", + name: "blockNumber", + type: "uint256", + }, + { + internalType: "address", + name: "requesterAddress", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg6", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg7", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg8", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg9", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg10", + type: "bytes32", + }, + ], + name: "sendRequestWith10Args", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + ], + name: "sendRequestWith3Args", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "arg1", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg2", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg3", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg4", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "arg5", + type: "bytes32", + }, + ], + name: "sendRequestWith5Args", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bool", + name: "_deleteFromStorage", + type: "bool", + }, + ], + name: "setDeleteFromStorage", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "receivedTimestampMilliseconds", + type: "uint256", + }, + ], + name: "validateTimestamp", + outputs: [], + stateMutability: "view", + type: "function", + }, +]; +const _bytecode = "0x608060405260008080556001556002805460ff1916905534801561002257600080fd5b50611db2806100326000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c8063a7d0d607116100b2578063e46e9d5c11610081578063ed3958bb11610066578063ed3958bb14610475578063f50b2efe14610488578063f90c49241461049b57600080fd5b8063e46e9d5c14610343578063e9ee56641461038257600080fd5b8063a7d0d6071461025e578063ae538b8214610271578063b24ebfcc1461031d578063d22158fa1461033057600080fd5b80634ae45907116100ee5780634ae45907146102045780635acac63e1461022557806364ee6bbb1461023857806395262d9f1461024b57600080fd5b80632dad44ac14610120578063382d0a7c146101355780633ce142f5146101cc578063429989f0146101f1575b600080fd5b61013361012e366004611c55565b6104a2565b005b610189610143366004611c55565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909173ffffffffffffffffffffffffffffffffffffffff1685565b60408051958652602086019490945292840191909152606083015273ffffffffffffffffffffffffffffffffffffffff16608082015260a0015b60405180910390f35b6101df6101da366004611a57565b610530565b60405160ff90911681526020016101c3565b6101df6101ff366004611a57565b610541565b610217610212366004611bb4565b610a1a565b6040519081526020016101c3565b610217610233366004611b89565b610aee565b610133610246366004611c55565b610ba6565b6101df610259366004611a57565b610c21565b61013361026c366004611c55565b610c2c565b6102d261027f366004611c55565b6004602081905260009182526040909120805460018201546002830154600384015494840154600585015460069095015493959294919390919073ffffffffffffffffffffffffffffffffffffffff1687565b604080519788526020880196909652948601939093526060850191909152608084015260a083015273ffffffffffffffffffffffffffffffffffffffff1660c082015260e0016101c3565b61021761032b366004611a8b565b610cdb565b6101df61033e366004611a57565b610ce6565b610133610351366004611b69565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b610406610390366004611c55565b600560208190526000918252604090912080546001820154600283015460038401546004850154958501546006860154600787015460088801546009890154600a8a0154600b909a0154989a979996989597969495939492939192909173ffffffffffffffffffffffffffffffffffffffff168c565b604080519c8d5260208d019b909b52998b019890985260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015261014083015273ffffffffffffffffffffffffffffffffffffffff16610160820152610180016101c3565b610217610483366004611bee565b610d6d565b610133610496366004611c55565b610e8b565b60036101df565b600081815260046020526040902060018101546104be90610ece565b60015560025460ff161561052c5760008281526004602081905260408220828155600181018390556002810183905560038101839055908101829055600581019190915560060180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555b5050565b600061053b82610c21565b92915050565b600073f39fd6e51aad88f6f4ce6ab8827279cfffb9226673ffffffffffffffffffffffffffffffffffffffff8316141561057d57506000919050565b7370997970c51812dc3a010c7d01b50e0d17dc79c873ffffffffffffffffffffffffffffffffffffffff831614156105b757506001919050565b733c44cdddb6a900fa2b585dd299e03d12fa4293bc73ffffffffffffffffffffffffffffffffffffffff831614156105f157506002919050565b7390f79bf6eb2c4f870365e785982e1f101e93b90673ffffffffffffffffffffffffffffffffffffffff8316141561062b57506003919050565b7315d34aaf54267db7d7c367839aaf71a00a2c6a6573ffffffffffffffffffffffffffffffffffffffff8316141561066557506004919050565b739965507d1a55bcc2695c58ba16fb37d819b0a4dc73ffffffffffffffffffffffffffffffffffffffff8316141561069f57506005919050565b73976ea74026e726554db657fa54763abd0c3a0aa973ffffffffffffffffffffffffffffffffffffffff831614156106d957506006919050565b7314dc79964da2c08b23698b3d3cc7ca32193d995573ffffffffffffffffffffffffffffffffffffffff8316141561071357506007919050565b7323618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f73ffffffffffffffffffffffffffffffffffffffff8316141561074d57506008919050565b73a0ee7a142d267c1f36714e4a8f75612f20a7972073ffffffffffffffffffffffffffffffffffffffff8316141561078757506009919050565b73bcd4042de499d14e55001ccbb24a551f3b95409673ffffffffffffffffffffffffffffffffffffffff831614156107c15750600a919050565b7371be63f3384f5fb98995898a86b02fb2426c578873ffffffffffffffffffffffffffffffffffffffff831614156107fb5750600b919050565b73fabb0ac9d68b0b445fb7357272ff202c5651694a73ffffffffffffffffffffffffffffffffffffffff831614156108355750600c919050565b731cbd3b2770909d4e10f157cabc84c7264073c9ec73ffffffffffffffffffffffffffffffffffffffff8316141561086f5750600d919050565b73df3e18d64bc6a983f673ab319ccae4f1a57c709773ffffffffffffffffffffffffffffffffffffffff831614156108a95750600e919050565b73cd3b766ccdd6ae721141f452c550ca635964ce7173ffffffffffffffffffffffffffffffffffffffff831614156108e35750600f919050565b732546bcd3c84621e976d8185a91a922ae77ecec3073ffffffffffffffffffffffffffffffffffffffff8316141561091d57506010919050565b73bda5747bfd65f08deb54cb465eb87d40e51b197e73ffffffffffffffffffffffffffffffffffffffff8316141561095757506011919050565b73dd2fd4581271e230360230f9337d5c0430bf44c073ffffffffffffffffffffffffffffffffffffffff8316141561099157506012919050565b738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff831614156109cb57506013919050565b6040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024015b60405180910390fd5b600080548180610a2983611ced565b90915550506040805160e081018252968752602080880196875287820195865260608801948552608088019384524360a089019081523360c08a0190815260008054815260049384905293842099518a55975160018a0155955160028901559351600388015591519286019290925591516005850155509051600690920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909316929092179091555490565b600080548180610afd83611ced565b90915550506040805160a081018252948552602080860194855285820193845243606087019081523360808801908152600080548152600393849052938420975188559551600188015593516002870155925192850192909255509051600490920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909316929092179091555490565b60008181526003602052604090208054610bbf90610ece565b60015560025460ff161561052c57506000908152600360208190526040822082815560018101839055600281018390559081019190915560040180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600061053b82610ce6565b60008181526005602052604090206002810154610c4890610ece565b60015560025460ff161561052c5750600090815260056020819052604082208281556001810183905560028101839055600381018390556004810183905590810182905560068101829055600781018290556008810182905560098101829055600a810191909155600b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600061053b82610f5a565b6000738626f6940e2eb28930efb4cef49b2d1f2c9c119973ffffffffffffffffffffffffffffffffffffffff83161415610d64576040517fec459bc000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152602401610a11565b61053b82610541565b600080548180610d7c83611ced565b909155505060408051610180810182529b8c526020808d019b8c528c82019a8b5260608d01998a5260808d0198895260a08d0197885260c08d0196875260e08d019586526101008d019485526101208d01938452436101408e01908152336101608f019081526000805481526005938490529384209e518f559c5160018f01559a5160028e0155985160038d0155965160048c0155509351958901959095559051600688015551600787015591516008860155905160098501559051600a8401559051600b90920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909316929092179091555490565b6501812f2590c0811015610ecb576040517f355b874300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110610f1557634e487b7160e01b600052603260045260246000fd5b602002602001018181525050610f2a81610f65565b600081518110610f4a57634e487b7160e01b600052603260045260246000fd5b6020026020010151915050919050565b600061053b82610f70565b606061053b82611074565b6000815160001415610fae576040517f9e198af900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb782611271565b600060028351610fc79190611c85565b905060028351610fd79190611d26565b61105457600061103f84610fec600185611cd6565b8151811061100a57634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061103257634e487b7160e01b600052603260045260246000fd5b60200260200101516112bf565b905061104c600282611c85565b949350505050565b828181518110610f4a57634e487b7160e01b600052603260045260246000fd5b60606000825167ffffffffffffffff8111156110a057634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156110c9578160200160208202803683370190505b5090506000835167ffffffffffffffff8111156110f657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561111f578160200160208202803683370190505b5090506000845167ffffffffffffffff81111561114c57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561117f57816020015b606081526020019060019003908161116a5790505b50905060005b85518110156111eb57604080516003808252608082019092529060208201606080368337019050508282815181106111cd57634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806111e390611ced565b915050611185565b5060006111f66112d2565b9050600061120382611400565b61ffff169050611214600283611c6d565b60405190925060005b8281101561125a5760006112348a89898989611453565b90506112408186611c6d565b94508260405250808061125290611ced565b91505061121d565b506112658487611782565b98975050505050505050565b8051602082016020820281019150805b828110156112b957815b818110156112b05781518151808210156112a6578084528183525b505060200161128b565b50602001611281565b50505050565b60006112cb8284611c6d565b9392505050565b60006602ed57011e00007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358116148061133a576040517fe7764c9e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003660291115611377576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd7360135600060096113b0600362ffffff8516611c6d565b6113ba9190611c6d565b9050366113c8600283611c6d565b11156112cb576040517fc30a7bd700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061140e602084611c6d565b90503681111561144a576040517f5796f78a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b36033592915050565b600080600080611462856118fa565b909250905060008080606081600d61148561147e602089611c6d565b899061194a565b61148f9190611c6d565b905060006114a86114a160688d611c6d565b3690611956565b905060006114c5836114bb60418f611c6d565b6114a19190611c6d565b90506114d183826114e4565b9350826020850120945081359650611526565b604080518381526020818501810190925260009101838382377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0019392505050565b6115378765ffffffffffff16610e8b565b61154b8561154660418f611c6d565b611962565b955061155686610530565b60ff1699505050505050505060008060005b8481101561174f5761157b8885836119f8565b909350915060005b8c5181101561173c578c81815181106115ac57634e487b7160e01b600052603260045260246000fd5b602002602001015184141561172a5760008b82815181106115dd57634e487b7160e01b600052603260045260246000fd5b602002602001015190506115f681896001901b16151590565b15801561162d5750600360ff168d838151811061162357634e487b7160e01b600052603260045260246000fd5b6020026020010151105b15611724578c828151811061165257634e487b7160e01b600052603260045260246000fd5b60200260200101805180919061166790611ced565b81525050838b838151811061168c57634e487b7160e01b600052603260045260246000fd5b602002602001015160018f85815181106116b657634e487b7160e01b600052603260045260246000fd5b60200260200101516116c89190611cd6565b815181106116e657634e487b7160e01b600052603260045260246000fd5b60209081029190910101526001881b81178c838151811061171757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b5061173c565b8061173481611ced565b915050611583565b508061174781611ced565b915050611568565b505050816020826117609190611c6d565b61176a9190611c99565b61177590604e611c6d565b9998505050505050505050565b60606000835167ffffffffffffffff8111156117ae57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156117d7578160200160208202803683370190505b509050600360005b85518110156118f0578185828151811061180957634e487b7160e01b600052603260045260246000fd5b6020026020010151101561187d5784818151811061183757634e487b7160e01b600052603260045260246000fd5b6020026020010151826040517f2b13aef5000000000000000000000000000000000000000000000000000000008152600401610a11929190918252602082015260400190565b60006118af8783815181106118a257634e487b7160e01b600052603260045260246000fd5b6020026020010151610cdb565b9050808483815181106118d257634e487b7160e01b600052603260045260246000fd5b602090810291909101015250806118e881611ced565b9150506117df565b5090949350505050565b60008080808061190b604187611c6d565b9050600061191d6114a1602084611c6d565b80359450905061192e816003611956565b62ffffff9490941697933563ffffffff16965092945050505050565b60006112cb8284611c99565b60006112cb8284611cd6565b60408051600080825260208083018085528690523685900380850135831a948401859052803560608501819052910135608084018190529193909260019060a0016020604051602081039080840390855afa1580156119c5573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60008080611a07604e87611c6d565b90506000611a34611a2d611a1c602089611c6d565b611a27886001611c6d565b9061194a565b83906112bf565b90506000611a423683611956565b80359960209091013598509650505050505050565b600060208284031215611a68578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146112cb578182fd5b60006020808385031215611a9d578182fd5b823567ffffffffffffffff80821115611ab4578384fd5b818501915085601f830112611ac7578384fd5b813581811115611ad957611ad9611d66565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715611b1c57611b1c611d66565b604052828152858101935084860182860187018a1015611b3a578788fd5b8795505b83861015611b5c578035855260019590950194938601938601611b3e565b5098975050505050505050565b600060208284031215611b7a578081fd5b813580151581146112cb578182fd5b600080600060608486031215611b9d578182fd5b505081359360208301359350604090920135919050565b600080600080600060a08688031215611bcb578081fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000806000806000806000806000806101408b8d031215611c0d578485fd5b505088359a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0810135965060e081013595506101008101359450610120013592509050565b600060208284031215611c66578081fd5b5035919050565b60008219821115611c8057611c80611d3a565b500190565b600082611c9457611c94611d50565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611cd157611cd1611d3a565b500290565b600082821015611ce857611ce8611d3a565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611d1f57611d1f611d3a565b5060010190565b600082611d3557611d35611d50565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205909e839094150a1fe83ffe143e521965619d637cdedf8b609919787a6ec378264736f6c63430008040033"; +const isSuperArgs = (xs) => xs.length > 1; +class StorageStructureModel__factory extends ethers_1.ContractFactory { + constructor(...args) { + if (isSuperArgs(args)) { + super(...args); + } + else { + super(_abi, _bytecode, args[0]); + } + } + deploy(overrides) { + return super.deploy(overrides || {}); + } + getDeployTransaction(overrides) { + return super.getDeployTransaction(overrides || {}); + } + attach(address) { + return super.attach(address); + } + connect(signer) { + return super.connect(signer); + } + static createInterface() { + return new ethers_1.utils.Interface(_abi); + } + static connect(address, signerOrProvider) { + return new ethers_1.Contract(address, _abi, signerOrProvider); + } +} +exports.StorageStructureModel__factory = StorageStructureModel__factory; +StorageStructureModel__factory.bytecode = _bytecode; +StorageStructureModel__factory.abi = _abi; +//# sourceMappingURL=StorageStructureModel__factory.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js.map new file mode 100644 index 00000000..193b33c0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"StorageStructureModel__factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/StorageStructureModel__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAQ7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QAC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0C,EACW,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAExE,MAAa,8BAA+B,SAAQ,wBAAe;IACjE,YAAY,GAAG,IAA4C;QACzD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;YACrB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;SAChB;aAAM;YACL,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,SAAyD;QAEzD,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE,CAAmC,CAAC;IACzE,CAAC;IACQ,oBAAoB,CAC3B,SAAyD;QAEzD,OAAO,KAAK,CAAC,oBAAoB,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IACrD,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAA0B,CAAC;IACxD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAmC,CAAC;IACjE,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAmC,CAAC;IACrE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACQ,CAAC;IAC7B,CAAC;;AAxCH,wEAyCC;AAfiB,uCAAQ,GAAG,SAAS,CAAC;AACrB,kCAAG,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts new file mode 100644 index 00000000..6127f671 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts @@ -0,0 +1,8 @@ +export { Benchmark__factory } from "./Benchmark__factory"; +export { HashCalldataModel__factory } from "./HashCalldataModel__factory"; +export { SampleChainableProxyConnector__factory } from "./SampleChainableProxyConnector__factory"; +export { SampleChainableStorageProxy__factory } from "./SampleChainableStorageProxy__factory"; +export { SampleChainableStorageProxyConsumer__factory } from "./SampleChainableStorageProxyConsumer__factory"; +export { SampleProxyConnectorConsumer__factory } from "./SampleProxyConnectorConsumer__factory"; +export { StorageStructureModel__factory } from "./StorageStructureModel__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts.map new file mode 100644 index 00000000..ab31aaef --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,4CAA4C,EAAE,MAAM,gDAAgD,CAAC;AAC9G,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js new file mode 100644 index 00000000..e1398554 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StorageStructureModel__factory = exports.SampleProxyConnectorConsumer__factory = exports.SampleChainableStorageProxyConsumer__factory = exports.SampleChainableStorageProxy__factory = exports.SampleChainableProxyConnector__factory = exports.HashCalldataModel__factory = exports.Benchmark__factory = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +var Benchmark__factory_1 = require("./Benchmark__factory"); +Object.defineProperty(exports, "Benchmark__factory", { enumerable: true, get: function () { return Benchmark__factory_1.Benchmark__factory; } }); +var HashCalldataModel__factory_1 = require("./HashCalldataModel__factory"); +Object.defineProperty(exports, "HashCalldataModel__factory", { enumerable: true, get: function () { return HashCalldataModel__factory_1.HashCalldataModel__factory; } }); +var SampleChainableProxyConnector__factory_1 = require("./SampleChainableProxyConnector__factory"); +Object.defineProperty(exports, "SampleChainableProxyConnector__factory", { enumerable: true, get: function () { return SampleChainableProxyConnector__factory_1.SampleChainableProxyConnector__factory; } }); +var SampleChainableStorageProxy__factory_1 = require("./SampleChainableStorageProxy__factory"); +Object.defineProperty(exports, "SampleChainableStorageProxy__factory", { enumerable: true, get: function () { return SampleChainableStorageProxy__factory_1.SampleChainableStorageProxy__factory; } }); +var SampleChainableStorageProxyConsumer__factory_1 = require("./SampleChainableStorageProxyConsumer__factory"); +Object.defineProperty(exports, "SampleChainableStorageProxyConsumer__factory", { enumerable: true, get: function () { return SampleChainableStorageProxyConsumer__factory_1.SampleChainableStorageProxyConsumer__factory; } }); +var SampleProxyConnectorConsumer__factory_1 = require("./SampleProxyConnectorConsumer__factory"); +Object.defineProperty(exports, "SampleProxyConnectorConsumer__factory", { enumerable: true, get: function () { return SampleProxyConnectorConsumer__factory_1.SampleProxyConnectorConsumer__factory; } }); +var StorageStructureModel__factory_1 = require("./StorageStructureModel__factory"); +Object.defineProperty(exports, "StorageStructureModel__factory", { enumerable: true, get: function () { return StorageStructureModel__factory_1.StorageStructureModel__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js.map new file mode 100644 index 00000000..6aa48488 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/benchmarks/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../typechain-types/factories/contracts/samples/benchmarks/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,2EAA0E;AAAjE,wIAAA,0BAA0B,OAAA;AACnC,mGAAkG;AAAzF,gKAAA,sCAAsC,OAAA;AAC/C,+FAA8F;AAArF,4JAAA,oCAAoC,OAAA;AAC7C,+GAA8G;AAArG,4KAAA,4CAA4C,OAAA;AACrD,iGAAgG;AAAvF,8JAAA,qCAAqC,OAAA;AAC9C,mFAAkF;AAAzE,gJAAA,8BAA8B,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts new file mode 100644 index 00000000..f35fa525 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts @@ -0,0 +1,17 @@ +export * as sampleSyntheticTokenSol from "./SampleSyntheticToken.sol"; +export * as benchmarks from "./benchmarks"; +export { SampleBitmapLib__factory } from "./SampleBitmapLib__factory"; +export { SampleDuplicatedDataFeeds__factory } from "./SampleDuplicatedDataFeeds__factory"; +export { SampleKydServiceConsumer__factory } from "./SampleKydServiceConsumer__factory"; +export { SampleNumericArrayLib__factory } from "./SampleNumericArrayLib__factory"; +export { SampleProxyConnector__factory } from "./SampleProxyConnector__factory"; +export { SampleRedstoneConsumerBytesMock__factory } from "./SampleRedstoneConsumerBytesMock__factory"; +export { SampleRedstoneConsumerBytesMockManyDataFeeds__factory } from "./SampleRedstoneConsumerBytesMockManyDataFeeds__factory"; +export { SampleRedstoneConsumerBytesMockStrings__factory } from "./SampleRedstoneConsumerBytesMockStrings__factory"; +export { SampleRedstoneConsumerNumericMock__factory } from "./SampleRedstoneConsumerNumericMock__factory"; +export { SampleRedstoneConsumerNumericMockManyDataFeeds__factory } from "./SampleRedstoneConsumerNumericMockManyDataFeeds__factory"; +export { SampleRedstoneDefaultsLib__factory } from "./SampleRedstoneDefaultsLib__factory"; +export { SampleStorageProxy__factory } from "./SampleStorageProxy__factory"; +export { SampleStorageProxyConsumer__factory } from "./SampleStorageProxyConsumer__factory"; +export { SampleWithEvents__factory } from "./SampleWithEvents__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts.map new file mode 100644 index 00000000..955ac4a0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,uBAAuB,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC;AACtG,OAAO,EAAE,qDAAqD,EAAE,MAAM,yDAAyD,CAAC;AAChI,OAAO,EAAE,+CAA+C,EAAE,MAAM,mDAAmD,CAAC;AACpH,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAC1G,OAAO,EAAE,uDAAuD,EAAE,MAAM,2DAA2D,CAAC;AACpI,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js new file mode 100644 index 00000000..8a777c41 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleWithEvents__factory = exports.SampleStorageProxyConsumer__factory = exports.SampleStorageProxy__factory = exports.SampleRedstoneDefaultsLib__factory = exports.SampleRedstoneConsumerNumericMockManyDataFeeds__factory = exports.SampleRedstoneConsumerNumericMock__factory = exports.SampleRedstoneConsumerBytesMockStrings__factory = exports.SampleRedstoneConsumerBytesMockManyDataFeeds__factory = exports.SampleRedstoneConsumerBytesMock__factory = exports.SampleProxyConnector__factory = exports.SampleNumericArrayLib__factory = exports.SampleKydServiceConsumer__factory = exports.SampleDuplicatedDataFeeds__factory = exports.SampleBitmapLib__factory = exports.benchmarks = exports.sampleSyntheticTokenSol = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.sampleSyntheticTokenSol = __importStar(require("./SampleSyntheticToken.sol")); +exports.benchmarks = __importStar(require("./benchmarks")); +var SampleBitmapLib__factory_1 = require("./SampleBitmapLib__factory"); +Object.defineProperty(exports, "SampleBitmapLib__factory", { enumerable: true, get: function () { return SampleBitmapLib__factory_1.SampleBitmapLib__factory; } }); +var SampleDuplicatedDataFeeds__factory_1 = require("./SampleDuplicatedDataFeeds__factory"); +Object.defineProperty(exports, "SampleDuplicatedDataFeeds__factory", { enumerable: true, get: function () { return SampleDuplicatedDataFeeds__factory_1.SampleDuplicatedDataFeeds__factory; } }); +var SampleKydServiceConsumer__factory_1 = require("./SampleKydServiceConsumer__factory"); +Object.defineProperty(exports, "SampleKydServiceConsumer__factory", { enumerable: true, get: function () { return SampleKydServiceConsumer__factory_1.SampleKydServiceConsumer__factory; } }); +var SampleNumericArrayLib__factory_1 = require("./SampleNumericArrayLib__factory"); +Object.defineProperty(exports, "SampleNumericArrayLib__factory", { enumerable: true, get: function () { return SampleNumericArrayLib__factory_1.SampleNumericArrayLib__factory; } }); +var SampleProxyConnector__factory_1 = require("./SampleProxyConnector__factory"); +Object.defineProperty(exports, "SampleProxyConnector__factory", { enumerable: true, get: function () { return SampleProxyConnector__factory_1.SampleProxyConnector__factory; } }); +var SampleRedstoneConsumerBytesMock__factory_1 = require("./SampleRedstoneConsumerBytesMock__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerBytesMock__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerBytesMock__factory_1.SampleRedstoneConsumerBytesMock__factory; } }); +var SampleRedstoneConsumerBytesMockManyDataFeeds__factory_1 = require("./SampleRedstoneConsumerBytesMockManyDataFeeds__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerBytesMockManyDataFeeds__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerBytesMockManyDataFeeds__factory_1.SampleRedstoneConsumerBytesMockManyDataFeeds__factory; } }); +var SampleRedstoneConsumerBytesMockStrings__factory_1 = require("./SampleRedstoneConsumerBytesMockStrings__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerBytesMockStrings__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerBytesMockStrings__factory_1.SampleRedstoneConsumerBytesMockStrings__factory; } }); +var SampleRedstoneConsumerNumericMock__factory_1 = require("./SampleRedstoneConsumerNumericMock__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerNumericMock__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerNumericMock__factory_1.SampleRedstoneConsumerNumericMock__factory; } }); +var SampleRedstoneConsumerNumericMockManyDataFeeds__factory_1 = require("./SampleRedstoneConsumerNumericMockManyDataFeeds__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerNumericMockManyDataFeeds__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerNumericMockManyDataFeeds__factory_1.SampleRedstoneConsumerNumericMockManyDataFeeds__factory; } }); +var SampleRedstoneDefaultsLib__factory_1 = require("./SampleRedstoneDefaultsLib__factory"); +Object.defineProperty(exports, "SampleRedstoneDefaultsLib__factory", { enumerable: true, get: function () { return SampleRedstoneDefaultsLib__factory_1.SampleRedstoneDefaultsLib__factory; } }); +var SampleStorageProxy__factory_1 = require("./SampleStorageProxy__factory"); +Object.defineProperty(exports, "SampleStorageProxy__factory", { enumerable: true, get: function () { return SampleStorageProxy__factory_1.SampleStorageProxy__factory; } }); +var SampleStorageProxyConsumer__factory_1 = require("./SampleStorageProxyConsumer__factory"); +Object.defineProperty(exports, "SampleStorageProxyConsumer__factory", { enumerable: true, get: function () { return SampleStorageProxyConsumer__factory_1.SampleStorageProxyConsumer__factory; } }); +var SampleWithEvents__factory_1 = require("./SampleWithEvents__factory"); +Object.defineProperty(exports, "SampleWithEvents__factory", { enumerable: true, get: function () { return SampleWithEvents__factory_1.SampleWithEvents__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js.map new file mode 100644 index 00000000..9ac9793b --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/contracts/samples/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/samples/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,sFAAsE;AACtE,2DAA2C;AAC3C,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA;AACjC,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,yFAAwF;AAA/E,sJAAA,iCAAiC,OAAA;AAC1C,mFAAkF;AAAzE,gJAAA,8BAA8B,OAAA;AACvC,iFAAgF;AAAvE,8IAAA,6BAA6B,OAAA;AACtC,uGAAsG;AAA7F,oKAAA,wCAAwC,OAAA;AACjD,iIAAgI;AAAvH,8LAAA,qDAAqD,OAAA;AAC9D,qHAAoH;AAA3G,kLAAA,+CAA+C,OAAA;AACxD,2GAA0G;AAAjG,wKAAA,0CAA0C,OAAA;AACnD,qIAAoI;AAA3H,kMAAA,uDAAuD,OAAA;AAChE,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,6EAA4E;AAAnE,0IAAA,2BAA2B,OAAA;AACpC,6FAA4F;AAAnF,0JAAA,mCAAmC,OAAA;AAC5C,yEAAwE;AAA/D,sIAAA,yBAAyB,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts new file mode 100644 index 00000000..3f232a89 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts @@ -0,0 +1,4 @@ +export * as chainlink from "./@chainlink"; +export * as openzeppelin from "./@openzeppelin"; +export * as contracts from "./contracts"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts.map new file mode 100644 index 00000000..70b1f090 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../typechain-types/factories/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js new file mode 100644 index 00000000..db542308 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js @@ -0,0 +1,33 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.contracts = exports.openzeppelin = exports.chainlink = void 0; +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +exports.chainlink = __importStar(require("./@chainlink")); +exports.openzeppelin = __importStar(require("./@openzeppelin")); +exports.contracts = __importStar(require("./contracts")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js.map new file mode 100644 index 00000000..4791fde0 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/factories/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../typechain-types/factories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,0DAA0C;AAC1C,gEAAgD;AAChD,yDAAyC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts b/lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts new file mode 100644 index 00000000..cf34e880 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts @@ -0,0 +1,106 @@ +import type * as chainlink from "./@chainlink"; +export type { chainlink }; +import type * as openzeppelin from "./@openzeppelin"; +export type { openzeppelin }; +import type * as contracts from "./contracts"; +export type { contracts }; +export * as factories from "./factories"; +export type { AggregatorV3Interface } from "./@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface"; +export { AggregatorV3Interface__factory } from "./factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory"; +export type { Ownable } from "./@openzeppelin/contracts/access/Ownable"; +export { Ownable__factory } from "./factories/@openzeppelin/contracts/access/Ownable__factory"; +export type { IERC20Metadata } from "./@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata"; +export { IERC20Metadata__factory } from "./factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory"; +export type { IERC20 } from "./@openzeppelin/contracts/token/ERC20/IERC20"; +export { IERC20__factory } from "./factories/@openzeppelin/contracts/token/ERC20/IERC20__factory"; +export type { CalldataExtractor } from "./contracts/core/CalldataExtractor"; +export { CalldataExtractor__factory } from "./factories/contracts/core/CalldataExtractor__factory"; +export type { ProxyConnector } from "./contracts/core/ProxyConnector"; +export { ProxyConnector__factory } from "./factories/contracts/core/ProxyConnector__factory"; +export type { RedstoneConstants } from "./contracts/core/RedstoneConstants"; +export { RedstoneConstants__factory } from "./factories/contracts/core/RedstoneConstants__factory"; +export type { RedstoneConsumerBase } from "./contracts/core/RedstoneConsumerBase"; +export { RedstoneConsumerBase__factory } from "./factories/contracts/core/RedstoneConsumerBase__factory"; +export type { RedstoneConsumerBytesBase } from "./contracts/core/RedstoneConsumerBytesBase"; +export { RedstoneConsumerBytesBase__factory } from "./factories/contracts/core/RedstoneConsumerBytesBase__factory"; +export type { RedstoneConsumerNumericBase } from "./contracts/core/RedstoneConsumerNumericBase"; +export { RedstoneConsumerNumericBase__factory } from "./factories/contracts/core/RedstoneConsumerNumericBase__factory"; +export type { RedstoneDefaultsLib } from "./contracts/core/RedstoneDefaultsLib"; +export { RedstoneDefaultsLib__factory } from "./factories/contracts/core/RedstoneDefaultsLib__factory"; +export type { AvalancheDataServiceConsumerBase } from "./contracts/data-services/AvalancheDataServiceConsumerBase"; +export { AvalancheDataServiceConsumerBase__factory } from "./factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory"; +export type { CustomUrlsConsumerBase } from "./contracts/data-services/CustomUrlsConsumerBase"; +export { CustomUrlsConsumerBase__factory } from "./factories/contracts/data-services/CustomUrlsConsumerBase__factory"; +export type { KydServiceConsumerBase } from "./contracts/data-services/KydServiceConsumerBase"; +export { KydServiceConsumerBase__factory } from "./factories/contracts/data-services/KydServiceConsumerBase__factory"; +export type { MainDemoConsumerBase } from "./contracts/data-services/MainDemoConsumerBase"; +export { MainDemoConsumerBase__factory } from "./factories/contracts/data-services/MainDemoConsumerBase__factory"; +export type { RapidDemoConsumerBase } from "./contracts/data-services/RapidDemoConsumerBase"; +export { RapidDemoConsumerBase__factory } from "./factories/contracts/data-services/RapidDemoConsumerBase__factory"; +export type { StocksDemoConsumerBase } from "./contracts/data-services/StocksDemoConsumerBase"; +export { StocksDemoConsumerBase__factory } from "./factories/contracts/data-services/StocksDemoConsumerBase__factory"; +export type { TwapsDemoConsumerBase } from "./contracts/data-services/TwapsDemoConsumerBase"; +export { TwapsDemoConsumerBase__factory } from "./factories/contracts/data-services/TwapsDemoConsumerBase__factory"; +export type { NumericArrayLib } from "./contracts/libs/NumericArrayLib"; +export { NumericArrayLib__factory } from "./factories/contracts/libs/NumericArrayLib__factory"; +export type { AuthorisedMockSignersBase } from "./contracts/mocks/AuthorisedMockSignersBase"; +export { AuthorisedMockSignersBase__factory } from "./factories/contracts/mocks/AuthorisedMockSignersBase__factory"; +export type { PriceFeedsManagerMock } from "./contracts/mocks/PriceFeedsManagerMock"; +export { PriceFeedsManagerMock__factory } from "./factories/contracts/mocks/PriceFeedsManagerMock__factory"; +export type { RedstoneConsumerBytesMock } from "./contracts/mocks/RedstoneConsumerBytesMock"; +export { RedstoneConsumerBytesMock__factory } from "./factories/contracts/mocks/RedstoneConsumerBytesMock__factory"; +export type { RedstoneConsumerNumericMock } from "./contracts/mocks/RedstoneConsumerNumericMock"; +export { RedstoneConsumerNumericMock__factory } from "./factories/contracts/mocks/RedstoneConsumerNumericMock__factory"; +export type { CustomErrors } from "./contracts/price-feeds/CustomErrors"; +export { CustomErrors__factory } from "./factories/contracts/price-feeds/CustomErrors__factory"; +export type { PriceFeed } from "./contracts/price-feeds/PriceFeed"; +export { PriceFeed__factory } from "./factories/contracts/price-feeds/PriceFeed__factory"; +export type { PriceFeedsManager } from "./contracts/price-feeds/PriceFeedsManager"; +export { PriceFeedsManager__factory } from "./factories/contracts/price-feeds/PriceFeedsManager__factory"; +export type { Benchmark } from "./contracts/samples/benchmarks/Benchmark"; +export { Benchmark__factory } from "./factories/contracts/samples/benchmarks/Benchmark__factory"; +export type { HashCalldataModel } from "./contracts/samples/benchmarks/HashCalldataModel"; +export { HashCalldataModel__factory } from "./factories/contracts/samples/benchmarks/HashCalldataModel__factory"; +export type { SampleChainableProxyConnector } from "./contracts/samples/benchmarks/SampleChainableProxyConnector"; +export { SampleChainableProxyConnector__factory } from "./factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory"; +export type { SampleChainableStorageProxy } from "./contracts/samples/benchmarks/SampleChainableStorageProxy"; +export { SampleChainableStorageProxy__factory } from "./factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory"; +export type { SampleChainableStorageProxyConsumer } from "./contracts/samples/benchmarks/SampleChainableStorageProxyConsumer"; +export { SampleChainableStorageProxyConsumer__factory } from "./factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory"; +export type { SampleProxyConnectorConsumer } from "./contracts/samples/benchmarks/SampleProxyConnectorConsumer"; +export { SampleProxyConnectorConsumer__factory } from "./factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory"; +export type { StorageStructureModel } from "./contracts/samples/benchmarks/StorageStructureModel"; +export { StorageStructureModel__factory } from "./factories/contracts/samples/benchmarks/StorageStructureModel__factory"; +export type { SampleBitmapLib } from "./contracts/samples/SampleBitmapLib"; +export { SampleBitmapLib__factory } from "./factories/contracts/samples/SampleBitmapLib__factory"; +export type { SampleDuplicatedDataFeeds } from "./contracts/samples/SampleDuplicatedDataFeeds"; +export { SampleDuplicatedDataFeeds__factory } from "./factories/contracts/samples/SampleDuplicatedDataFeeds__factory"; +export type { SampleKydServiceConsumer } from "./contracts/samples/SampleKydServiceConsumer"; +export { SampleKydServiceConsumer__factory } from "./factories/contracts/samples/SampleKydServiceConsumer__factory"; +export type { SampleNumericArrayLib } from "./contracts/samples/SampleNumericArrayLib"; +export { SampleNumericArrayLib__factory } from "./factories/contracts/samples/SampleNumericArrayLib__factory"; +export type { SampleProxyConnector } from "./contracts/samples/SampleProxyConnector"; +export { SampleProxyConnector__factory } from "./factories/contracts/samples/SampleProxyConnector__factory"; +export type { SampleRedstoneConsumerBytesMock } from "./contracts/samples/SampleRedstoneConsumerBytesMock"; +export { SampleRedstoneConsumerBytesMock__factory } from "./factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory"; +export type { SampleRedstoneConsumerBytesMockManyDataFeeds } from "./contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds"; +export { SampleRedstoneConsumerBytesMockManyDataFeeds__factory } from "./factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory"; +export type { SampleRedstoneConsumerBytesMockStrings } from "./contracts/samples/SampleRedstoneConsumerBytesMockStrings"; +export { SampleRedstoneConsumerBytesMockStrings__factory } from "./factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory"; +export type { SampleRedstoneConsumerNumericMock } from "./contracts/samples/SampleRedstoneConsumerNumericMock"; +export { SampleRedstoneConsumerNumericMock__factory } from "./factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory"; +export type { SampleRedstoneConsumerNumericMockManyDataFeeds } from "./contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds"; +export { SampleRedstoneConsumerNumericMockManyDataFeeds__factory } from "./factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory"; +export type { SampleRedstoneDefaultsLib } from "./contracts/samples/SampleRedstoneDefaultsLib"; +export { SampleRedstoneDefaultsLib__factory } from "./factories/contracts/samples/SampleRedstoneDefaultsLib__factory"; +export type { SampleStorageProxy } from "./contracts/samples/SampleStorageProxy"; +export { SampleStorageProxy__factory } from "./factories/contracts/samples/SampleStorageProxy__factory"; +export type { SampleStorageProxyConsumer } from "./contracts/samples/SampleStorageProxyConsumer"; +export { SampleStorageProxyConsumer__factory } from "./factories/contracts/samples/SampleStorageProxyConsumer__factory"; +export type { ERC20Initializable } from "./contracts/samples/SampleSyntheticToken.sol/ERC20Initializable"; +export { ERC20Initializable__factory } from "./factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory"; +export type { SampleSyntheticToken } from "./contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken"; +export { SampleSyntheticToken__factory } from "./factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory"; +export type { SampleWithEvents } from "./contracts/samples/SampleWithEvents"; +export { SampleWithEvents__factory } from "./factories/contracts/samples/SampleWithEvents__factory"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts.map b/lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts.map new file mode 100644 index 00000000..63cf328f --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../typechain-types/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,SAAS,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,SAAS,EAAE,CAAC;AAC1B,OAAO,KAAK,KAAK,YAAY,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,YAAY,EAAE,CAAC;AAC7B,OAAO,KAAK,KAAK,SAAS,MAAM,aA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ACjG,OAAO,EAAE,mCAAmC,EAAE,MAAM,mEAAmE,CAAC;AACxH,YAAY,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,EAAE,2BAA2B,EAAE,MAAM,oFAAoF,CAAC;AACjI,YAAY,EAAE,oBAAoB,EAAE,MAAM,mEAAmE,CAAC;AAC9G,OAAO,EAAE,6BAA6B,EAAE,MAAM,sFAAsF,CAAC;AACrI,YAAY,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/index.js b/lib/redstone-finance/evm-connector/dist/typechain-types/index.js new file mode 100644 index 00000000..99697b49 --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/index.js @@ -0,0 +1,126 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SampleWithEvents__factory = exports.SampleSyntheticToken__factory = exports.ERC20Initializable__factory = exports.SampleStorageProxyConsumer__factory = exports.SampleStorageProxy__factory = exports.SampleRedstoneDefaultsLib__factory = exports.SampleRedstoneConsumerNumericMockManyDataFeeds__factory = exports.SampleRedstoneConsumerNumericMock__factory = exports.SampleRedstoneConsumerBytesMockStrings__factory = exports.SampleRedstoneConsumerBytesMockManyDataFeeds__factory = exports.SampleRedstoneConsumerBytesMock__factory = exports.SampleProxyConnector__factory = exports.SampleNumericArrayLib__factory = exports.SampleKydServiceConsumer__factory = exports.SampleDuplicatedDataFeeds__factory = exports.SampleBitmapLib__factory = exports.StorageStructureModel__factory = exports.SampleProxyConnectorConsumer__factory = exports.SampleChainableStorageProxyConsumer__factory = exports.SampleChainableStorageProxy__factory = exports.SampleChainableProxyConnector__factory = exports.HashCalldataModel__factory = exports.Benchmark__factory = exports.PriceFeedsManager__factory = exports.PriceFeed__factory = exports.CustomErrors__factory = exports.RedstoneConsumerNumericMock__factory = exports.RedstoneConsumerBytesMock__factory = exports.PriceFeedsManagerMock__factory = exports.AuthorisedMockSignersBase__factory = exports.NumericArrayLib__factory = exports.TwapsDemoConsumerBase__factory = exports.StocksDemoConsumerBase__factory = exports.RapidDemoConsumerBase__factory = exports.MainDemoConsumerBase__factory = exports.KydServiceConsumerBase__factory = exports.CustomUrlsConsumerBase__factory = exports.AvalancheDataServiceConsumerBase__factory = exports.RedstoneDefaultsLib__factory = exports.RedstoneConsumerNumericBase__factory = exports.RedstoneConsumerBytesBase__factory = exports.RedstoneConsumerBase__factory = exports.RedstoneConstants__factory = exports.ProxyConnector__factory = exports.CalldataExtractor__factory = exports.IERC20__factory = exports.IERC20Metadata__factory = exports.Ownable__factory = exports.AggregatorV3Interface__factory = exports.factories = void 0; +exports.factories = __importStar(require("./factories")); +var AggregatorV3Interface__factory_1 = require("./factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory"); +Object.defineProperty(exports, "AggregatorV3Interface__factory", { enumerable: true, get: function () { return AggregatorV3Interface__factory_1.AggregatorV3Interface__factory; } }); +var Ownable__factory_1 = require("./factories/@openzeppelin/contracts/access/Ownable__factory"); +Object.defineProperty(exports, "Ownable__factory", { enumerable: true, get: function () { return Ownable__factory_1.Ownable__factory; } }); +var IERC20Metadata__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory"); +Object.defineProperty(exports, "IERC20Metadata__factory", { enumerable: true, get: function () { return IERC20Metadata__factory_1.IERC20Metadata__factory; } }); +var IERC20__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20/IERC20__factory"); +Object.defineProperty(exports, "IERC20__factory", { enumerable: true, get: function () { return IERC20__factory_1.IERC20__factory; } }); +var CalldataExtractor__factory_1 = require("./factories/contracts/core/CalldataExtractor__factory"); +Object.defineProperty(exports, "CalldataExtractor__factory", { enumerable: true, get: function () { return CalldataExtractor__factory_1.CalldataExtractor__factory; } }); +var ProxyConnector__factory_1 = require("./factories/contracts/core/ProxyConnector__factory"); +Object.defineProperty(exports, "ProxyConnector__factory", { enumerable: true, get: function () { return ProxyConnector__factory_1.ProxyConnector__factory; } }); +var RedstoneConstants__factory_1 = require("./factories/contracts/core/RedstoneConstants__factory"); +Object.defineProperty(exports, "RedstoneConstants__factory", { enumerable: true, get: function () { return RedstoneConstants__factory_1.RedstoneConstants__factory; } }); +var RedstoneConsumerBase__factory_1 = require("./factories/contracts/core/RedstoneConsumerBase__factory"); +Object.defineProperty(exports, "RedstoneConsumerBase__factory", { enumerable: true, get: function () { return RedstoneConsumerBase__factory_1.RedstoneConsumerBase__factory; } }); +var RedstoneConsumerBytesBase__factory_1 = require("./factories/contracts/core/RedstoneConsumerBytesBase__factory"); +Object.defineProperty(exports, "RedstoneConsumerBytesBase__factory", { enumerable: true, get: function () { return RedstoneConsumerBytesBase__factory_1.RedstoneConsumerBytesBase__factory; } }); +var RedstoneConsumerNumericBase__factory_1 = require("./factories/contracts/core/RedstoneConsumerNumericBase__factory"); +Object.defineProperty(exports, "RedstoneConsumerNumericBase__factory", { enumerable: true, get: function () { return RedstoneConsumerNumericBase__factory_1.RedstoneConsumerNumericBase__factory; } }); +var RedstoneDefaultsLib__factory_1 = require("./factories/contracts/core/RedstoneDefaultsLib__factory"); +Object.defineProperty(exports, "RedstoneDefaultsLib__factory", { enumerable: true, get: function () { return RedstoneDefaultsLib__factory_1.RedstoneDefaultsLib__factory; } }); +var AvalancheDataServiceConsumerBase__factory_1 = require("./factories/contracts/data-services/AvalancheDataServiceConsumerBase__factory"); +Object.defineProperty(exports, "AvalancheDataServiceConsumerBase__factory", { enumerable: true, get: function () { return AvalancheDataServiceConsumerBase__factory_1.AvalancheDataServiceConsumerBase__factory; } }); +var CustomUrlsConsumerBase__factory_1 = require("./factories/contracts/data-services/CustomUrlsConsumerBase__factory"); +Object.defineProperty(exports, "CustomUrlsConsumerBase__factory", { enumerable: true, get: function () { return CustomUrlsConsumerBase__factory_1.CustomUrlsConsumerBase__factory; } }); +var KydServiceConsumerBase__factory_1 = require("./factories/contracts/data-services/KydServiceConsumerBase__factory"); +Object.defineProperty(exports, "KydServiceConsumerBase__factory", { enumerable: true, get: function () { return KydServiceConsumerBase__factory_1.KydServiceConsumerBase__factory; } }); +var MainDemoConsumerBase__factory_1 = require("./factories/contracts/data-services/MainDemoConsumerBase__factory"); +Object.defineProperty(exports, "MainDemoConsumerBase__factory", { enumerable: true, get: function () { return MainDemoConsumerBase__factory_1.MainDemoConsumerBase__factory; } }); +var RapidDemoConsumerBase__factory_1 = require("./factories/contracts/data-services/RapidDemoConsumerBase__factory"); +Object.defineProperty(exports, "RapidDemoConsumerBase__factory", { enumerable: true, get: function () { return RapidDemoConsumerBase__factory_1.RapidDemoConsumerBase__factory; } }); +var StocksDemoConsumerBase__factory_1 = require("./factories/contracts/data-services/StocksDemoConsumerBase__factory"); +Object.defineProperty(exports, "StocksDemoConsumerBase__factory", { enumerable: true, get: function () { return StocksDemoConsumerBase__factory_1.StocksDemoConsumerBase__factory; } }); +var TwapsDemoConsumerBase__factory_1 = require("./factories/contracts/data-services/TwapsDemoConsumerBase__factory"); +Object.defineProperty(exports, "TwapsDemoConsumerBase__factory", { enumerable: true, get: function () { return TwapsDemoConsumerBase__factory_1.TwapsDemoConsumerBase__factory; } }); +var NumericArrayLib__factory_1 = require("./factories/contracts/libs/NumericArrayLib__factory"); +Object.defineProperty(exports, "NumericArrayLib__factory", { enumerable: true, get: function () { return NumericArrayLib__factory_1.NumericArrayLib__factory; } }); +var AuthorisedMockSignersBase__factory_1 = require("./factories/contracts/mocks/AuthorisedMockSignersBase__factory"); +Object.defineProperty(exports, "AuthorisedMockSignersBase__factory", { enumerable: true, get: function () { return AuthorisedMockSignersBase__factory_1.AuthorisedMockSignersBase__factory; } }); +var PriceFeedsManagerMock__factory_1 = require("./factories/contracts/mocks/PriceFeedsManagerMock__factory"); +Object.defineProperty(exports, "PriceFeedsManagerMock__factory", { enumerable: true, get: function () { return PriceFeedsManagerMock__factory_1.PriceFeedsManagerMock__factory; } }); +var RedstoneConsumerBytesMock__factory_1 = require("./factories/contracts/mocks/RedstoneConsumerBytesMock__factory"); +Object.defineProperty(exports, "RedstoneConsumerBytesMock__factory", { enumerable: true, get: function () { return RedstoneConsumerBytesMock__factory_1.RedstoneConsumerBytesMock__factory; } }); +var RedstoneConsumerNumericMock__factory_1 = require("./factories/contracts/mocks/RedstoneConsumerNumericMock__factory"); +Object.defineProperty(exports, "RedstoneConsumerNumericMock__factory", { enumerable: true, get: function () { return RedstoneConsumerNumericMock__factory_1.RedstoneConsumerNumericMock__factory; } }); +var CustomErrors__factory_1 = require("./factories/contracts/price-feeds/CustomErrors__factory"); +Object.defineProperty(exports, "CustomErrors__factory", { enumerable: true, get: function () { return CustomErrors__factory_1.CustomErrors__factory; } }); +var PriceFeed__factory_1 = require("./factories/contracts/price-feeds/PriceFeed__factory"); +Object.defineProperty(exports, "PriceFeed__factory", { enumerable: true, get: function () { return PriceFeed__factory_1.PriceFeed__factory; } }); +var PriceFeedsManager__factory_1 = require("./factories/contracts/price-feeds/PriceFeedsManager__factory"); +Object.defineProperty(exports, "PriceFeedsManager__factory", { enumerable: true, get: function () { return PriceFeedsManager__factory_1.PriceFeedsManager__factory; } }); +var Benchmark__factory_1 = require("./factories/contracts/samples/benchmarks/Benchmark__factory"); +Object.defineProperty(exports, "Benchmark__factory", { enumerable: true, get: function () { return Benchmark__factory_1.Benchmark__factory; } }); +var HashCalldataModel__factory_1 = require("./factories/contracts/samples/benchmarks/HashCalldataModel__factory"); +Object.defineProperty(exports, "HashCalldataModel__factory", { enumerable: true, get: function () { return HashCalldataModel__factory_1.HashCalldataModel__factory; } }); +var SampleChainableProxyConnector__factory_1 = require("./factories/contracts/samples/benchmarks/SampleChainableProxyConnector__factory"); +Object.defineProperty(exports, "SampleChainableProxyConnector__factory", { enumerable: true, get: function () { return SampleChainableProxyConnector__factory_1.SampleChainableProxyConnector__factory; } }); +var SampleChainableStorageProxy__factory_1 = require("./factories/contracts/samples/benchmarks/SampleChainableStorageProxy__factory"); +Object.defineProperty(exports, "SampleChainableStorageProxy__factory", { enumerable: true, get: function () { return SampleChainableStorageProxy__factory_1.SampleChainableStorageProxy__factory; } }); +var SampleChainableStorageProxyConsumer__factory_1 = require("./factories/contracts/samples/benchmarks/SampleChainableStorageProxyConsumer__factory"); +Object.defineProperty(exports, "SampleChainableStorageProxyConsumer__factory", { enumerable: true, get: function () { return SampleChainableStorageProxyConsumer__factory_1.SampleChainableStorageProxyConsumer__factory; } }); +var SampleProxyConnectorConsumer__factory_1 = require("./factories/contracts/samples/benchmarks/SampleProxyConnectorConsumer__factory"); +Object.defineProperty(exports, "SampleProxyConnectorConsumer__factory", { enumerable: true, get: function () { return SampleProxyConnectorConsumer__factory_1.SampleProxyConnectorConsumer__factory; } }); +var StorageStructureModel__factory_1 = require("./factories/contracts/samples/benchmarks/StorageStructureModel__factory"); +Object.defineProperty(exports, "StorageStructureModel__factory", { enumerable: true, get: function () { return StorageStructureModel__factory_1.StorageStructureModel__factory; } }); +var SampleBitmapLib__factory_1 = require("./factories/contracts/samples/SampleBitmapLib__factory"); +Object.defineProperty(exports, "SampleBitmapLib__factory", { enumerable: true, get: function () { return SampleBitmapLib__factory_1.SampleBitmapLib__factory; } }); +var SampleDuplicatedDataFeeds__factory_1 = require("./factories/contracts/samples/SampleDuplicatedDataFeeds__factory"); +Object.defineProperty(exports, "SampleDuplicatedDataFeeds__factory", { enumerable: true, get: function () { return SampleDuplicatedDataFeeds__factory_1.SampleDuplicatedDataFeeds__factory; } }); +var SampleKydServiceConsumer__factory_1 = require("./factories/contracts/samples/SampleKydServiceConsumer__factory"); +Object.defineProperty(exports, "SampleKydServiceConsumer__factory", { enumerable: true, get: function () { return SampleKydServiceConsumer__factory_1.SampleKydServiceConsumer__factory; } }); +var SampleNumericArrayLib__factory_1 = require("./factories/contracts/samples/SampleNumericArrayLib__factory"); +Object.defineProperty(exports, "SampleNumericArrayLib__factory", { enumerable: true, get: function () { return SampleNumericArrayLib__factory_1.SampleNumericArrayLib__factory; } }); +var SampleProxyConnector__factory_1 = require("./factories/contracts/samples/SampleProxyConnector__factory"); +Object.defineProperty(exports, "SampleProxyConnector__factory", { enumerable: true, get: function () { return SampleProxyConnector__factory_1.SampleProxyConnector__factory; } }); +var SampleRedstoneConsumerBytesMock__factory_1 = require("./factories/contracts/samples/SampleRedstoneConsumerBytesMock__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerBytesMock__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerBytesMock__factory_1.SampleRedstoneConsumerBytesMock__factory; } }); +var SampleRedstoneConsumerBytesMockManyDataFeeds__factory_1 = require("./factories/contracts/samples/SampleRedstoneConsumerBytesMockManyDataFeeds__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerBytesMockManyDataFeeds__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerBytesMockManyDataFeeds__factory_1.SampleRedstoneConsumerBytesMockManyDataFeeds__factory; } }); +var SampleRedstoneConsumerBytesMockStrings__factory_1 = require("./factories/contracts/samples/SampleRedstoneConsumerBytesMockStrings__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerBytesMockStrings__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerBytesMockStrings__factory_1.SampleRedstoneConsumerBytesMockStrings__factory; } }); +var SampleRedstoneConsumerNumericMock__factory_1 = require("./factories/contracts/samples/SampleRedstoneConsumerNumericMock__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerNumericMock__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerNumericMock__factory_1.SampleRedstoneConsumerNumericMock__factory; } }); +var SampleRedstoneConsumerNumericMockManyDataFeeds__factory_1 = require("./factories/contracts/samples/SampleRedstoneConsumerNumericMockManyDataFeeds__factory"); +Object.defineProperty(exports, "SampleRedstoneConsumerNumericMockManyDataFeeds__factory", { enumerable: true, get: function () { return SampleRedstoneConsumerNumericMockManyDataFeeds__factory_1.SampleRedstoneConsumerNumericMockManyDataFeeds__factory; } }); +var SampleRedstoneDefaultsLib__factory_1 = require("./factories/contracts/samples/SampleRedstoneDefaultsLib__factory"); +Object.defineProperty(exports, "SampleRedstoneDefaultsLib__factory", { enumerable: true, get: function () { return SampleRedstoneDefaultsLib__factory_1.SampleRedstoneDefaultsLib__factory; } }); +var SampleStorageProxy__factory_1 = require("./factories/contracts/samples/SampleStorageProxy__factory"); +Object.defineProperty(exports, "SampleStorageProxy__factory", { enumerable: true, get: function () { return SampleStorageProxy__factory_1.SampleStorageProxy__factory; } }); +var SampleStorageProxyConsumer__factory_1 = require("./factories/contracts/samples/SampleStorageProxyConsumer__factory"); +Object.defineProperty(exports, "SampleStorageProxyConsumer__factory", { enumerable: true, get: function () { return SampleStorageProxyConsumer__factory_1.SampleStorageProxyConsumer__factory; } }); +var ERC20Initializable__factory_1 = require("./factories/contracts/samples/SampleSyntheticToken.sol/ERC20Initializable__factory"); +Object.defineProperty(exports, "ERC20Initializable__factory", { enumerable: true, get: function () { return ERC20Initializable__factory_1.ERC20Initializable__factory; } }); +var SampleSyntheticToken__factory_1 = require("./factories/contracts/samples/SampleSyntheticToken.sol/SampleSyntheticToken__factory"); +Object.defineProperty(exports, "SampleSyntheticToken__factory", { enumerable: true, get: function () { return SampleSyntheticToken__factory_1.SampleSyntheticToken__factory; } }); +var SampleWithEvents__factory_1 = require("./factories/contracts/samples/SampleWithEvents__factory"); +Object.defineProperty(exports, "SampleWithEvents__factory", { enumerable: true, get: function () { return SampleWithEvents__factory_1.SampleWithEvents__factory; } }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/dist/typechain-types/index.js.map b/lib/redstone-finance/evm-connector/dist/typechain-types/index.js.map new file mode 100644 index 00000000..50a73a8e --- /dev/null +++ b/lib/redstone-finance/evm-connector/dist/typechain-types/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../typechain-types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AASA,yDAAyC;AAEzC,sIAAqI;AAA5H,gJAAA,8BAA8B,OAAA;AAEvC,gGAA+F;AAAtF,oHAAA,gBAAgB,OAAA;AAEzB,8HAA6H;AAApH,kIAAA,uBAAuB,OAAA;AAEhC,mGAAkG;AAAzF,kHAAA,eAAe,OAAA;AAExB,oGAAmG;AAA1F,wIAAA,0BAA0B,OAAA;AAEnC,8FAA6F;AAApF,kIAAA,uBAAuB,OAAA;AAEhC,oGAAmG;AAA1F,wIAAA,0BAA0B,OAAA;AAEnC,0GAAyG;AAAhG,8IAAA,6BAA6B,OAAA;AAEtC,oHAAmH;AAA1G,wJAAA,kCAAkC,OAAA;AAE3C,wHAAuH;AAA9G,4JAAA,oCAAoC,OAAA;AAE7C,wGAAuG;AAA9F,4IAAA,4BAA4B,OAAA;AAErC,2IAA0I;AAAjI,sKAAA,yCAAyC,OAAA;AAElD,uHAAsH;AAA7G,kJAAA,+BAA+B,OAAA;AAExC,uHAAsH;AAA7G,kJAAA,+BAA+B,OAAA;AAExC,mHAAkH;AAAzG,8IAAA,6BAA6B,OAAA;AAEtC,qHAAoH;AAA3G,gJAAA,8BAA8B,OAAA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,kCAAkC,OAAA;AAE3C,yGAAwG;AAA/F,0IAAA,2BAA2B,OAAA;AAEpC,yHAAwH;AAA/G,0JAAA,mCAAmC,OAAA;AAE5C,kIAAiI;AAAxH,0IAAA,2BAA2B,OAAA;AAEpC,sIAAqI;AAA5H,8IAAA,6BAA6B,OAAA;AAEtC,qGAAoG;AAA3F,sIAAA,yBAAyB,OAAA"} \ No newline at end of file diff --git a/lib/redstone-finance/evm-connector/package.json b/lib/redstone-finance/evm-connector/package.json new file mode 100644 index 00000000..2651ddf8 --- /dev/null +++ b/lib/redstone-finance/evm-connector/package.json @@ -0,0 +1,49 @@ +{ + "name": "@redstone-finance/evm-connector", + "version": "0.0.22", + "description": "A tool to inject RedStone data into EVM compatible smart contracts", + "main": "dist/src/index.js", + "license": "MIT", + "scripts": { + "test": "hardhat test", + "build": "rm -rf dist && tsc -build", + "benchmark": "hardhat test benchmarks/run-benchmarks.ts", + "compile": "hardhat compile", + "postversion": "yarn build && git commit -a -m \"build: $npm_package_name@$npm_package_version\" && git push" + }, + "dependencies": { + "@chainlink/contracts": "^0.6.0", + "@openzeppelin/contracts": "^4.7.3", + "axios": "^1.1.3", + "ethers": "^5.6.8", + "redstone-protocol": "1.0.5", + "redstone-sdk": "1.0.7" + }, + "devDependencies": { + "@ethersproject/abi": "^5.6.3", + "@ethersproject/bytes": "^5.6.1", + "@ethersproject/providers": "^5.6.8", + "@nomiclabs/hardhat-ethers": "^2.0.6", + "@nomiclabs/hardhat-waffle": "^2.0.3", + "@openzeppelin/contracts-upgradeable": "^4.6.0", + "@typechain/ethers-v5": "^10.0.0", + "@typechain/hardhat": "^6.0.0", + "@types/chai": "^4.3.1", + "@types/chai-as-promised": "^7.1.5", + "@types/mocha": "^9.1.1", + "@types/node": "^17.0.37", + "chai": "^4.3.6", + "chai-as-promised": "^7.1.1", + "ethereum-waffle": "^3.4.4", + "hardhat": "^2.9.7", + "hardhat-gas-reporter": "^1.0.8", + "msw": "^0.47.4", + "prettier-plugin-solidity": "^1.0.0-beta.19", + "ts-node": "^10.8.0", + "typechain": "^8.0.0" + }, + "files": [ + "dist/**/*", + "contracts/**/*" + ] +} diff --git a/src/v2/Controllers/RedstoneProvider.sol b/src/v2/Controllers/RedstoneProvider.sol index b23efb5a..dd7b5567 100644 --- a/src/v2/Controllers/RedstoneProvider.sol +++ b/src/v2/Controllers/RedstoneProvider.sol @@ -2,19 +2,16 @@ NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. ***/ // SPDX-License-Identifier: MIT -pragma solidity 0.8.17; +pragma solidity ^0.8.4; + +import "@chainlink/interfaces/AggregatorV3Interface.sol"; +import "@chainlink/interfaces/AggregatorV2V3Interface.sol"; +import "@redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol"; import {IVaultFactoryV2} from "../interfaces/IVaultFactoryV2.sol"; import {IVaultV2} from "../interfaces/IVaultV2.sol"; -import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol"; - import "./IPriceProvider.sol"; - -pragma solidity ^0.8.4; - -import "@redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol"; - contract RedstonePriceProvider is RapidDemoConsumerBase { uint16 private constant GRACE_PERIOD_TIME = 3600; IVaultFactoryV2 public immutable vaultFactory; @@ -22,10 +19,10 @@ contract RedstonePriceProvider is RapidDemoConsumerBase { constructor(address _sequencer, address _factory) { // TODO enable after testing - //if (_factory == address(0)) revert ZeroAddress(); + if (_factory == address(0)) revert ZeroAddress(); vaultFactory = IVaultFactoryV2(_factory); - //if (_sequencer == address(0)) revert ZeroAddress(); + if (_sequencer == address(0)) revert ZeroAddress(); sequencerUptimeFeed = AggregatorV2V3Interface(_sequencer); } From 0f776d49f62d208d71684de61f7f8fd9580f479c Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Tue, 18 Apr 2023 13:07:13 +0000 Subject: [PATCH 05/13] mock test running well --- src/v2/Controllers/ChainlinkPriceProvider.sol | 1 + .../Controllers/RedstoneMockPriceProvider.sol | 91 +++++++++++++++++++ ...Provider.sol => RedstonePriceProvider.sol} | 70 ++++---------- test/V2/e2e/EndToEndV2GenericTest.t.sol | 7 +- 4 files changed, 115 insertions(+), 54 deletions(-) create mode 100644 src/v2/Controllers/RedstoneMockPriceProvider.sol rename src/v2/Controllers/{RedstoneProvider.sol => RedstonePriceProvider.sol} (59%) diff --git a/src/v2/Controllers/ChainlinkPriceProvider.sol b/src/v2/Controllers/ChainlinkPriceProvider.sol index 91848645..5999fe55 100644 --- a/src/v2/Controllers/ChainlinkPriceProvider.sol +++ b/src/v2/Controllers/ChainlinkPriceProvider.sol @@ -55,6 +55,7 @@ contract ChainlinkPriceProvider is IPriceProvider { AggregatorV3Interface priceFeed = AggregatorV3Interface( vaultFactory.tokenToOracle(_token) ); + (uint80 roundID, int256 price, , , uint80 answeredInRound) = priceFeed .latestRoundData(); uint256 decimals = priceFeed.decimals(); diff --git a/src/v2/Controllers/RedstoneMockPriceProvider.sol b/src/v2/Controllers/RedstoneMockPriceProvider.sol new file mode 100644 index 00000000..52588f94 --- /dev/null +++ b/src/v2/Controllers/RedstoneMockPriceProvider.sol @@ -0,0 +1,91 @@ +/******************************************************* +NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. +***/ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.4; + +import "@chainlink/interfaces/AggregatorV3Interface.sol"; +import "@chainlink/interfaces/AggregatorV2V3Interface.sol"; +import "@redstone-finance/evm-connector/contracts/data-services/RapidDemoConsumerBase.sol"; + +import {IVaultFactoryV2} from "../interfaces/IVaultFactoryV2.sol"; +import {IVaultV2} from "../interfaces/IVaultV2.sol"; + +import "./IPriceProvider.sol"; +import "./RedstonePriceProvider.sol"; + +contract RedstoneMockPriceProvider is RedstonePriceProvider { + + constructor(address _sequencer, address _factory) RedstonePriceProvider(_sequencer, _factory) { + + } + + function getLatestRawPrice(address _token) public override view returns (int256) { + + AggregatorV3Interface priceFeed = AggregatorV3Interface( + vaultFactory.tokenToOracle(_token) + ); + + (uint80 roundID, int256 price, , , uint80 answeredInRound) = priceFeed + .latestRoundData(); + return price; + } + + + function getLatestRawDecimals(address _token) public override view returns (uint256) { + AggregatorV3Interface priceFeed = AggregatorV3Interface( + vaultFactory.tokenToOracle(_token) + ); + + (uint80 roundID, int256 price, , , uint80 answeredInRound) = priceFeed + .latestRoundData(); + uint256 decimals = priceFeed.decimals(); + return decimals; + } +} + + +/******************************************************* +NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. +Below was the testing script used to access live data using this contract. +The Smart Contract below has been tested via https://github.com/redstone-finance/redstone-evm-examples +--- To conduct a test, one can (a) pull the repo (b) add the contract into contracts, and (c) this test script into tests. Then run yarn test, and oobserve the VST data. + +TODO / Puzzles: +- Y2K: How do we simulate Historical Data for this VST service +- RedStone: How do we replicate the function of "usingDataService" on chain? + + +const { WrapperBuilder } = require("@redstone-finance/evm-connector"); +//const { ethers } = require("ethers"); + + +describe("RedstonePriceProvider", function () { + let contract; + + beforeEach(async () => { + // Deploy contract + const RedstonePriceProvider = await ethers.getContractFactory("RedstonePriceProvider"); + //contract = await RedstonePriceProvider.deploy(); + const sequencerAddress = ethers.constants.AddressZero; + const factoryAddress = ethers.constants.AddressZero; + contract = await RedstonePriceProvider.deploy(sequencerAddress, factoryAddress); + + }); + + it("Get VST price securely", async function () { + // Wrapping the contract + const wrappedContract = WrapperBuilder.wrap(contract).usingDataService({ + dataServiceId: "redstone-rapid-demo", + uniqueSignersCount: 1, + dataFeeds: ["VST"], + }, ["https://d33trozg86ya9x.cloudfront.net"]); + + // Interact with the contract (getting oracle value securely) + const ethPriceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); + console.log({ ethPriceFromContract }); + }); +}); + + +**************************************/ diff --git a/src/v2/Controllers/RedstoneProvider.sol b/src/v2/Controllers/RedstonePriceProvider.sol similarity index 59% rename from src/v2/Controllers/RedstoneProvider.sol rename to src/v2/Controllers/RedstonePriceProvider.sol index dd7b5567..5439d189 100644 --- a/src/v2/Controllers/RedstoneProvider.sol +++ b/src/v2/Controllers/RedstonePriceProvider.sol @@ -12,13 +12,12 @@ import {IVaultFactoryV2} from "../interfaces/IVaultFactoryV2.sol"; import {IVaultV2} from "../interfaces/IVaultV2.sol"; import "./IPriceProvider.sol"; -contract RedstonePriceProvider is RapidDemoConsumerBase { +contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { uint16 private constant GRACE_PERIOD_TIME = 3600; IVaultFactoryV2 public immutable vaultFactory; AggregatorV2V3Interface internal sequencerUptimeFeed; constructor(address _sequencer, address _factory) { - // TODO enable after testing if (_factory == address(0)) revert ZeroAddress(); vaultFactory = IVaultFactoryV2(_factory); @@ -26,7 +25,18 @@ contract RedstonePriceProvider is RapidDemoConsumerBase { sequencerUptimeFeed = AggregatorV2V3Interface(_sequencer); } - + + function getLatestRawPrice(address _token) public virtual view returns (int256) { + uint256 priceIn = getOracleNumericValueFromTxMsg(bytes32("VST")); + int256 price = int256(priceIn); // TODO Check this for errors + return price; + } + + function getLatestRawDecimals(address _token) public virtual view returns (uint256) { + return 18; + } + + /** @notice Lookup token price * @param _token Target token address * @return nowPrice Current token price @@ -51,9 +61,9 @@ contract RedstonePriceProvider is RapidDemoConsumerBase { } - uint256 priceIn = getOracleNumericValueFromTxMsg(bytes32("VST")); - int256 price = int256(priceIn); - uint256 decimals = 18; + int256 price = getLatestRawPrice(_token); + uint256 decimals = getLatestRawDecimals(_token); + if (decimals < 18) { decimals = 10**(18 - decimals); price = price * int256(decimals); @@ -90,50 +100,4 @@ contract RedstonePriceProvider is RapidDemoConsumerBase { error EpochNotExpired(); error VaultNotZeroTVL(); error VaultZeroTVL(); -} - - -/******************************************************* -NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. -Below was the testing script used to access live data using this contract. -The Smart Contract below has been tested via https://github.com/redstone-finance/redstone-evm-examples ---- To conduct a test, one can (a) pull the repo (b) add the contract into contracts, and (c) this test script into tests. Then run yarn test, and oobserve the VST data. - -TODO / Puzzles: -- Y2K: How do we simulate Historical Data for this VST service -- RedStone: How do we replicate the function of "usingDataService" on chain? - - -const { WrapperBuilder } = require("@redstone-finance/evm-connector"); -//const { ethers } = require("ethers"); - - -describe("RedstonePriceProvider", function () { - let contract; - - beforeEach(async () => { - // Deploy contract - const RedstonePriceProvider = await ethers.getContractFactory("RedstonePriceProvider"); - //contract = await RedstonePriceProvider.deploy(); - const sequencerAddress = ethers.constants.AddressZero; - const factoryAddress = ethers.constants.AddressZero; - contract = await RedstonePriceProvider.deploy(sequencerAddress, factoryAddress); - - }); - - it("Get VST price securely", async function () { - // Wrapping the contract - const wrappedContract = WrapperBuilder.wrap(contract).usingDataService({ - dataServiceId: "redstone-rapid-demo", - uniqueSignersCount: 1, - dataFeeds: ["VST"], - }, ["https://d33trozg86ya9x.cloudfront.net"]); - - // Interact with the contract (getting oracle value securely) - const ethPriceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); - console.log({ ethPriceFromContract }); - }); -}); - - -**************************************/ +} \ No newline at end of file diff --git a/test/V2/e2e/EndToEndV2GenericTest.t.sol b/test/V2/e2e/EndToEndV2GenericTest.t.sol index 805f73c4..301a0890 100644 --- a/test/V2/e2e/EndToEndV2GenericTest.t.sol +++ b/test/V2/e2e/EndToEndV2GenericTest.t.sol @@ -7,6 +7,7 @@ import "../../../src/v2/TimeLock.sol"; import "../../../src/v2/VaultV2.sol"; import "../../../src/v2/Controllers/ControllerGenericV2.sol"; import "../../../src/v2/Controllers/ChainlinkPriceProvider.sol"; +import "../../../src/v2/Controllers/RedstoneMockPriceProvider.sol"; import "../../../src/v2/Controllers/PriceBasedDepegCondition.sol"; import "../../../src/v2/Controllers/IPriceProvider.sol"; import "../../../src/v2/Controllers/IDepegCondition.sol"; @@ -67,7 +68,11 @@ contract EndToEndV2Test is Helper { address(timelock) ); - priceProvider = IPriceProvider(new ChainlinkPriceProvider( + //priceProvider = IPriceProvider(new ChainlinkPriceProvider( + // ARBITRUM_SEQUENCER, + // address(factory) + // )); + priceProvider = IPriceProvider(new RedstoneMockPriceProvider( ARBITRUM_SEQUENCER, address(factory) )); From e0f2573ad120c96a992a0d2cd4bdeeee32ba25de Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Tue, 18 Apr 2023 21:30:18 +0000 Subject: [PATCH 06/13] in the middle of constructing contract deployment --- deploy/dev_deploy_redstone.sh | 24 +++++ deploy/dev_testPrice.js | 35 +++++++ package-lock.json | 92 ++++++++++++++++++- package.json | 2 +- script/DeployRedstones.s.sol | 41 +++++++++ .../Controllers/RedstoneMockPriceProvider.sol | 43 --------- src/v2/Controllers/RedstonePriceProvider.sol | 7 +- 7 files changed, 192 insertions(+), 52 deletions(-) create mode 100755 deploy/dev_deploy_redstone.sh create mode 100644 deploy/dev_testPrice.js create mode 100644 script/DeployRedstones.s.sol diff --git a/deploy/dev_deploy_redstone.sh b/deploy/dev_deploy_redstone.sh new file mode 100755 index 00000000..d2bdb201 --- /dev/null +++ b/deploy/dev_deploy_redstone.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# Replace these values with the correct ones for your environment +RPC_URL="https://goerli.infura.io/v3/37519f5fe2fb4d2cac2711a66aa06514" +PRIVATE_KEY="0xa881e3de2f71ddfcd7d5c189c4755b6033328d48e9895d47ea4de00603d6732c" +SEQUENCER_ADDRESS="0x0000000000000000000000000000000000000000" +FACTORY_ADDRESS="0x0000000000000000000000000000000000000000" +CONTRACT_PATH="src/v2/Controllers/RedstonePriceProvider.sol:RedstonePriceProvider" + + + +# Replace these values with the correct ones for your environment +RPC_URL="FROM_CONST" +PRIVATE_KEY="FROM_A_CONST" +SEQUENCER_ADDRESS="0x0000000000000000000000000000000000000000" +FACTORY_ADDRESS="0x0000000000000000000000000000000000000000" +CONTRACT_PATH="src/v2/Controllers/RedstonePriceProvider.sol:RedstonePriceProvider" + +forge create --rpc-url $RPC_URL --private-key $PRIVATE_KEY $CONTRACT_PATH --constructor-args "$SEQUENCER_ADDRESS" "$FACTORY_ADDRESS" + +# +#Deployer: 0xbe1E971E8e5E50F7698C74656520F0E788a0518D +#Deployed to: 0x11Cc82544253565beB74faeda687db72cd2D5d32 +#Transaction hash: 0x65e4c6f1f158dfcd8b0446c61ff34a9bbd3f67328d630e8f5a09711aac8c6d9b \ No newline at end of file diff --git a/deploy/dev_testPrice.js b/deploy/dev_testPrice.js new file mode 100644 index 00000000..297f21bb --- /dev/null +++ b/deploy/dev_testPrice.js @@ -0,0 +1,35 @@ +// testPrice.js + +const { ethers } = require("ethers"); +const { WrapperBuilder } = require("@redstone-finance/evm-connector"); + +async function main() { + // Replace with your values + const rpcUrl = "https://goerli.infura.io/v3/37519f5fe2fb4d2cac2711a66aa06514"; + const privateKey = "0xa881e3de2f71ddfcd7d5c189c4755b6033328d48e9895d47ea4de00603d6732c"; + const contractAddress = "0x11Cc82544253565beB74faeda687db72cd2D5d32"; + + const provider = new ethers.providers.JsonRpcProvider(rpcUrl); + const wallet = new ethers.Wallet(privateKey, provider); + + const abi =require("../abi/RedstonePriceProvider.sol/RedstonePriceProvider.json"); + + const contract = new ethers.Contract(contractAddress, abi["abi"], wallet); + + const wrappedContract = WrapperBuilder.wrap(contract).usingDataService({ + dataServiceId: "redstone-rapid-demo", + uniqueSignersCount: 1, + dataFeeds: ["VST"], + }, ["https://d33trozg86ya9x.cloudfront.net"]); + + const ethPriceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); + console.log({ ethPriceFromContract }); + +} + +main() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); diff --git a/package-lock.json b/package-lock.json index 70e5ddef..a1f6fdc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,6 +6,7 @@ "": { "dependencies": { "@redstone-finance/evm-connector": "^0.0.22", + "solc": "^0.8.19", "solhint-plugin-prettier": "^0.0.5" }, "devDependencies": { @@ -1111,6 +1112,11 @@ "node": ">= 0.8" } }, + "node_modules/command-exists": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz", + "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==" + }, "node_modules/commander": { "version": "2.18.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz", @@ -1930,6 +1936,14 @@ "node": ">=10" } }, + "node_modules/memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", + "engines": { + "node": ">= 0.10.0" + } + }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -2064,7 +2078,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -2479,6 +2492,42 @@ "node": ">=6" } }, + "node_modules/solc": { + "version": "0.8.19", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.8.19.tgz", + "integrity": "sha512-yqurS3wzC4LdEvmMobODXqprV4MYJcVtinuxgrp61ac8K2zz40vXA0eSAskSHPgv8dQo7Nux39i3QBsHx4pqyA==", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "^8.1.0", + "follow-redirects": "^1.12.1", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solc.js" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/solc/node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "engines": { + "node": ">= 12" + } + }, + "node_modules/solc/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, "node_modules/solhint": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/solhint/-/solhint-3.3.7.tgz", @@ -2655,7 +2704,6 @@ "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, "dependencies": { "os-tmpdir": "~1.0.2" }, @@ -3494,6 +3542,11 @@ "delayed-stream": "~1.0.0" } }, + "command-exists": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz", + "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==" + }, "commander": { "version": "2.18.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz", @@ -4142,6 +4195,11 @@ "yallist": "^4.0.0" } }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==" + }, "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -4254,8 +4312,7 @@ "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, "parent-module": { "version": "1.0.1", @@ -4569,6 +4626,32 @@ "is-fullwidth-code-point": "^2.0.0" } }, + "solc": { + "version": "0.8.19", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.8.19.tgz", + "integrity": "sha512-yqurS3wzC4LdEvmMobODXqprV4MYJcVtinuxgrp61ac8K2zz40vXA0eSAskSHPgv8dQo7Nux39i3QBsHx4pqyA==", + "requires": { + "command-exists": "^1.2.8", + "commander": "^8.1.0", + "follow-redirects": "^1.12.1", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "dependencies": { + "commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } + } + }, "solhint": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/solhint/-/solhint-3.3.7.tgz", @@ -4710,7 +4793,6 @@ "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, "requires": { "os-tmpdir": "~1.0.2" } diff --git a/package.json b/package.json index d8125091..43e4332e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "solhint": "^3.3.7" }, "dependencies": { - "@redstone-finance/evm-connector": "^0.0.22", + "solc": "^0.8.19", "solhint-plugin-prettier": "^0.0.5" } } diff --git a/script/DeployRedstones.s.sol b/script/DeployRedstones.s.sol new file mode 100644 index 00000000..1e29912c --- /dev/null +++ b/script/DeployRedstones.s.sol @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.13; + +import "./RedstonePriceProvider.sol"; +import "./HelperConfig.sol"; + +contract DeployAndTestRedstone is HelperConfig { + RedstonePriceProvider public priceProvider; + + function setup() internal { + // Initialize configuration using HelperConfig functions + ConfigAddresses memory configAddresses = getConfigAddresses(false); + contractToAddresses(configAddresses); + } + + function deploy() internal { + // Initialize variables + address sequencerAddress = address(0); + address factoryAddress = address(0); + + // Deploy RedstonePriceProvider contract + priceProvider = new RedstonePriceProvider(sequencerAddress, factoryAddress); + } + + function test() internal { + // Invoke the Node.js script + // somehow vm.execute("InvokeNodeScript"); + + + uint256 vstPrice = evmConnector.getLatestPrice(address(priceProvider), address(0)); + + // Output the fetched price + emit Log("Fetched vstPrice \", vstPrice); + } + + function run() public { + setup(); + deploy(); + test(); + } +} diff --git a/src/v2/Controllers/RedstoneMockPriceProvider.sol b/src/v2/Controllers/RedstoneMockPriceProvider.sol index 52588f94..921b84d4 100644 --- a/src/v2/Controllers/RedstoneMockPriceProvider.sol +++ b/src/v2/Controllers/RedstoneMockPriceProvider.sol @@ -45,47 +45,4 @@ contract RedstoneMockPriceProvider is RedstonePriceProvider { } -/******************************************************* -NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. -Below was the testing script used to access live data using this contract. -The Smart Contract below has been tested via https://github.com/redstone-finance/redstone-evm-examples ---- To conduct a test, one can (a) pull the repo (b) add the contract into contracts, and (c) this test script into tests. Then run yarn test, and oobserve the VST data. - -TODO / Puzzles: -- Y2K: How do we simulate Historical Data for this VST service -- RedStone: How do we replicate the function of "usingDataService" on chain? - - -const { WrapperBuilder } = require("@redstone-finance/evm-connector"); -//const { ethers } = require("ethers"); - - -describe("RedstonePriceProvider", function () { - let contract; - - beforeEach(async () => { - // Deploy contract - const RedstonePriceProvider = await ethers.getContractFactory("RedstonePriceProvider"); - //contract = await RedstonePriceProvider.deploy(); - const sequencerAddress = ethers.constants.AddressZero; - const factoryAddress = ethers.constants.AddressZero; - contract = await RedstonePriceProvider.deploy(sequencerAddress, factoryAddress); - - }); - - it("Get VST price securely", async function () { - // Wrapping the contract - const wrappedContract = WrapperBuilder.wrap(contract).usingDataService({ - dataServiceId: "redstone-rapid-demo", - uniqueSignersCount: 1, - dataFeeds: ["VST"], - }, ["https://d33trozg86ya9x.cloudfront.net"]); - - // Interact with the contract (getting oracle value securely) - const ethPriceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); - console.log({ ethPriceFromContract }); - }); -}); - -**************************************/ diff --git a/src/v2/Controllers/RedstonePriceProvider.sol b/src/v2/Controllers/RedstonePriceProvider.sol index 5439d189..a2e40436 100644 --- a/src/v2/Controllers/RedstonePriceProvider.sol +++ b/src/v2/Controllers/RedstonePriceProvider.sol @@ -18,10 +18,10 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { AggregatorV2V3Interface internal sequencerUptimeFeed; constructor(address _sequencer, address _factory) { - if (_factory == address(0)) revert ZeroAddress(); + //if (_factory == address(0)) revert ZeroAddress(); vaultFactory = IVaultFactoryV2(_factory); - if (_sequencer == address(0)) revert ZeroAddress(); + //if (_sequencer == address(0)) revert ZeroAddress(); sequencerUptimeFeed = AggregatorV2V3Interface(_sequencer); } @@ -100,4 +100,5 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { error EpochNotExpired(); error VaultNotZeroTVL(); error VaultZeroTVL(); -} \ No newline at end of file +} + From 12d44c35e46678d73a9a9a65d3d59fb66d80a4b1 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Wed, 19 Apr 2023 14:36:54 +0000 Subject: [PATCH 07/13] got forge invocation running --- script/DeployRedstones.s.sol | 41 ------------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 script/DeployRedstones.s.sol diff --git a/script/DeployRedstones.s.sol b/script/DeployRedstones.s.sol deleted file mode 100644 index 1e29912c..00000000 --- a/script/DeployRedstones.s.sol +++ /dev/null @@ -1,41 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity ^0.8.13; - -import "./RedstonePriceProvider.sol"; -import "./HelperConfig.sol"; - -contract DeployAndTestRedstone is HelperConfig { - RedstonePriceProvider public priceProvider; - - function setup() internal { - // Initialize configuration using HelperConfig functions - ConfigAddresses memory configAddresses = getConfigAddresses(false); - contractToAddresses(configAddresses); - } - - function deploy() internal { - // Initialize variables - address sequencerAddress = address(0); - address factoryAddress = address(0); - - // Deploy RedstonePriceProvider contract - priceProvider = new RedstonePriceProvider(sequencerAddress, factoryAddress); - } - - function test() internal { - // Invoke the Node.js script - // somehow vm.execute("InvokeNodeScript"); - - - uint256 vstPrice = evmConnector.getLatestPrice(address(priceProvider), address(0)); - - // Output the fetched price - emit Log("Fetched vstPrice \", vstPrice); - } - - function run() public { - setup(); - deploy(); - test(); - } -} From deeee81ff36315f755001e0b31cb799a539ba6f7 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Thu, 20 Apr 2023 00:41:57 +0000 Subject: [PATCH 08/13] finished most of deployment forge work. Almost ready for full deployment and test --- script/DeployRedstone.s.sol | 132 ++++++++++++++++++ .../test_RedstonePrice.js | 24 +++- src/v2/Controllers/IPriceProvider.sol | 2 +- .../Controllers/RedstoneMockPriceProvider.sol | 3 +- 4 files changed, 153 insertions(+), 8 deletions(-) create mode 100644 script/DeployRedstone.s.sol rename deploy/dev_testPrice.js => script/test_RedstonePrice.js (63%) diff --git a/script/DeployRedstone.s.sol b/script/DeployRedstone.s.sol new file mode 100644 index 00000000..777e55db --- /dev/null +++ b/script/DeployRedstone.s.sol @@ -0,0 +1,132 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; +//import "../src/v2/Controllers/RedstonePriceProvider.sol"; +//import "./Helper.sol"; + +//import "../src/v2/Controllers/RedstoneMockPriceProvider.sol"; +import "../src/v2/Controllers/ChainlinkPriceProvider.sol"; + + +//import "./Helper.sol"; +import "forge-std/console.sol"; +import "forge-std/Script.sol"; +import "forge-std/StdJson.sol"; + +contract DeployAndTestRedstone is Script { + //RedstonePriceProvider public priceProvider; + using stdJson for string; + + ConfigAddresses configAddresses; + struct ConfigAddresses { + address admin; + address arbitrum_sequencer; + address controller; + address gelatoOpsV2; + address gelatoTaskTreasury; + address keeperDepeg; + address keeperEndEpoch; + address oracleDAI; + address oracleFEI; + address oracleFRAX; + address oracleMIM; + address oracleUSDC; + address oracleUSDT; + address policy; + address rewardsFactory; + address tokenDAI; + address tokenFEI; + address tokenFRAX; + address tokenMIM; + address tokenUSDC; + address tokenUSDT; + address treasury; + address vaultFactory; + address weth; + address y2k; + } + + function getConfigAddresses(bool isTestEnv) public returns (ConfigAddresses memory) { + string memory root = vm.projectRoot(); + string memory path; + if(isTestEnv){ + path = string.concat(root, "/configTestEnv.json"); + } + else{ + path = string.concat(root, "/configAddresses.json"); + } + string memory json = vm.readFile(path); + //console2.log("json ", string(json)); + + bytes memory parseJsonByteCode = json.parseRaw(".configAddresses[0]"); + ConfigAddresses memory rawConstants = abi.decode(parseJsonByteCode, (ConfigAddresses)); + //console2.log("ConfigAddresses ", rawConstants.weth); + + return rawConstants; + } + + function setup() internal { + configAddresses = getConfigAddresses(true); + } + /* + function deploy() internal { + vm.startBroadcast(); + address vaultFactoryAddress = address(0); + priceProvider = new RedstonePriceProvider(addresses.arbitrum_sequencer, vaultFactoryAddress); + vm.stopBroadcast(); + } + function test() internal { + // Invoke the Node.js script + // somehow vm.execute("InvokeNodeScript"); + uint256 vstPrice = evmConnector.getLatestPrice(address(priceProvider), address(0)); + + // Output the fetched price + emit Log("Fetched vstPrice \", vstPrice); + }*/ + + // Helper function to check if a string is a number + function isNumber(string memory s) private pure returns (bool) { + bytes memory b = bytes(s); + for (uint i = 0; i < b.length; i++) { + if (!(b[i] >= "0" && b[i] <= "9" || b[i] == ".")) { + return false; + } + } + return true; + } + + function getJsPrice(string memory redstoneOracleAddress) public returns (string memory) { + setup(); + string[] memory cmd = new string[](5); + cmd[0] = "node"; + cmd[1] = "./script/test_RedstonePrice.js"; + ///cmd[2] = vm.envString("ARBITRUM_GOERLI_RPC_URL"); + cmd[2] = vm.envString("ETH_GOERLI_RPC_URL"); + cmd[3] = vm.envString("PRIVATE_KEY"); + //cmd[4] = string(redstoneOracleAddress); + cmd[4] = redstoneOracleAddress; + + bytes memory result = vm.ffi(cmd); + string memory resultString = string(result); + return resultString; + } + + function run() public{ + string memory redstoneOracleAddress = "0x11Cc82544253565beB74faeda687db72cd2D5d32"; + string memory newPrice = getJsPrice(redstoneOracleAddress); + + if (!isNumber(newPrice)) { + console.log("Error: COULD NOT GET PRICE FROM REDSTONE ORACLE"); + console.log(newPrice); + return; + + } else { + console.log("success"); + console.log(newPrice); + + } + console.log("Finishing"); + + } + +} + diff --git a/deploy/dev_testPrice.js b/script/test_RedstonePrice.js similarity index 63% rename from deploy/dev_testPrice.js rename to script/test_RedstonePrice.js index 297f21bb..9f2fad4e 100644 --- a/deploy/dev_testPrice.js +++ b/script/test_RedstonePrice.js @@ -1,16 +1,27 @@ // testPrice.js -const { ethers } = require("ethers"); -const { WrapperBuilder } = require("@redstone-finance/evm-connector"); +//const { ethers } = require("ethers"); +//const { WrapperBuilder } = require("@redstone-finance/evm-connector"); async function main() { + + if (process.argv.length < 4) { + console.error('Error: Two positional arguments are required. (see test_RedstonePrice.js)'); + process.exit(1); + } + const rpcUrl = process.argv[2]; + const privateKey = process.argv[3]; + const contractAddress = process.argv[4]; + // Replace with your values + //const privateKey = ""; + //const wallet = new ethers.Wallet(privateKey, provider); + + /* const rpcUrl = "https://goerli.infura.io/v3/37519f5fe2fb4d2cac2711a66aa06514"; - const privateKey = "0xa881e3de2f71ddfcd7d5c189c4755b6033328d48e9895d47ea4de00603d6732c"; const contractAddress = "0x11Cc82544253565beB74faeda687db72cd2D5d32"; const provider = new ethers.providers.JsonRpcProvider(rpcUrl); - const wallet = new ethers.Wallet(privateKey, provider); const abi =require("../abi/RedstonePriceProvider.sol/RedstonePriceProvider.json"); @@ -24,12 +35,13 @@ async function main() { const ethPriceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); console.log({ ethPriceFromContract }); - + */ + console.log(contractAddress); } main() .then(() => process.exit(0)) - .catch((error) => { + .catch((error) => { console.error(error); process.exit(1); }); diff --git a/src/v2/Controllers/IPriceProvider.sol b/src/v2/Controllers/IPriceProvider.sol index 79a57897..304ecb10 100644 --- a/src/v2/Controllers/IPriceProvider.sol +++ b/src/v2/Controllers/IPriceProvider.sol @@ -1,4 +1,4 @@ -pragma solidity 0.8.17; +pragma solidity ^0.8.17; interface IPriceProvider { function getLatestPrice(address _token) external view returns (int256); diff --git a/src/v2/Controllers/RedstoneMockPriceProvider.sol b/src/v2/Controllers/RedstoneMockPriceProvider.sol index 921b84d4..0b4dec1b 100644 --- a/src/v2/Controllers/RedstoneMockPriceProvider.sol +++ b/src/v2/Controllers/RedstoneMockPriceProvider.sol @@ -2,7 +2,8 @@ NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. ***/ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.4; +//pragma solidity ^0.8.4; +pragma solidity ^0.8.0; import "@chainlink/interfaces/AggregatorV3Interface.sol"; import "@chainlink/interfaces/AggregatorV2V3Interface.sol"; From 442604f0c85c9e359454d48ceb6eabf930b0b464 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Thu, 20 Apr 2023 21:08:19 +0000 Subject: [PATCH 09/13] finished dev deployment. Blocked on some forge particulars --- foundry.toml | 3 +- package-lock.json | 145 +++++++++--------- package.json | 2 + script/DeployRedstone.s.sol | 99 ++++++++---- script/test_RedstonePrice.js | 60 +++++--- src/v2/Controllers/ChainlinkPriceProvider.sol | 2 +- src/v2/Controllers/RedstonePriceProvider.sol | 2 +- 7 files changed, 194 insertions(+), 119 deletions(-) diff --git a/foundry.toml b/foundry.toml index 9a05a5b5..9ab7dea2 100644 --- a/foundry.toml +++ b/foundry.toml @@ -14,4 +14,5 @@ fs_permissions = [{ access = "read", path = "./"}] arbitrum = { key = "${ETHERSCAN_API_KEY}" } [rpc_endpoints] -arbitrum = "${ARBITRUM_RPC_URL}" \ No newline at end of file +arbitrum = "${ARBITRUM_RPC_URL}" +goerli = "${GOERLI_RPC_URL}" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index a1f6fdc9..7277ff5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,6 +6,7 @@ "": { "dependencies": { "@redstone-finance/evm-connector": "^0.0.22", + "ethers": "5.7.2", "solc": "^0.8.19", "solhint-plugin-prettier": "^0.0.5" }, @@ -63,12 +64,7 @@ "@openzeppelin/contracts-v0.7": "npm:@openzeppelin/contracts@v3.4.2" } }, - "node_modules/@chainlink/contracts/node_modules/@openzeppelin/contracts": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.3.3.tgz", - "integrity": "sha512-tDBopO1c98Yk7Cv/PZlHqrvtVjlgK5R4J6jxLwoO7qxK4xqOiZG+zSkIvGFpPZ0ikc3QOED3plgdqjgNTnBc7g==" - }, - "node_modules/@eth-optimism/contracts": { + "node_modules/@chainlink/contracts/node_modules/@eth-optimism/contracts": { "version": "0.5.40", "resolved": "https://registry.npmjs.org/@eth-optimism/contracts/-/contracts-0.5.40.tgz", "integrity": "sha512-MrzV0nvsymfO/fursTB7m/KunkPsCndltVgfdHaT1Aj5Vi6R/doKIGGkOofHX+8B6VMZpuZosKCMQ5lQuqjt8w==", @@ -81,6 +77,11 @@ "ethers": "^5" } }, + "node_modules/@chainlink/contracts/node_modules/@openzeppelin/contracts": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.3.3.tgz", + "integrity": "sha512-tDBopO1c98Yk7Cv/PZlHqrvtVjlgK5R4J6jxLwoO7qxK4xqOiZG+zSkIvGFpPZ0ikc3QOED3plgdqjgNTnBc7g==" + }, "node_modules/@eth-optimism/core-utils": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/@eth-optimism/core-utils/-/core-utils-0.12.0.tgz", @@ -403,6 +404,11 @@ "scrypt-js": "3.0.1" } }, + "node_modules/@ethersproject/json-wallets/node_modules/aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" + }, "node_modules/@ethersproject/keccak256": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", @@ -529,6 +535,26 @@ "ws": "7.4.6" } }, + "node_modules/@ethersproject/providers/node_modules/ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/@ethersproject/random": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", @@ -776,14 +802,14 @@ } }, "node_modules/@openzeppelin/contracts": { - "version": "4.8.2", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.2.tgz", - "integrity": "sha512-kEUOgPQszC0fSYWpbh2kT94ltOJwj1qfT2DWo+zVttmGmf97JZ99LspePNaeeaLhCImaHVeBbjaQFZQn7+Zc5g==" + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.3.tgz", + "integrity": "sha512-bQHV8R9Me8IaJoJ2vPG4rXcL7seB7YVuskr4f+f5RyOStSZetwzkWtoqDMl5erkBJy0lDRUnIR2WIkPiC0GJlg==" }, "node_modules/@openzeppelin/contracts-upgradeable": { - "version": "4.8.2", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.8.2.tgz", - "integrity": "sha512-zIggnBwemUmmt9IS73qxi+tumALxCY4QEs3zLCII78k0Gfse2hAOdAkuAeLUzvWUpneMUfFE5sGHzEUSTvn4Ag==" + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.8.3.tgz", + "integrity": "sha512-SXDRl7HKpl2WDoJpn7CK/M9U4Z8gNXDHHChAKh0Iz+Wew3wu6CmFYBeie3je8V0GSXZAIYYwUktSrnW/kwVPtg==" }, "node_modules/@openzeppelin/contracts-v0.7": { "name": "@openzeppelin/contracts", @@ -833,11 +859,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/aes-js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" - }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -942,9 +963,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz", - "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.6.tgz", + "integrity": "sha512-PEcdkk7JcdPiMDkvM4K6ZBRYq9keuVJsToxm2zQIM70Qqo2WHTdJZMXcG9X+RmRp2VPNUQC8W1RAGbgt6b1yMg==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -2785,26 +2806,6 @@ "node": ">=4" } }, - "node_modules/ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -2849,6 +2850,16 @@ "@openzeppelin/contracts-v0.7": "npm:@openzeppelin/contracts@v3.4.2" }, "dependencies": { + "@eth-optimism/contracts": { + "version": "0.5.40", + "resolved": "https://registry.npmjs.org/@eth-optimism/contracts/-/contracts-0.5.40.tgz", + "integrity": "sha512-MrzV0nvsymfO/fursTB7m/KunkPsCndltVgfdHaT1Aj5Vi6R/doKIGGkOofHX+8B6VMZpuZosKCMQ5lQuqjt8w==", + "requires": { + "@eth-optimism/core-utils": "0.12.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0" + } + }, "@openzeppelin/contracts": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.3.3.tgz", @@ -2856,16 +2867,6 @@ } } }, - "@eth-optimism/contracts": { - "version": "0.5.40", - "resolved": "https://registry.npmjs.org/@eth-optimism/contracts/-/contracts-0.5.40.tgz", - "integrity": "sha512-MrzV0nvsymfO/fursTB7m/KunkPsCndltVgfdHaT1Aj5Vi6R/doKIGGkOofHX+8B6VMZpuZosKCMQ5lQuqjt8w==", - "requires": { - "@eth-optimism/core-utils": "0.12.0", - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0" - } - }, "@eth-optimism/core-utils": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/@eth-optimism/core-utils/-/core-utils-0.12.0.tgz", @@ -3056,6 +3057,13 @@ "@ethersproject/transactions": "^5.7.0", "aes-js": "3.0.0", "scrypt-js": "3.0.1" + }, + "dependencies": { + "aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" + } } }, "@ethersproject/keccak256": { @@ -3122,6 +3130,14 @@ "@ethersproject/web": "^5.7.0", "bech32": "1.1.4", "ws": "7.4.6" + }, + "dependencies": { + "ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "requires": {} + } } }, "@ethersproject/random": { @@ -3261,14 +3277,14 @@ } }, "@openzeppelin/contracts": { - "version": "4.8.2", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.2.tgz", - "integrity": "sha512-kEUOgPQszC0fSYWpbh2kT94ltOJwj1qfT2DWo+zVttmGmf97JZ99LspePNaeeaLhCImaHVeBbjaQFZQn7+Zc5g==" + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.3.tgz", + "integrity": "sha512-bQHV8R9Me8IaJoJ2vPG4rXcL7seB7YVuskr4f+f5RyOStSZetwzkWtoqDMl5erkBJy0lDRUnIR2WIkPiC0GJlg==" }, "@openzeppelin/contracts-upgradeable": { - "version": "4.8.2", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.8.2.tgz", - "integrity": "sha512-zIggnBwemUmmt9IS73qxi+tumALxCY4QEs3zLCII78k0Gfse2hAOdAkuAeLUzvWUpneMUfFE5sGHzEUSTvn4Ag==" + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.8.3.tgz", + "integrity": "sha512-SXDRl7HKpl2WDoJpn7CK/M9U4Z8gNXDHHChAKh0Iz+Wew3wu6CmFYBeie3je8V0GSXZAIYYwUktSrnW/kwVPtg==" }, "@openzeppelin/contracts-v0.7": { "version": "npm:@openzeppelin/contracts@3.4.2", @@ -3309,11 +3325,6 @@ "dev": true, "requires": {} }, - "aes-js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" - }, "ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -3399,9 +3410,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz", - "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.6.tgz", + "integrity": "sha512-PEcdkk7JcdPiMDkvM4K6ZBRYq9keuVJsToxm2zQIM70Qqo2WHTdJZMXcG9X+RmRp2VPNUQC8W1RAGbgt6b1yMg==", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -4856,12 +4867,6 @@ "mkdirp": "^0.5.1" } }, - "ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "requires": {} - }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", diff --git a/package.json b/package.json index 43e4332e..e4079600 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,8 @@ "solhint": "^3.3.7" }, "dependencies": { + "@redstone-finance/evm-connector": "^0.0.22", + "ethers": "5.7.2", "solc": "^0.8.19", "solhint-plugin-prettier": "^0.0.5" } diff --git a/script/DeployRedstone.s.sol b/script/DeployRedstone.s.sol index 777e55db..0030706a 100644 --- a/script/DeployRedstone.s.sol +++ b/script/DeployRedstone.s.sol @@ -1,17 +1,12 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -//import "../src/v2/Controllers/RedstonePriceProvider.sol"; -//import "./Helper.sol"; - -//import "../src/v2/Controllers/RedstoneMockPriceProvider.sol"; -import "../src/v2/Controllers/ChainlinkPriceProvider.sol"; - - -//import "./Helper.sol"; +import "../src/v2/Controllers/RedstonePriceProvider.sol"; import "forge-std/console.sol"; import "forge-std/Script.sol"; import "forge-std/StdJson.sol"; +// source .env +// forge script ./script/DeployRedstone.s.sol:DeployAndTestRedstone --ffi --rpc-url $GOERLI_RPC_URL --broadcast --verify -vvvv contract DeployAndTestRedstone is Script { //RedstonePriceProvider public priceProvider; using stdJson for string; @@ -67,23 +62,52 @@ contract DeployAndTestRedstone is Script { function setup() internal { configAddresses = getConfigAddresses(true); } - /* - function deploy() internal { - vm.startBroadcast(); + + //address priceProvider = address(new RedstonePriceProvider(addresses.arbitrum_sequencer, vaultFactoryAddress)); + function deploy() internal returns (address){ + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + vm.startBroadcast(deployerPrivateKey); + //vm.startBroadcast(); + console.log("priceProvider1"); address vaultFactoryAddress = address(0); - priceProvider = new RedstonePriceProvider(addresses.arbitrum_sequencer, vaultFactoryAddress); - vm.stopBroadcast(); - } - function test() internal { - // Invoke the Node.js script - // somehow vm.execute("InvokeNodeScript"); - uint256 vstPrice = evmConnector.getLatestPrice(address(priceProvider), address(0)); + address priceProvider = address(new RedstonePriceProvider(address(0),address(0))); + vm.stopBroadcast(); + + // Get the transaction receipt + (bool success, bytes memory result) = address(vm).staticcall(abi.encodeWithSignature("getReceipt(address)", priceProvider)); + require(success, "Failed to get transaction receipt"); - // Output the fetched price - emit Log("Fetched vstPrice \", vstPrice); - }*/ + // Decode the transaction receipt + (uint256 status, uint256 cumulativeGasUsed, bytes32 txHash) = abi.decode(result, (uint256, uint256, bytes32)); + + // Log the transaction hash + console.log("Transaction Hash: "); + console.log(string(abi.encodePacked(txHash))); + + console.log("new priceProvider"); + console.log(priceProvider); + + + + return priceProvider; + + + + } + + function addressToString(address _address) public pure returns (string memory) { + bytes32 _bytes = bytes32(uint256(uint160(_address))); + bytes memory hexAlphabet = "0123456789abcdef"; + bytes memory str = new bytes(42); + str[0] = '0'; + str[1] = 'x'; + for (uint i = 0; i < 20; ++i) { + str[2 + i * 2] = hexAlphabet[uint8(_bytes[i + 12] >> 4)]; + str[3 + i * 2] = hexAlphabet[uint8(_bytes[i + 12] & 0x0f)]; + } + return string(str); + } - // Helper function to check if a string is a number function isNumber(string memory s) private pure returns (bool) { bytes memory b = bytes(s); for (uint i = 0; i < b.length; i++) { @@ -100,18 +124,34 @@ contract DeployAndTestRedstone is Script { cmd[0] = "node"; cmd[1] = "./script/test_RedstonePrice.js"; ///cmd[2] = vm.envString("ARBITRUM_GOERLI_RPC_URL"); - cmd[2] = vm.envString("ETH_GOERLI_RPC_URL"); + cmd[2] = vm.envString("GOERLI_RPC_URL"); cmd[3] = vm.envString("PRIVATE_KEY"); //cmd[4] = string(redstoneOracleAddress); cmd[4] = redstoneOracleAddress; bytes memory result = vm.ffi(cmd); - string memory resultString = string(result); + string memory resultString = removeFirstChar(string(result)); return resultString; } - function run() public{ - string memory redstoneOracleAddress = "0x11Cc82544253565beB74faeda687db72cd2D5d32"; + function removeFirstChar(string memory input) internal pure returns (string memory) { + bytes memory inputBytes = bytes(input); + require(inputBytes.length > 0, "Input string must not be empty"); + + bytes memory outputBytes = new bytes(inputBytes.length - 1); + for (uint i = 1; i < inputBytes.length; i++) { + outputBytes[i - 1] = inputBytes[i]; + } + return string(outputBytes); + } + + function run() public{ + //address redstoneOracle = 0x90193C961A926261B756D1E5bb255e67ff9498A1; + address redstoneOracle = deploy(); + + string memory redstoneOracleAddress = addressToString(redstoneOracle); + console.log("redstoneOracleAddress"); + console.log(redstoneOracleAddress); string memory newPrice = getJsPrice(redstoneOracleAddress); if (!isNumber(newPrice)) { @@ -120,9 +160,12 @@ contract DeployAndTestRedstone is Script { return; } else { - console.log("success"); + console.log("newPrice"); console.log(newPrice); - + RedstonePriceProvider rpp = RedstonePriceProvider(redstoneOracle); + int256 vstPrice = rpp.getLatestPrice(address(0)); + console.log("vstPrice"); + console.log(uint256(vstPrice)); } console.log("Finishing"); diff --git a/script/test_RedstonePrice.js b/script/test_RedstonePrice.js index 9f2fad4e..0b90ce79 100644 --- a/script/test_RedstonePrice.js +++ b/script/test_RedstonePrice.js @@ -1,30 +1,50 @@ -// testPrice.js - //const { ethers } = require("ethers"); -//const { WrapperBuilder } = require("@redstone-finance/evm-connector"); +const ethers = require("ethers"); -async function main() { - + +const { WrapperBuilder } = require("@redstone-finance/evm-connector"); + + +async function validate(){ if (process.argv.length < 4) { console.error('Error: Two positional arguments are required. (see test_RedstonePrice.js)'); process.exit(1); } + const rpcUrl = process.argv[2]; const privateKey = process.argv[3]; const contractAddress = process.argv[4]; + const urlRegex = /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/; + if (!urlRegex.test(rpcUrl)) { + console.log('Error: Invalid rpcUrl.'); + process.exit(1); + } + + const privateKeyRegex = /^0x[a-fA-F0-9]{64}$/; + if (!privateKeyRegex.test(privateKey)) { + console.log('Error: Invalid privateKey.'); + process.exit(1); + } + + const addressRegex = /^0x[a-fA-F0-9]{40}$/; + if (contractAddress && !addressRegex.test(contractAddress)) { + console.log('Error: Invalid contractAddress.'); + process.exit(1); + } + return {rpcUrl:rpcUrl, + privateKey:privateKey, + contractAddress:contractAddress} + +} + +async function main() { - // Replace with your values - //const privateKey = ""; - //const wallet = new ethers.Wallet(privateKey, provider); + const {rpcUrl,privateKey,contractAddress} = await validate(); - /* - const rpcUrl = "https://goerli.infura.io/v3/37519f5fe2fb4d2cac2711a66aa06514"; - const contractAddress = "0x11Cc82544253565beB74faeda687db72cd2D5d32"; - const provider = new ethers.providers.JsonRpcProvider(rpcUrl); - + const wallet = new ethers.Wallet(privateKey, provider); + const abi =require("../abi/RedstonePriceProvider.sol/RedstonePriceProvider.json"); - const contract = new ethers.Contract(contractAddress, abi["abi"], wallet); const wrappedContract = WrapperBuilder.wrap(contract).usingDataService({ @@ -33,10 +53,14 @@ async function main() { dataFeeds: ["VST"], }, ["https://d33trozg86ya9x.cloudfront.net"]); - const ethPriceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); - console.log({ ethPriceFromContract }); - */ - console.log(contractAddress); + const priceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); + //console.log(priceFromContract); + const priceAsBigNumber = ethers.BigNumber.from(priceFromContract._hex); + console.log(`P`+priceAsBigNumber.toString()); + + //console.log("rpcUrl",rpcUrl); + //console.log("privateKey",privateKey); + //console.log("contractAddress",contractAddress); } main() diff --git a/src/v2/Controllers/ChainlinkPriceProvider.sol b/src/v2/Controllers/ChainlinkPriceProvider.sol index 5999fe55..b4dbb0bc 100644 --- a/src/v2/Controllers/ChainlinkPriceProvider.sol +++ b/src/v2/Controllers/ChainlinkPriceProvider.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.17; +pragma solidity ^0.8.17; import "@chainlink/interfaces/AggregatorV3Interface.sol"; import "@chainlink/interfaces/AggregatorV2V3Interface.sol"; diff --git a/src/v2/Controllers/RedstonePriceProvider.sol b/src/v2/Controllers/RedstonePriceProvider.sol index a2e40436..0d90468f 100644 --- a/src/v2/Controllers/RedstonePriceProvider.sol +++ b/src/v2/Controllers/RedstonePriceProvider.sol @@ -74,7 +74,7 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { price = price / int256(decimals); } - if (price <= 0) revert OraclePriceZero(); + //if (price <= 0) revert OraclePriceZero(); //(uint80 roundID, int256 price, , , uint80 answeredInRound) = //if (answeredInRound < roundID) revert RoundIDOutdated(); From 06feabab062d4a3141847778cc1f59d1b3add719 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Fri, 21 Apr 2023 18:01:59 +0000 Subject: [PATCH 10/13] generalized RedStone. Also documented blocker on RedStone error --- .env.example | 10 +- deploy/dev_deploy_redstone.sh | 24 --- foundry.toml | 3 +- script/DeployRedstoneVST.sh | 13 ++ ...oyRedstone.s.sol => TestRedstoneVST.s.sol} | 156 +++++++++++------- .../Controllers/RedstoneMockPriceProvider.sol | 6 +- src/v2/Controllers/RedstonePriceProvider.sol | 71 ++++++-- test/V2/e2e/EndToEndV2GenericTest.t.sol | 3 +- 8 files changed, 186 insertions(+), 100 deletions(-) delete mode 100755 deploy/dev_deploy_redstone.sh create mode 100755 script/DeployRedstoneVST.sh rename script/{DeployRedstone.s.sol => TestRedstoneVST.s.sol} (61%) diff --git a/.env.example b/.env.example index 26645177..214bc1db 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,12 @@ +# Testing for RedStone uses these global transactions for ./script/DeployRedstoneVST.sh +RPC_URL= +PRIVATE_KEY= +SEQUENCER_ADDRESS= +FACTORY_ADDRESS= +CONTRACT_PATH= + +# Globals ETHERSCAN_API_KEY= ARBITRUM_GOERLI_RPC_URL= PRIVATE_KEY= -ARBITRUM_RPC_URL= \ No newline at end of file +ARBITRUM_RPC_URL= diff --git a/deploy/dev_deploy_redstone.sh b/deploy/dev_deploy_redstone.sh deleted file mode 100755 index d2bdb201..00000000 --- a/deploy/dev_deploy_redstone.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# Replace these values with the correct ones for your environment -RPC_URL="https://goerli.infura.io/v3/37519f5fe2fb4d2cac2711a66aa06514" -PRIVATE_KEY="0xa881e3de2f71ddfcd7d5c189c4755b6033328d48e9895d47ea4de00603d6732c" -SEQUENCER_ADDRESS="0x0000000000000000000000000000000000000000" -FACTORY_ADDRESS="0x0000000000000000000000000000000000000000" -CONTRACT_PATH="src/v2/Controllers/RedstonePriceProvider.sol:RedstonePriceProvider" - - - -# Replace these values with the correct ones for your environment -RPC_URL="FROM_CONST" -PRIVATE_KEY="FROM_A_CONST" -SEQUENCER_ADDRESS="0x0000000000000000000000000000000000000000" -FACTORY_ADDRESS="0x0000000000000000000000000000000000000000" -CONTRACT_PATH="src/v2/Controllers/RedstonePriceProvider.sol:RedstonePriceProvider" - -forge create --rpc-url $RPC_URL --private-key $PRIVATE_KEY $CONTRACT_PATH --constructor-args "$SEQUENCER_ADDRESS" "$FACTORY_ADDRESS" - -# -#Deployer: 0xbe1E971E8e5E50F7698C74656520F0E788a0518D -#Deployed to: 0x11Cc82544253565beB74faeda687db72cd2D5d32 -#Transaction hash: 0x65e4c6f1f158dfcd8b0446c61ff34a9bbd3f67328d630e8f5a09711aac8c6d9b \ No newline at end of file diff --git a/foundry.toml b/foundry.toml index 9ab7dea2..ab0baf26 100644 --- a/foundry.toml +++ b/foundry.toml @@ -11,7 +11,8 @@ fs_permissions = [{ access = "read", path = "./"}] # See more config options https://github.com/foundry-rs/foundry/tree/master/config [etherscan] -arbitrum = { key = "${ETHERSCAN_API_KEY}" } +#arbitrum = { key = "${ETHERSCAN_API_KEY}" } +#goerli = { key = "${ETHERSCAN_API_KEY}" } [rpc_endpoints] arbitrum = "${ARBITRUM_RPC_URL}" diff --git a/script/DeployRedstoneVST.sh b/script/DeployRedstoneVST.sh new file mode 100755 index 00000000..499f6956 --- /dev/null +++ b/script/DeployRedstoneVST.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# 1 - Setup .env +# +# +# + + + +# Make sure you use . .env or source .env before using this script +. .env +CONTRACT_PATH="src/v2/Controllers/RedstonePriceProvider.sol:RedstonePriceProvider" +forge create --rpc-url $RPC_URL --private-key $PRIVATE_KEY $CONTRACT_PATH --constructor-args "$SEQUENCER_ADDRESS" "$FACTORY_ADDRESS" "VST" \ No newline at end of file diff --git a/script/DeployRedstone.s.sol b/script/TestRedstoneVST.s.sol similarity index 61% rename from script/DeployRedstone.s.sol rename to script/TestRedstoneVST.s.sol index 0030706a..e0d180fc 100644 --- a/script/DeployRedstone.s.sol +++ b/script/TestRedstoneVST.s.sol @@ -5,11 +5,12 @@ import "forge-std/console.sol"; import "forge-std/Script.sol"; import "forge-std/StdJson.sol"; -// source .env -// forge script ./script/DeployRedstone.s.sol:DeployAndTestRedstone --ffi --rpc-url $GOERLI_RPC_URL --broadcast --verify -vvvv -contract DeployAndTestRedstone is Script { + +// forge script ./script/TestRedstoneVST.s.sol:TestRedstoneVST --ffi --rpc-url $GOERLI_RPC_URL --broadcast -vvvv +contract TestRedstoneVST is Script { //RedstonePriceProvider public priceProvider; using stdJson for string; + bytes32 symbol; ConfigAddresses configAddresses; struct ConfigAddresses { @@ -40,36 +41,19 @@ contract DeployAndTestRedstone is Script { address y2k; } - function getConfigAddresses(bool isTestEnv) public returns (ConfigAddresses memory) { - string memory root = vm.projectRoot(); - string memory path; - if(isTestEnv){ - path = string.concat(root, "/configTestEnv.json"); - } - else{ - path = string.concat(root, "/configAddresses.json"); - } - string memory json = vm.readFile(path); - //console2.log("json ", string(json)); - - bytes memory parseJsonByteCode = json.parseRaw(".configAddresses[0]"); - ConfigAddresses memory rawConstants = abi.decode(parseJsonByteCode, (ConfigAddresses)); - //console2.log("ConfigAddresses ", rawConstants.weth); - - return rawConstants; - } - function setup() internal { configAddresses = getConfigAddresses(true); + symbol = bytes32("VST"); } - //address priceProvider = address(new RedstonePriceProvider(addresses.arbitrum_sequencer, vaultFactoryAddress)); + /* + TODO: Update, to include a deploy which can fully test this oracle function deploy() internal returns (address){ uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); vm.startBroadcast(deployerPrivateKey); - //vm.startBroadcast(); console.log("priceProvider1"); address vaultFactoryAddress = address(0); + //address priceProvider = address(new RedstonePriceProvider(addresses.arbitrum_sequencer, vaultFactoryAddress)); address priceProvider = address(new RedstonePriceProvider(address(0),address(0))); vm.stopBroadcast(); @@ -86,14 +70,8 @@ contract DeployAndTestRedstone is Script { console.log("new priceProvider"); console.log(priceProvider); - - - return priceProvider; - - - - } + }*/ function addressToString(address _address) public pure returns (string memory) { bytes32 _bytes = bytes32(uint256(uint160(_address))); @@ -108,25 +86,15 @@ contract DeployAndTestRedstone is Script { return string(str); } - function isNumber(string memory s) private pure returns (bool) { - bytes memory b = bytes(s); - for (uint i = 0; i < b.length; i++) { - if (!(b[i] >= "0" && b[i] <= "9" || b[i] == ".")) { - return false; - } - } - return true; - } + function getJsPrice(string memory redstoneOracleAddress) public returns (string memory) { setup(); string[] memory cmd = new string[](5); cmd[0] = "node"; cmd[1] = "./script/test_RedstonePrice.js"; - ///cmd[2] = vm.envString("ARBITRUM_GOERLI_RPC_URL"); - cmd[2] = vm.envString("GOERLI_RPC_URL"); + cmd[2] = vm.envString("GOERLI_RPC_URL"); //TODO: Update to pull the rpc-url from the command line cmd[3] = vm.envString("PRIVATE_KEY"); - //cmd[4] = string(redstoneOracleAddress); cmd[4] = redstoneOracleAddress; bytes memory result = vm.ffi(cmd); @@ -134,21 +102,25 @@ contract DeployAndTestRedstone is Script { return resultString; } - function removeFirstChar(string memory input) internal pure returns (string memory) { - bytes memory inputBytes = bytes(input); - require(inputBytes.length > 0, "Input string must not be empty"); - - bytes memory outputBytes = new bytes(inputBytes.length - 1); - for (uint i = 1; i < inputBytes.length; i++) { - outputBytes[i - 1] = inputBytes[i]; - } - return string(outputBytes); - } + function run() public{ - //address redstoneOracle = 0x90193C961A926261B756D1E5bb255e67ff9498A1; - address redstoneOracle = deploy(); + //TODO: CURRENT JG - this is in active development + // At present, the RedstoneConsumerNumericBase.getOracleNumericValueFromTxMsg seems to: + // 1. works when invoked via the dApp wrapper class (test_RedstonePrice.js) + // WORKS: string memory newPrice = getJsPrice(redstoneOracleAddress) invokes test_RedstonePrice.js; + // 2. fails when invoked via this forge process wrapper class RedstonePriceProvider.extGetOracleNumericValueFromTxMsg(symbol) + // FAIL: rpp.extGetOracleNumericValueFromTxMsg(symbol) + // 3. + // Expected: rpp.extGetOracleNumericValueFromTxMsg(symbol) ~(similar to)= getJsPrice(redstoneOracleAddress) + ////// + // Related Files / Classes + // ./test_RedstonePrice.js + // src/v2/Controllers/RedstonePriceProvider.sol (y2k) + // --RedstoneConsumerNumericBase (RedStone API) + // ----RedstoneConsumerBase (RedStone API) + address redstoneOracle = 0x3b5E01817359968A7cB145A6700776D760700f03; // Cleaned up code and uses variable symbol string memory redstoneOracleAddress = addressToString(redstoneOracle); console.log("redstoneOracleAddress"); console.log(redstoneOracleAddress); @@ -163,13 +135,81 @@ contract DeployAndTestRedstone is Script { console.log("newPrice"); console.log(newPrice); RedstonePriceProvider rpp = RedstonePriceProvider(redstoneOracle); - int256 vstPrice = rpp.getLatestPrice(address(0)); - console.log("vstPrice"); - console.log(uint256(vstPrice)); + + try rpp.extGetOracleNumericValueFromTxMsg(symbol) returns (uint256 rawPrice) { + console.log("rawPrice"); + console.log(uint256(rawPrice)); + + } catch Error(string memory reason) { + console.log("Error calling GetOracleNumericValueFromTxMsg:"); + console.log(reason); + + } catch (bytes memory /*lowLevelData*/) { + console.log("Unknown error calling GetOracleNumericValueFromTxMsg"); + } + + try rpp.getLatestPrice(address(0)) returns (int256 vstPrice) { + console.log("vstPrice"); + console.log(uint256(vstPrice)); + } catch Error(string memory reason) { + console.log("Error calling getLatestPrice:"); + console.log(reason); + } catch (bytes memory /*lowLevelData*/) { + console.log("Unknown error calling getLatestPrice"); + } } console.log("Finishing"); + // TODO: Add in deploy: + // address redstoneOracle = deploy(); + // TODO: Info: Previous addresses and attempts on Goerli. + // address redstoneOracle = 0x5684D53aD5babcC19e2a219B1625E4AaF97E33cA; // Full Broken Oracle + // 0. address redstoneOracle = 0xB2727C8cdFc41a8F2653917A3Bf783956C90845A; // Returns just a number + // 1. address redstoneOracle = 0xF6662ddF35A123630b6E665bc753A670e7a277d8; // Returns a deeper number + // 2. address redstoneOracle = 0x0758474d78e8cD2D2D75AcAA0E088546449FC268; // Updated to include custom signer (did not help) + } + + /*////////////////////////////////////////////////////////////// + SERVICE FUNCTIONS + //////////////////////////////////////////////////////////////*/ + + function getConfigAddresses(bool isTestEnv) public returns (ConfigAddresses memory) { + string memory root = vm.projectRoot(); + string memory path; + if(isTestEnv){ + path = string.concat(root, "/configTestEnv.json"); + } + else{ + path = string.concat(root, "/configAddresses.json"); + } + string memory json = vm.readFile(path); + + bytes memory parseJsonByteCode = json.parseRaw(".configAddresses[0]"); + ConfigAddresses memory rawConstants = abi.decode(parseJsonByteCode, (ConfigAddresses)); + + return rawConstants; + } + function isNumber(string memory s) private pure returns (bool) { + bytes memory b = bytes(s); + for (uint i = 0; i < b.length; i++) { + if (!(b[i] >= "0" && b[i] <= "9" || b[i] == ".")) { + return false; + } + } + return true; + } + function removeFirstChar(string memory input) internal pure returns (string memory) { + bytes memory inputBytes = bytes(input); + require(inputBytes.length > 0, "Input string must not be empty"); + + bytes memory outputBytes = new bytes(inputBytes.length - 1); + for (uint i = 1; i < inputBytes.length; i++) { + outputBytes[i - 1] = inputBytes[i]; + } + return string(outputBytes); + } + } diff --git a/src/v2/Controllers/RedstoneMockPriceProvider.sol b/src/v2/Controllers/RedstoneMockPriceProvider.sol index 0b4dec1b..a45cb453 100644 --- a/src/v2/Controllers/RedstoneMockPriceProvider.sol +++ b/src/v2/Controllers/RedstoneMockPriceProvider.sol @@ -1,8 +1,4 @@ -/******************************************************* -NOTE: Development in progress by JG. Reached functional milestone; Live VST data is accessible. -***/ // SPDX-License-Identifier: MIT -//pragma solidity ^0.8.4; pragma solidity ^0.8.0; import "@chainlink/interfaces/AggregatorV3Interface.sol"; @@ -17,7 +13,7 @@ import "./RedstonePriceProvider.sol"; contract RedstoneMockPriceProvider is RedstonePriceProvider { - constructor(address _sequencer, address _factory) RedstonePriceProvider(_sequencer, _factory) { + constructor(address _sequencer, address _factory, string memory _symbol) RedstonePriceProvider(_sequencer, _factory, _symbol) { } diff --git a/src/v2/Controllers/RedstonePriceProvider.sol b/src/v2/Controllers/RedstonePriceProvider.sol index 0d90468f..10cb1579 100644 --- a/src/v2/Controllers/RedstonePriceProvider.sol +++ b/src/v2/Controllers/RedstonePriceProvider.sol @@ -16,19 +16,74 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { uint16 private constant GRACE_PERIOD_TIME = 3600; IVaultFactoryV2 public immutable vaultFactory; AggregatorV2V3Interface internal sequencerUptimeFeed; - - constructor(address _sequencer, address _factory) { + bytes32 symbol; + + constructor(address _sequencer, address _factory, string memory _symbol) { + //TODO: re-enable these checks after oracle validation + //if (_factory == address(0)) revert ZeroAddress(); vaultFactory = IVaultFactoryV2(_factory); //if (_sequencer == address(0)) revert ZeroAddress(); sequencerUptimeFeed = AggregatorV2V3Interface(_sequencer); - + symbol = stringToBytes32(_symbol); + } + + function stringToBytes32(string memory _symbol) public pure returns (bytes32 result) { + require(bytes(_symbol).length <= 32, "String too long for bytes32 conversion"); + assembly { + result := mload(add(_symbol, 32)) + } + } + + /** + * @notice Get the oracle numeric value from the transaction message + * @param dataFeedId The identifier of the data feed to retrieve the value from + * @return The numeric value from the oracle + */ + function extGetOracleNumericValueFromTxMsg(bytes32 dataFeedId) + public + view + returns (uint256) + { + return getOracleNumericValueFromTxMsg(dataFeedId); } + /** + * @notice Get the unique signers threshold + * @return The threshold number of unique signers + */ + function getUniqueSignersThreshold() public view virtual override returns (uint8) { + return 1; + } + + /** + * @notice Get the authorized signer index for a given signer address + * @param signerAddress The address of the signer + * @return The index of the authorized signer + */ + function getAuthorisedSignerIndex(address signerAddress) + public + view + virtual + override + returns (uint8) + { + if (signerAddress == 0xf786a909D559F5Dee2dc6706d8e5A81728a39aE9) { + return 0; + } + if (signerAddress == 0xbe1E971E8e5E50F7698C74656520F0E788a0518D) { + return 0; + } + revert SignerNotAuthorised(signerAddress); + + } + function getLatestRawPrice(address _token) public virtual view returns (int256) { - uint256 priceIn = getOracleNumericValueFromTxMsg(bytes32("VST")); - int256 price = int256(priceIn); // TODO Check this for errors + // Accepts _token to be backwards compatible with ChainlinkOracle + // TODO consider implementing token based symbol lookup + uint256 priceIn = getOracleNumericValueFromTxMsg(symbol); + int256 price = int256(priceIn); return price; } @@ -74,11 +129,7 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { price = price / int256(decimals); } - //if (price <= 0) revert OraclePriceZero(); - - //(uint80 roundID, int256 price, , , uint80 answeredInRound) = - //if (answeredInRound < roundID) revert RoundIDOutdated(); - + if (price <= 0) revert OraclePriceZero(); return price; } diff --git a/test/V2/e2e/EndToEndV2GenericTest.t.sol b/test/V2/e2e/EndToEndV2GenericTest.t.sol index 301a0890..6e63620b 100644 --- a/test/V2/e2e/EndToEndV2GenericTest.t.sol +++ b/test/V2/e2e/EndToEndV2GenericTest.t.sol @@ -74,7 +74,8 @@ contract EndToEndV2Test is Helper { // )); priceProvider = IPriceProvider(new RedstoneMockPriceProvider( ARBITRUM_SEQUENCER, - address(factory) + address(factory), + "VST" )); From ddb9152bad480e068bf2adbdf60cf29638e33405 Mon Sep 17 00:00:00 2001 From: Pocket Jake Date: Wed, 26 Apr 2023 13:17:58 -0400 Subject: [PATCH 11/13] Create controller_data.md --- script/controller_data.md | 98 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 script/controller_data.md diff --git a/script/controller_data.md b/script/controller_data.md new file mode 100644 index 00000000..4107f63a --- /dev/null +++ b/script/controller_data.md @@ -0,0 +1,98 @@ +# Earthquake V2 Controller Data README + +## Overview + +This repository contains the implementation of the Earthquake V2 Controller, which is responsible for managing depeg events and handling data from various price providers. + +## File Structure +``` +src/v2/Controllers/ +├── IDepegCondition.sol +├── IPriceProvider.sol +├── ControllerGenericV2.sol +├── PriceBasedDepegCondition.sol +├── ChainlinkPriceProvider.sol +├── RedstoneMockPriceProvider.sol +└── RedstonePriceProvider.sol +``` + +### Files Description + +- **IDepegCondition.sol**: A generic depeg condition interface. +- **IPriceProvider.sol**: A generic price data provider interface, given a token address. +- **ControllerGenericV2.sol**: A new controller that can read data from a generic provider and be triggered by a generic depeg condition. +- **PriceBasedDepegCondition.sol**: A specific depeg condition controlled by an IPriceProvider and a strike price. +- **ChainlinkPriceProvider.sol**: A provider that uses a Chainlink source. +- **RedstoneMockPriceProvider.sol**: A provider that fakes a RedStone oracle. +- **RedstonePriceProvider.sol**: A real RedStone oracle. + +## Tests + +The following tests are included: + + +## Tests + +The following tests are included: +``` +test/V2/e2e/EndToEndV2GenericTest.t.sol:EndToEndV2Test +├── testGenericEndToEndDepeg() (gas: 592183) +└── testGenericEndToEndEndEpoch() (gas: 408323) +``` + + +These tests use the `RedstoneMockPriceProvider.sol` to test a depeg event. This validates the interface in the case of the Earthquake epoch but does not actually integrate with any RedstoneOracle on-chain. + +## Setup + +### Prerequisites + +1. Install Foundry: + +``` +sh +curl -L https://foundry.paradigm.xyz | bash +. ~/.bashrc +foundryup +``` + +## Clone the repository +``` +git clone https://github.com/Y2K-Finance/Earthquake +cd Earthquake +git checkout earthquake-v2-controller-data +``` + + +## Run tests +``` +forge test +``` + +## Deploy RedstonePriceProvider.sol +``` +./script/DeployRedstoneVST.sh +``` +Note: Record the contract address. + + +## Test the deployed contract +``` +forge script ./script/TestRedstoneVST.s.sol:TestRedstoneVST --ffi --rpc-url $GOERLI_RPC_URL --broadcast -vvvv +``` + +## Create .env +Create a .env file in the root of the project with the following variables: + +``` +# Required for the dev version of RedStone +RPC_URL="https://goerli.infura.io/v3/XXXXXXXXXXXXXX" +PRIVATE_KEY="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" +SEQUENCER_ADDRESS="0x0000000000000000000000000000000000000000" +FACTORY_ADDRESS="0x0000000000000000000000000000000000000000" +CONTRACT_PATH="src/v2/Controllers/RedstonePriceProvider.sol:RedstonePriceProvider" + +# Classic +ARBITRUM_GOERLI_RPC_URL=https://goerli-rollup.arbitrum.io/rpc +PRIVATE_KEY=0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +``` From cc1ef0b46f3e236108821f6cf088f8a01ec81893 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Wed, 26 Apr 2023 19:57:50 +0000 Subject: [PATCH 12/13] added in working VST oracle --- package-lock.json | 4 +-- package.json | 2 +- script/TestRedstoneVST.s.sol | 14 +---------- script/test_RedstonePrice.js | 6 +++++ src/v2/Controllers/RedstonePriceProvider.sol | 26 ++++++++++++++++---- 5 files changed, 31 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7277ff5a..007caf76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "Earthquake", + "name": "EarthquakeOld", "lockfileVersion": 2, "requires": true, "packages": { "": { "dependencies": { "@redstone-finance/evm-connector": "^0.0.22", - "ethers": "5.7.2", + "ethers": "^5.7.2", "solc": "^0.8.19", "solhint-plugin-prettier": "^0.0.5" }, diff --git a/package.json b/package.json index e4079600..d78bf963 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@redstone-finance/evm-connector": "^0.0.22", - "ethers": "5.7.2", + "ethers": "^5.7.2", "solc": "^0.8.19", "solhint-plugin-prettier": "^0.0.5" } diff --git a/script/TestRedstoneVST.s.sol b/script/TestRedstoneVST.s.sol index e0d180fc..e4a400c5 100644 --- a/script/TestRedstoneVST.s.sol +++ b/script/TestRedstoneVST.s.sol @@ -120,7 +120,7 @@ contract TestRedstoneVST is Script { // --RedstoneConsumerNumericBase (RedStone API) // ----RedstoneConsumerBase (RedStone API) - address redstoneOracle = 0x3b5E01817359968A7cB145A6700776D760700f03; // Cleaned up code and uses variable symbol + address redstoneOracle = 0x2f697A11f84Bd520Bf99D63Ef9c4038238c9423E; // Cleaned up code and uses variable symbol string memory redstoneOracleAddress = addressToString(redstoneOracle); console.log("redstoneOracleAddress"); console.log(redstoneOracleAddress); @@ -136,18 +136,6 @@ contract TestRedstoneVST is Script { console.log(newPrice); RedstonePriceProvider rpp = RedstonePriceProvider(redstoneOracle); - try rpp.extGetOracleNumericValueFromTxMsg(symbol) returns (uint256 rawPrice) { - console.log("rawPrice"); - console.log(uint256(rawPrice)); - - } catch Error(string memory reason) { - console.log("Error calling GetOracleNumericValueFromTxMsg:"); - console.log(reason); - - } catch (bytes memory /*lowLevelData*/) { - console.log("Unknown error calling GetOracleNumericValueFromTxMsg"); - } - try rpp.getLatestPrice(address(0)) returns (int256 vstPrice) { console.log("vstPrice"); console.log(uint256(vstPrice)); diff --git a/script/test_RedstonePrice.js b/script/test_RedstonePrice.js index 0b90ce79..185d3273 100644 --- a/script/test_RedstonePrice.js +++ b/script/test_RedstonePrice.js @@ -53,8 +53,14 @@ async function main() { dataFeeds: ["VST"], }, ["https://d33trozg86ya9x.cloudfront.net"]); + const storeTx = await wrappedContract.storeLatestPrice(ethers.constants.AddressZero); + //console.log(priceFromContract); + //BLOCK ON TX + await storeTx.wait(); + const priceFromContract = await wrappedContract.getLatestPrice(ethers.constants.AddressZero); //console.log(priceFromContract); + const priceAsBigNumber = ethers.BigNumber.from(priceFromContract._hex); console.log(`P`+priceAsBigNumber.toString()); diff --git a/src/v2/Controllers/RedstonePriceProvider.sol b/src/v2/Controllers/RedstonePriceProvider.sol index 10cb1579..41e91ee0 100644 --- a/src/v2/Controllers/RedstonePriceProvider.sol +++ b/src/v2/Controllers/RedstonePriceProvider.sol @@ -17,7 +17,7 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { IVaultFactoryV2 public immutable vaultFactory; AggregatorV2V3Interface internal sequencerUptimeFeed; bytes32 symbol; - + int256 latestPrice; constructor(address _sequencer, address _factory, string memory _symbol) { //TODO: re-enable these checks after oracle validation @@ -72,9 +72,6 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { if (signerAddress == 0xf786a909D559F5Dee2dc6706d8e5A81728a39aE9) { return 0; } - if (signerAddress == 0xbe1E971E8e5E50F7698C74656520F0E788a0518D) { - return 0; - } revert SignerNotAuthorised(signerAddress); } @@ -96,7 +93,7 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { * @param _token Target token address * @return nowPrice Current token price */ - function getLatestPrice(address _token) public view returns (int256) { + function validateLatestPrice(address _token) public view returns (int256) { if (address(sequencerUptimeFeed) != address(0)) { (, int256 answer, uint256 startedAt, , ) = sequencerUptimeFeed.latestRoundData(); @@ -132,7 +129,26 @@ contract RedstonePriceProvider is RapidDemoConsumerBase,IPriceProvider { if (price <= 0) revert OraclePriceZero(); return price; } + + + /** @notice Lookup token price + * @param _token Target token address + * @return nowPrice Current token price + */ + function storeLatestPrice(address _token) public returns (int256) { + latestPrice = validateLatestPrice(_token); + return latestPrice; + } + /** @notice Lookup token price + * @param _token Target token address + * @return nowPrice Current token price + */ + function getLatestPrice(address _token) public view returns (int256) { + return latestPrice; + } + + /*////////////////////////////////////////////////////////////// ERRORS //////////////////////////////////////////////////////////////*/ From d46732b904cc97405e51ea36247ed578b5a19161 Mon Sep 17 00:00:00 2001 From: Devel Oper Date: Wed, 26 Apr 2023 20:00:38 +0000 Subject: [PATCH 13/13] removing some dead comments --- script/TestRedstoneVST.s.sol | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/script/TestRedstoneVST.s.sol b/script/TestRedstoneVST.s.sol index e4a400c5..70b97857 100644 --- a/script/TestRedstoneVST.s.sol +++ b/script/TestRedstoneVST.s.sol @@ -47,7 +47,8 @@ contract TestRedstoneVST is Script { } /* - TODO: Update, to include a deploy which can fully test this oracle + TODO: Update, to include a deploy which can fully test this oracle in a streamlined manner. + Y2K paused on this custom oracle work, so Justin stopped developing here. function deploy() internal returns (address){ uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); vm.startBroadcast(deployerPrivateKey); @@ -105,22 +106,7 @@ contract TestRedstoneVST is Script { function run() public{ - //TODO: CURRENT JG - this is in active development - // At present, the RedstoneConsumerNumericBase.getOracleNumericValueFromTxMsg seems to: - // 1. works when invoked via the dApp wrapper class (test_RedstonePrice.js) - // WORKS: string memory newPrice = getJsPrice(redstoneOracleAddress) invokes test_RedstonePrice.js; - // 2. fails when invoked via this forge process wrapper class RedstonePriceProvider.extGetOracleNumericValueFromTxMsg(symbol) - // FAIL: rpp.extGetOracleNumericValueFromTxMsg(symbol) - // 3. - // Expected: rpp.extGetOracleNumericValueFromTxMsg(symbol) ~(similar to)= getJsPrice(redstoneOracleAddress) - ////// - // Related Files / Classes - // ./test_RedstonePrice.js - // src/v2/Controllers/RedstonePriceProvider.sol (y2k) - // --RedstoneConsumerNumericBase (RedStone API) - // ----RedstoneConsumerBase (RedStone API) - - address redstoneOracle = 0x2f697A11f84Bd520Bf99D63Ef9c4038238c9423E; // Cleaned up code and uses variable symbol + address redstoneOracle = 0x2f697A11f84Bd520Bf99D63Ef9c4038238c9423E; // Hard coded just to save on fees w.r.t redeployment. string memory redstoneOracleAddress = addressToString(redstoneOracle); console.log("redstoneOracleAddress"); console.log(redstoneOracleAddress); @@ -147,15 +133,6 @@ contract TestRedstoneVST is Script { } } console.log("Finishing"); - // TODO: Add in deploy: - // address redstoneOracle = deploy(); - - // TODO: Info: Previous addresses and attempts on Goerli. - // address redstoneOracle = 0x5684D53aD5babcC19e2a219B1625E4AaF97E33cA; // Full Broken Oracle - // 0. address redstoneOracle = 0xB2727C8cdFc41a8F2653917A3Bf783956C90845A; // Returns just a number - // 1. address redstoneOracle = 0xF6662ddF35A123630b6E665bc753A670e7a277d8; // Returns a deeper number - // 2. address redstoneOracle = 0x0758474d78e8cD2D2D75AcAA0E088546449FC268; // Updated to include custom signer (did not help) - } /*//////////////////////////////////////////////////////////////