@raac/rpc 1.0.1 → 1.0.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RPCLibrary.js +61 -8
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1743 -0
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +175 -67
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +279 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1231 -195
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +153 -199
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +72 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -2
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +770 -0
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +707 -49
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +23 -84
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +62 -62
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +2 -2
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +774 -0
- package/dist/artifacts/zeno/Auction.sol/Auction.json +34 -114
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +3 -3
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +3 -3
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +3 -3
- package/dist/configs/chains/17000.json +127 -0
- package/dist/configs/chains/8453.json +26 -14
- package/dist/configs/chains/index.js +2 -0
- package/dist/configs/createConfig.js +6 -0
- package/dist/contracts/feeCollector/claimRewardFromPool.js +24 -0
- package/dist/contracts/housePrices/getLatestPrice.js +1 -1
- package/dist/contracts/indexToken/getNextRandomNFT.js +30 -0
- package/dist/contracts/indexToken/redeemNFT.js +39 -0
- package/dist/nfts/getAllTokens.js +34 -0
- package/dist/nfts/{addNewBatch.js → getBaseUri.js} +7 -8
- package/dist/nfts/getMintFeePercentage.js +23 -0
- package/dist/nfts/getMintPrice.js +28 -0
- package/dist/nfts/getTokenURI.js +23 -0
- package/dist/nfts/getTokensByOwner.js +35 -0
- package/dist/nfts/getTotalPropertiesCount.js +23 -0
- package/dist/nfts/{getCurrentBatchSize.js → totalNFTSupply.js} +3 -3
- package/dist/pools/lendingPool/borrowFromLendingPool.js +4 -3
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +40 -0
- package/dist/pools/lendingPool/calculateInsuranceFee.js +20 -0
- package/dist/pools/lendingPool/claimReward.js +22 -0
- package/dist/pools/lendingPool/closeLiquidation.js +28 -0
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -1
- package/dist/pools/lendingPool/depositToLendingPool.js +2 -2
- package/dist/pools/lendingPool/getAllUserData.js +28 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +27 -0
- package/dist/pools/lendingPool/getHealthFactor.js +27 -0
- package/dist/pools/lendingPool/getLendingPoolInfo.js +8 -5
- package/dist/pools/lendingPool/getPendingReward.js +20 -0
- package/dist/pools/lendingPool/getPositionDebt.js +27 -0
- package/dist/pools/lendingPool/getPositionScaledDebt.js +27 -0
- package/dist/pools/lendingPool/getPositionView.js +38 -0
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +27 -0
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +21 -0
- package/dist/pools/lendingPool/getUserCollateralValue.js +27 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +28 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +4 -8
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +2 -2
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +40 -0
- package/dist/pools/stabilityPool/getRawUserDepositsInStabilityPool.js +21 -0
- package/dist/pools/stabilityPool/getStabilityPoolInfo.js +2 -12
- package/dist/scripts/index.js +90 -35
- package/dist/types/RPCLibrary.d.ts +61 -8
- package/dist/types/configs/chains/index.d.ts +2 -0
- package/dist/types/configs/createConfig.d.ts +6 -0
- package/dist/types/configs/index.d.ts +1 -0
- package/dist/types/contracts/feeCollector/claimRewardFromPool.d.ts +4 -0
- package/dist/types/contracts/housePrices/getLatestPrice.d.ts +1 -1
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +7 -0
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +4 -0
- package/dist/types/nfts/getAllTokens.d.ts +7 -0
- package/dist/types/nfts/getBaseUri.d.ts +4 -0
- package/dist/types/nfts/getMintFeePercentage.d.ts +4 -0
- package/dist/types/nfts/getMintPrice.d.ts +7 -0
- package/dist/types/nfts/getTokenURI.d.ts +4 -0
- package/dist/types/nfts/getTokensByOwner.d.ts +10 -0
- package/dist/types/nfts/getTotalPropertiesCount.d.ts +4 -0
- package/dist/types/nfts/totalNFTSupply.d.ts +4 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +1 -1
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -0
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +4 -0
- package/dist/types/pools/lendingPool/claimReward.d.ts +4 -0
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +11 -0
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +16 -0
- package/dist/types/pools/lendingPool/getEligibleUserDeposits.d.ts +11 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +11 -0
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +2 -1
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +4 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getPositionView.d.ts +27 -0
- package/dist/types/pools/lendingPool/getPositionsScaledDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getRawUserDepositsInLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/getUserCollateralValue.d.ts +11 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +11 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +1 -1
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getRawUserDepositsInStabilityPool.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +1 -3
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +35 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +156 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +446 -221
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +108 -20
- package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +6 -16
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +166 -0
- package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +811 -99
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +152 -148
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +29 -2
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +65 -51
- package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +187 -2
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +413 -19
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +40 -40
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IBaseCollector.d.ts +39 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +317 -130
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +58 -22
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +5 -3
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +86 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +83 -45
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +539 -54
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +92 -71
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +123 -27
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IIndexToken.d.ts +187 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +243 -17
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +37 -37
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseVault.d.ts +83 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +5 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +530 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolCollector.d.ts +156 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +557 -102
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLiquidityPool.d.ts +486 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockDistributableContract.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockCollectableUnderlying.d.ts +292 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/vaults/MockVault.d.ts +290 -0
- package/dist/types/typechain-types/contracts/mocks/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/MockStringUtils.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface__factory.d.ts +171 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +571 -194
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +138 -54
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -31
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +231 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +897 -64
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +128 -161
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +54 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +47 -29
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +317 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +525 -17
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +52 -52
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IBaseCollector__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +409 -90
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +59 -15
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +78 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +119 -39
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +547 -19
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +68 -67
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +119 -6
- package/dist/types/typechain-types/factories/{erc721a/contracts/IERC721A__factory.d.ts → contracts/interfaces/core/tokens/IIndexToken__factory.d.ts} +74 -215
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +274 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +26 -26
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/{IMarketCreator__factory.d.ts → core/vaults/IBaseVault__factory.d.ts} +78 -42
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +16 -4
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +620 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +234 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +539 -77
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +795 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +68 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +451 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +525 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +40 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/index.d.ts +0 -1
- package/dist/types/typechain-types/index.d.ts +28 -10
- package/dist/types/utils/artifacts.d.ts +677 -39
- package/dist/types/utils/contracts.d.ts +2 -0
- package/dist/utils/artifacts.js +9 -0
- package/package.json +1 -1
- package/dist/nfts/getDepositedNFTs.js +0 -19
- package/dist/nfts/getOwnedNFTs.js +0 -34
- package/dist/types/nfts/addNewBatch.d.ts +0 -4
- package/dist/types/nfts/getCurrentBatchSize.d.ts +0 -4
- package/dist/types/nfts/getDepositedNFTs.d.ts +0 -7
- package/dist/types/nfts/getOwnedNFTs.d.ts +0 -7
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/MarketCreator.d.ts +0 -274
- package/dist/types/typechain-types/contracts/interfaces/IMarketCreator.d.ts +0 -85
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockFeeCollector.d.ts +0 -708
- package/dist/types/typechain-types/erc721a/contracts/IERC721A.d.ts +0 -242
- package/dist/types/typechain-types/erc721a/contracts/index.d.ts +0 -1
- package/dist/types/typechain-types/erc721a/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/MarketCreator__factory.d.ts +0 -405
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockFeeCollector__factory.d.ts +0 -985
- package/dist/types/typechain-types/factories/erc721a/contracts/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/erc721a/index.d.ts +0 -1
|
@@ -0,0 +1,774 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "MockVRFCoordinatorV2",
|
|
4
|
+
"sourceName": "contracts/mocks/core/oracles/MockVRFCoordinatorV2.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint96",
|
|
10
|
+
"name": "_baseFee",
|
|
11
|
+
"type": "uint96"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "uint96",
|
|
15
|
+
"name": "_gasPriceLink",
|
|
16
|
+
"type": "uint96"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "InsufficientBalance",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [],
|
|
29
|
+
"name": "InvalidConsumer",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "InvalidRandomWords",
|
|
35
|
+
"type": "error"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"inputs": [],
|
|
39
|
+
"name": "InvalidSubscription",
|
|
40
|
+
"type": "error"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [
|
|
44
|
+
{
|
|
45
|
+
"internalType": "address",
|
|
46
|
+
"name": "owner",
|
|
47
|
+
"type": "address"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"name": "MustBeSubOwner",
|
|
51
|
+
"type": "error"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"name": "Reentrant",
|
|
56
|
+
"type": "error"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [],
|
|
60
|
+
"name": "TooManyConsumers",
|
|
61
|
+
"type": "error"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"anonymous": false,
|
|
65
|
+
"inputs": [],
|
|
66
|
+
"name": "ConfigSet",
|
|
67
|
+
"type": "event"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"anonymous": false,
|
|
71
|
+
"inputs": [
|
|
72
|
+
{
|
|
73
|
+
"indexed": true,
|
|
74
|
+
"internalType": "uint64",
|
|
75
|
+
"name": "subId",
|
|
76
|
+
"type": "uint64"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"indexed": false,
|
|
80
|
+
"internalType": "address",
|
|
81
|
+
"name": "consumer",
|
|
82
|
+
"type": "address"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"name": "ConsumerAdded",
|
|
86
|
+
"type": "event"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"anonymous": false,
|
|
90
|
+
"inputs": [
|
|
91
|
+
{
|
|
92
|
+
"indexed": true,
|
|
93
|
+
"internalType": "uint64",
|
|
94
|
+
"name": "subId",
|
|
95
|
+
"type": "uint64"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"indexed": false,
|
|
99
|
+
"internalType": "address",
|
|
100
|
+
"name": "consumer",
|
|
101
|
+
"type": "address"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"name": "ConsumerRemoved",
|
|
105
|
+
"type": "event"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"anonymous": false,
|
|
109
|
+
"inputs": [
|
|
110
|
+
{
|
|
111
|
+
"indexed": true,
|
|
112
|
+
"internalType": "address",
|
|
113
|
+
"name": "from",
|
|
114
|
+
"type": "address"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"indexed": true,
|
|
118
|
+
"internalType": "address",
|
|
119
|
+
"name": "to",
|
|
120
|
+
"type": "address"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"name": "OwnershipTransferRequested",
|
|
124
|
+
"type": "event"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"anonymous": false,
|
|
128
|
+
"inputs": [
|
|
129
|
+
{
|
|
130
|
+
"indexed": true,
|
|
131
|
+
"internalType": "address",
|
|
132
|
+
"name": "from",
|
|
133
|
+
"type": "address"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"indexed": true,
|
|
137
|
+
"internalType": "address",
|
|
138
|
+
"name": "to",
|
|
139
|
+
"type": "address"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"name": "OwnershipTransferred",
|
|
143
|
+
"type": "event"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"anonymous": false,
|
|
147
|
+
"inputs": [
|
|
148
|
+
{
|
|
149
|
+
"indexed": true,
|
|
150
|
+
"internalType": "uint256",
|
|
151
|
+
"name": "requestId",
|
|
152
|
+
"type": "uint256"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"indexed": false,
|
|
156
|
+
"internalType": "uint256",
|
|
157
|
+
"name": "outputSeed",
|
|
158
|
+
"type": "uint256"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"indexed": false,
|
|
162
|
+
"internalType": "uint96",
|
|
163
|
+
"name": "payment",
|
|
164
|
+
"type": "uint96"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"indexed": false,
|
|
168
|
+
"internalType": "bool",
|
|
169
|
+
"name": "success",
|
|
170
|
+
"type": "bool"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"name": "RandomWordsFulfilled",
|
|
174
|
+
"type": "event"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"anonymous": false,
|
|
178
|
+
"inputs": [
|
|
179
|
+
{
|
|
180
|
+
"indexed": true,
|
|
181
|
+
"internalType": "bytes32",
|
|
182
|
+
"name": "keyHash",
|
|
183
|
+
"type": "bytes32"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"indexed": false,
|
|
187
|
+
"internalType": "uint256",
|
|
188
|
+
"name": "requestId",
|
|
189
|
+
"type": "uint256"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"indexed": false,
|
|
193
|
+
"internalType": "uint256",
|
|
194
|
+
"name": "preSeed",
|
|
195
|
+
"type": "uint256"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"indexed": true,
|
|
199
|
+
"internalType": "uint64",
|
|
200
|
+
"name": "subId",
|
|
201
|
+
"type": "uint64"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"indexed": false,
|
|
205
|
+
"internalType": "uint16",
|
|
206
|
+
"name": "minimumRequestConfirmations",
|
|
207
|
+
"type": "uint16"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"indexed": false,
|
|
211
|
+
"internalType": "uint32",
|
|
212
|
+
"name": "callbackGasLimit",
|
|
213
|
+
"type": "uint32"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"indexed": false,
|
|
217
|
+
"internalType": "uint32",
|
|
218
|
+
"name": "numWords",
|
|
219
|
+
"type": "uint32"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"indexed": true,
|
|
223
|
+
"internalType": "address",
|
|
224
|
+
"name": "sender",
|
|
225
|
+
"type": "address"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"name": "RandomWordsRequested",
|
|
229
|
+
"type": "event"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"anonymous": false,
|
|
233
|
+
"inputs": [
|
|
234
|
+
{
|
|
235
|
+
"indexed": true,
|
|
236
|
+
"internalType": "uint64",
|
|
237
|
+
"name": "subId",
|
|
238
|
+
"type": "uint64"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"indexed": false,
|
|
242
|
+
"internalType": "address",
|
|
243
|
+
"name": "to",
|
|
244
|
+
"type": "address"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"indexed": false,
|
|
248
|
+
"internalType": "uint256",
|
|
249
|
+
"name": "amount",
|
|
250
|
+
"type": "uint256"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"name": "SubscriptionCanceled",
|
|
254
|
+
"type": "event"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"anonymous": false,
|
|
258
|
+
"inputs": [
|
|
259
|
+
{
|
|
260
|
+
"indexed": true,
|
|
261
|
+
"internalType": "uint64",
|
|
262
|
+
"name": "subId",
|
|
263
|
+
"type": "uint64"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"indexed": false,
|
|
267
|
+
"internalType": "address",
|
|
268
|
+
"name": "owner",
|
|
269
|
+
"type": "address"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"name": "SubscriptionCreated",
|
|
273
|
+
"type": "event"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"anonymous": false,
|
|
277
|
+
"inputs": [
|
|
278
|
+
{
|
|
279
|
+
"indexed": true,
|
|
280
|
+
"internalType": "uint64",
|
|
281
|
+
"name": "subId",
|
|
282
|
+
"type": "uint64"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"indexed": false,
|
|
286
|
+
"internalType": "uint256",
|
|
287
|
+
"name": "oldBalance",
|
|
288
|
+
"type": "uint256"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"indexed": false,
|
|
292
|
+
"internalType": "uint256",
|
|
293
|
+
"name": "newBalance",
|
|
294
|
+
"type": "uint256"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"name": "SubscriptionFunded",
|
|
298
|
+
"type": "event"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"inputs": [],
|
|
302
|
+
"name": "BASE_FEE",
|
|
303
|
+
"outputs": [
|
|
304
|
+
{
|
|
305
|
+
"internalType": "uint96",
|
|
306
|
+
"name": "",
|
|
307
|
+
"type": "uint96"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"stateMutability": "view",
|
|
311
|
+
"type": "function"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"inputs": [],
|
|
315
|
+
"name": "GAS_PRICE_LINK",
|
|
316
|
+
"outputs": [
|
|
317
|
+
{
|
|
318
|
+
"internalType": "uint96",
|
|
319
|
+
"name": "",
|
|
320
|
+
"type": "uint96"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"stateMutability": "view",
|
|
324
|
+
"type": "function"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"inputs": [],
|
|
328
|
+
"name": "MAX_CONSUMERS",
|
|
329
|
+
"outputs": [
|
|
330
|
+
{
|
|
331
|
+
"internalType": "uint16",
|
|
332
|
+
"name": "",
|
|
333
|
+
"type": "uint16"
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"stateMutability": "view",
|
|
337
|
+
"type": "function"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"inputs": [],
|
|
341
|
+
"name": "acceptOwnership",
|
|
342
|
+
"outputs": [],
|
|
343
|
+
"stateMutability": "nonpayable",
|
|
344
|
+
"type": "function"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"inputs": [
|
|
348
|
+
{
|
|
349
|
+
"internalType": "uint64",
|
|
350
|
+
"name": "",
|
|
351
|
+
"type": "uint64"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"name": "acceptSubscriptionOwnerTransfer",
|
|
355
|
+
"outputs": [],
|
|
356
|
+
"stateMutability": "pure",
|
|
357
|
+
"type": "function"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"inputs": [
|
|
361
|
+
{
|
|
362
|
+
"internalType": "uint64",
|
|
363
|
+
"name": "_subId",
|
|
364
|
+
"type": "uint64"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"internalType": "address",
|
|
368
|
+
"name": "_consumer",
|
|
369
|
+
"type": "address"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"name": "addConsumer",
|
|
373
|
+
"outputs": [],
|
|
374
|
+
"stateMutability": "nonpayable",
|
|
375
|
+
"type": "function"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"inputs": [
|
|
379
|
+
{
|
|
380
|
+
"internalType": "uint64",
|
|
381
|
+
"name": "_subId",
|
|
382
|
+
"type": "uint64"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"internalType": "address",
|
|
386
|
+
"name": "_to",
|
|
387
|
+
"type": "address"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"name": "cancelSubscription",
|
|
391
|
+
"outputs": [],
|
|
392
|
+
"stateMutability": "nonpayable",
|
|
393
|
+
"type": "function"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"inputs": [
|
|
397
|
+
{
|
|
398
|
+
"internalType": "uint64",
|
|
399
|
+
"name": "_subId",
|
|
400
|
+
"type": "uint64"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"internalType": "address",
|
|
404
|
+
"name": "_consumer",
|
|
405
|
+
"type": "address"
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
"name": "consumerIsAdded",
|
|
409
|
+
"outputs": [
|
|
410
|
+
{
|
|
411
|
+
"internalType": "bool",
|
|
412
|
+
"name": "",
|
|
413
|
+
"type": "bool"
|
|
414
|
+
}
|
|
415
|
+
],
|
|
416
|
+
"stateMutability": "view",
|
|
417
|
+
"type": "function"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"inputs": [],
|
|
421
|
+
"name": "createSubscription",
|
|
422
|
+
"outputs": [
|
|
423
|
+
{
|
|
424
|
+
"internalType": "uint64",
|
|
425
|
+
"name": "_subId",
|
|
426
|
+
"type": "uint64"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"stateMutability": "nonpayable",
|
|
430
|
+
"type": "function"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"inputs": [
|
|
434
|
+
{
|
|
435
|
+
"internalType": "uint256",
|
|
436
|
+
"name": "_requestId",
|
|
437
|
+
"type": "uint256"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"internalType": "address",
|
|
441
|
+
"name": "_consumer",
|
|
442
|
+
"type": "address"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"name": "fulfillRandomWords",
|
|
446
|
+
"outputs": [],
|
|
447
|
+
"stateMutability": "nonpayable",
|
|
448
|
+
"type": "function"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"inputs": [
|
|
452
|
+
{
|
|
453
|
+
"internalType": "uint256",
|
|
454
|
+
"name": "_requestId",
|
|
455
|
+
"type": "uint256"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"internalType": "address",
|
|
459
|
+
"name": "_consumer",
|
|
460
|
+
"type": "address"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"internalType": "uint256[]",
|
|
464
|
+
"name": "_words",
|
|
465
|
+
"type": "uint256[]"
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"name": "fulfillRandomWordsWithOverride",
|
|
469
|
+
"outputs": [],
|
|
470
|
+
"stateMutability": "nonpayable",
|
|
471
|
+
"type": "function"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"inputs": [
|
|
475
|
+
{
|
|
476
|
+
"internalType": "uint64",
|
|
477
|
+
"name": "_subId",
|
|
478
|
+
"type": "uint64"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"internalType": "uint96",
|
|
482
|
+
"name": "_amount",
|
|
483
|
+
"type": "uint96"
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"name": "fundSubscription",
|
|
487
|
+
"outputs": [],
|
|
488
|
+
"stateMutability": "nonpayable",
|
|
489
|
+
"type": "function"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"inputs": [],
|
|
493
|
+
"name": "getConfig",
|
|
494
|
+
"outputs": [
|
|
495
|
+
{
|
|
496
|
+
"internalType": "uint16",
|
|
497
|
+
"name": "minimumRequestConfirmations",
|
|
498
|
+
"type": "uint16"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"internalType": "uint32",
|
|
502
|
+
"name": "maxGasLimit",
|
|
503
|
+
"type": "uint32"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"internalType": "uint32",
|
|
507
|
+
"name": "stalenessSeconds",
|
|
508
|
+
"type": "uint32"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"internalType": "uint32",
|
|
512
|
+
"name": "gasAfterPaymentCalculation",
|
|
513
|
+
"type": "uint32"
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
"stateMutability": "pure",
|
|
517
|
+
"type": "function"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"inputs": [],
|
|
521
|
+
"name": "getFallbackWeiPerUnitLink",
|
|
522
|
+
"outputs": [
|
|
523
|
+
{
|
|
524
|
+
"internalType": "int256",
|
|
525
|
+
"name": "",
|
|
526
|
+
"type": "int256"
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"stateMutability": "pure",
|
|
530
|
+
"type": "function"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"inputs": [],
|
|
534
|
+
"name": "getFeeConfig",
|
|
535
|
+
"outputs": [
|
|
536
|
+
{
|
|
537
|
+
"internalType": "uint32",
|
|
538
|
+
"name": "fulfillmentFlatFeeLinkPPMTier1",
|
|
539
|
+
"type": "uint32"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"internalType": "uint32",
|
|
543
|
+
"name": "fulfillmentFlatFeeLinkPPMTier2",
|
|
544
|
+
"type": "uint32"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"internalType": "uint32",
|
|
548
|
+
"name": "fulfillmentFlatFeeLinkPPMTier3",
|
|
549
|
+
"type": "uint32"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"internalType": "uint32",
|
|
553
|
+
"name": "fulfillmentFlatFeeLinkPPMTier4",
|
|
554
|
+
"type": "uint32"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"internalType": "uint32",
|
|
558
|
+
"name": "fulfillmentFlatFeeLinkPPMTier5",
|
|
559
|
+
"type": "uint32"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"internalType": "uint24",
|
|
563
|
+
"name": "reqsForTier2",
|
|
564
|
+
"type": "uint24"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"internalType": "uint24",
|
|
568
|
+
"name": "reqsForTier3",
|
|
569
|
+
"type": "uint24"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"internalType": "uint24",
|
|
573
|
+
"name": "reqsForTier4",
|
|
574
|
+
"type": "uint24"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"internalType": "uint24",
|
|
578
|
+
"name": "reqsForTier5",
|
|
579
|
+
"type": "uint24"
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"stateMutability": "pure",
|
|
583
|
+
"type": "function"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"inputs": [],
|
|
587
|
+
"name": "getRequestConfig",
|
|
588
|
+
"outputs": [
|
|
589
|
+
{
|
|
590
|
+
"internalType": "uint16",
|
|
591
|
+
"name": "",
|
|
592
|
+
"type": "uint16"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"internalType": "uint32",
|
|
596
|
+
"name": "",
|
|
597
|
+
"type": "uint32"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"internalType": "bytes32[]",
|
|
601
|
+
"name": "",
|
|
602
|
+
"type": "bytes32[]"
|
|
603
|
+
}
|
|
604
|
+
],
|
|
605
|
+
"stateMutability": "pure",
|
|
606
|
+
"type": "function"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"inputs": [
|
|
610
|
+
{
|
|
611
|
+
"internalType": "uint64",
|
|
612
|
+
"name": "_subId",
|
|
613
|
+
"type": "uint64"
|
|
614
|
+
}
|
|
615
|
+
],
|
|
616
|
+
"name": "getSubscription",
|
|
617
|
+
"outputs": [
|
|
618
|
+
{
|
|
619
|
+
"internalType": "uint96",
|
|
620
|
+
"name": "balance",
|
|
621
|
+
"type": "uint96"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"internalType": "uint64",
|
|
625
|
+
"name": "reqCount",
|
|
626
|
+
"type": "uint64"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"internalType": "address",
|
|
630
|
+
"name": "owner",
|
|
631
|
+
"type": "address"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"internalType": "address[]",
|
|
635
|
+
"name": "consumers",
|
|
636
|
+
"type": "address[]"
|
|
637
|
+
}
|
|
638
|
+
],
|
|
639
|
+
"stateMutability": "view",
|
|
640
|
+
"type": "function"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"inputs": [],
|
|
644
|
+
"name": "owner",
|
|
645
|
+
"outputs": [
|
|
646
|
+
{
|
|
647
|
+
"internalType": "address",
|
|
648
|
+
"name": "",
|
|
649
|
+
"type": "address"
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"stateMutability": "view",
|
|
653
|
+
"type": "function"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"inputs": [
|
|
657
|
+
{
|
|
658
|
+
"internalType": "uint64",
|
|
659
|
+
"name": "",
|
|
660
|
+
"type": "uint64"
|
|
661
|
+
}
|
|
662
|
+
],
|
|
663
|
+
"name": "pendingRequestExists",
|
|
664
|
+
"outputs": [
|
|
665
|
+
{
|
|
666
|
+
"internalType": "bool",
|
|
667
|
+
"name": "",
|
|
668
|
+
"type": "bool"
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"stateMutability": "pure",
|
|
672
|
+
"type": "function"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"inputs": [
|
|
676
|
+
{
|
|
677
|
+
"internalType": "uint64",
|
|
678
|
+
"name": "_subId",
|
|
679
|
+
"type": "uint64"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"internalType": "address",
|
|
683
|
+
"name": "_consumer",
|
|
684
|
+
"type": "address"
|
|
685
|
+
}
|
|
686
|
+
],
|
|
687
|
+
"name": "removeConsumer",
|
|
688
|
+
"outputs": [],
|
|
689
|
+
"stateMutability": "nonpayable",
|
|
690
|
+
"type": "function"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"inputs": [
|
|
694
|
+
{
|
|
695
|
+
"internalType": "bytes32",
|
|
696
|
+
"name": "_keyHash",
|
|
697
|
+
"type": "bytes32"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"internalType": "uint64",
|
|
701
|
+
"name": "_subId",
|
|
702
|
+
"type": "uint64"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"internalType": "uint16",
|
|
706
|
+
"name": "_minimumRequestConfirmations",
|
|
707
|
+
"type": "uint16"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"internalType": "uint32",
|
|
711
|
+
"name": "_callbackGasLimit",
|
|
712
|
+
"type": "uint32"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"internalType": "uint32",
|
|
716
|
+
"name": "_numWords",
|
|
717
|
+
"type": "uint32"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"name": "requestRandomWords",
|
|
721
|
+
"outputs": [
|
|
722
|
+
{
|
|
723
|
+
"internalType": "uint256",
|
|
724
|
+
"name": "",
|
|
725
|
+
"type": "uint256"
|
|
726
|
+
}
|
|
727
|
+
],
|
|
728
|
+
"stateMutability": "nonpayable",
|
|
729
|
+
"type": "function"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"inputs": [
|
|
733
|
+
{
|
|
734
|
+
"internalType": "uint64",
|
|
735
|
+
"name": "",
|
|
736
|
+
"type": "uint64"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"internalType": "address",
|
|
740
|
+
"name": "",
|
|
741
|
+
"type": "address"
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"name": "requestSubscriptionOwnerTransfer",
|
|
745
|
+
"outputs": [],
|
|
746
|
+
"stateMutability": "pure",
|
|
747
|
+
"type": "function"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"inputs": [],
|
|
751
|
+
"name": "setConfig",
|
|
752
|
+
"outputs": [],
|
|
753
|
+
"stateMutability": "nonpayable",
|
|
754
|
+
"type": "function"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"inputs": [
|
|
758
|
+
{
|
|
759
|
+
"internalType": "address",
|
|
760
|
+
"name": "to",
|
|
761
|
+
"type": "address"
|
|
762
|
+
}
|
|
763
|
+
],
|
|
764
|
+
"name": "transferOwnership",
|
|
765
|
+
"outputs": [],
|
|
766
|
+
"stateMutability": "nonpayable",
|
|
767
|
+
"type": "function"
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"bytecode": "0x60e0604052606460c081905260016004556005553480156200002057600080fd5b5060405162001cd038038062001cd0833981016040819052620000439162000267565b33806000816200009a5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615620000cd57620000cd81620000f5565b5050506001600160601b03808316608052811660a052620000ed620001a0565b50506200029f565b336001600160a01b038216036200014f5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000091565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b620001aa620001ec565b604080516020810182526000908190526002805460ff1916905590517f4b2974a542484cba2783812ff8033f7fc682cac2fe0905c28c5e27869b3155be9190a1565b6000546001600160a01b03163314620002485760405162461bcd60e51b815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000604482015260640162000091565b565b80516001600160601b03811681146200026257600080fd5b919050565b600080604083850312156200027b57600080fd5b62000286836200024a565b915062000296602084016200024a565b90509250929050565b60805160a05160c0516119ec620002e4600039600081816102690152610aa601526000818161033501526106e00152600081816101ca015261072301526119ec6000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c80638b673e7a116100c3578063afc69b531161007c578063afc69b531461037a578063c3f909d41461038d578063d7ae1d30146103b8578063e82ad7d4146103cb578063ed5eb06d146103ee578063f2fde38b1461040157600080fd5b80638b673e7a146102da5780638da5cb5b146102e25780639f87fad7146102fd578063a21a23e414610310578063a410347f14610330578063a47c76961461035757600080fd5b80635fbbc0d2116101155780635fbbc0d21461021757806364d51a2a146102645780637341c10c1461029e57806379ba5097146102b1578063808974ff146102b957806382359740146102cc57600080fd5b80620122911461015c57806304c357cb1461018657806308e3898e1461019b578063356dac71146101ae5780633d18651e146101c55780635d3b1d3014610204575b600080fd5b6040805160008152602081019182905261017d91600391621e8480916114e8565b60405180910390f35b61019961019436600461157a565b610414565b005b6101996101a93660046115c3565b610453565b660e35fa931a00005b60405190815260200161017d565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161017d565b6101b76102123660046116b0565b61086b565b60408051620186a080825260208201819052918101829052606081018290526080810191909152600060a0820181905260c0820181905260e082018190526101008201526101200161017d565b61028b7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff909116815260200161017d565b6101996102ac36600461157a565b610a12565b610199610b73565b6101996102c7366004611717565b610c1d565b61019961019436600461173a565b610199610c61565b6000546040516001600160a01b03909116815260200161017d565b61019961030b36600461157a565b610cab565b610318610ee6565b6040516001600160401b03909116815260200161017d565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b61036a61036536600461173a565b610fb6565b60405161017d949392919061175c565b6101996103883660046117d6565b6110a2565b6040805160048152622625a06020820152610a8c91810191909152618205606082015260800161017d565b6101996103c636600461157a565b61119e565b6103de6103d936600461173a565b6112c3565b604051901515815260200161017d565b6103de6103fc36600461157a565b611300565b61019961040f366004611819565b6113d6565b60405162461bcd60e51b815260206004820152600f60248201526e1b9bdd081a5b5c1b195b595b9d1959608a1b60448201526064015b60405180910390fd5b60005a6000858152600860205260408120549192506001600160401b0390911690036104b75760405162461bcd60e51b81526020600482015260136024820152721b9bdb995e1a5cdd195b9d081c995c5d595cdd606a1b604482015260640161044a565b6000848152600860209081526040808320815160608101835290546001600160401b038116825263ffffffff600160401b8204811694830194909452600160601b90049092169082015283519091036105cf57806040015163ffffffff166001600160401b0381111561052c5761052c6115ad565b604051908082528060200260200182016040528015610555578160200160208202803683370190505b50925060005b816040015163ffffffff168110156105c95760408051602081018890529081018290526060016040516020818303038152906040528051906020012060001c8482815181106105ac576105ac611834565b6020908102919091010152806105c181611860565b91505061055b565b506105fa565b806040015163ffffffff168351146105fa57604051631f9efadb60e11b815260040160405180910390fd5b600080631fe543e360e01b8786604051602401610618929190611879565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b0319909516949094179093526002805460ff191660011790559185015191519092506000916001600160a01b0389169163ffffffff909116906106839085906118c7565b60006040518083038160008787f1925050503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b50506002805460ff19169055905060006001600160601b037f0000000000000000000000000000000000000000000000000000000000000000165a61070b90886118f6565b6107159190611909565b610748906001600160601b037f000000000000000000000000000000000000000000000000000000000000000016611920565b85516001600160401b03166000908152600660205260409020549091506001600160601b03808316600160a01b90920416101561079857604051631e9acf1760e31b815260040160405180910390fd5b84516001600160401b0316600090815260066020526040902080548291906014906107d4908490600160a01b90046001600160601b0316611933565b82546101009290920a6001600160601b0381810219909316918316021790915560008b81526008602090815260409182902080546fffffffffffffffffffffffffffffffff1916905581518d815292851690830152841515908201528a91507f7dffc5ae5ee4e2e4df1651cf6ad329a73cebdb728f37ea0187b9b17e036756e49060600160405180910390a2505050505050505050565b60025460009060ff16156108925760405163769dd35360e11b815260040160405180910390fd5b843361089e8282611300565b6108bb576040516371e8313760e01b815260040160405180910390fd5b6001600160401b0387166000908152600660205260409020546001600160a01b03166108fa57604051630fb532db60e11b815260040160405180910390fd5b600480546000918261090b83611860565b9091555060058054919250600091908261092483611860565b9091555060408051606080820183526001600160401b038d811680845263ffffffff8d811660208087018281528f8416888a0181815260008e8152600885528b902099518a54935191518716600160601b0263ffffffff60601b1992909716600160401b026bffffffffffffffffffffffff19909416981697909717919091179590951692909217909555855189815290810187905261ffff8f16818701529283019390935260808201529151929350339290918d917f63373d1c4696214b898952999c9aaec57dac1ee2723cec59bea6888f489a97729160a0908290030190a45098975050505050505050565b6001600160401b03821660009081526006602052604090205482906001600160a01b031680610a5457604051630fb532db60e11b815260040160405180910390fd5b336001600160a01b03821614610a8857604051636c51fda960e11b81526001600160a01b038216600482015260240161044a565b6001600160401b03841660009081526007602052604090205461ffff7f0000000000000000000000000000000000000000000000000000000000000000169003610ae5576040516305a48e0f60e01b815260040160405180910390fd5b610aef8484611300565b610b6d576001600160401b038416600081815260076020908152604080832080546001810182559084529282902090920180546001600160a01b0319166001600160a01b03881690811790915591519182527f752ead9f4536ec1319ee3a5a604e1d65eded22e0924251552ba14ae4faa1bbc3910160405180910390a25b50505050565b6001546001600160a01b03163314610bc65760405162461bcd60e51b815260206004820152601660248201527526bab9ba10313290383937b837b9b2b21037bbb732b960511b604482015260640161044a565b60008054336001600160a01b0319808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b60025460ff1615610c415760405163769dd35360e11b815260040160405180910390fd5b604080516000815260208101909152610c5d9083908390610453565b5050565b610c696113ea565b604080516020810182526000908190526002805460ff1916905590517f4b2974a542484cba2783812ff8033f7fc682cac2fe0905c28c5e27869b3155be9190a1565b6001600160401b03821660009081526006602052604090205482906001600160a01b031680610ced57604051630fb532db60e11b815260040160405180910390fd5b336001600160a01b03821614610d2157604051636c51fda960e11b81526001600160a01b038216600482015260240161044a565b8383610d2d8282611300565b610d4a576040516371e8313760e01b815260040160405180910390fd5b60025460ff1615610d6e5760405163769dd35360e11b815260040160405180910390fd5b6001600160401b0386166000908152600760205260408120905b8154811015610e9557866001600160a01b0316828281548110610dad57610dad611834565b6000918252602090912001546001600160a01b031603610e835781546000908390610dda906001906118f6565b81548110610dea57610dea611834565b9060005260206000200160009054906101000a90046001600160a01b0316905080838381548110610e1d57610e1d611834565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082805480610e5b57610e5b61195a565b600082815260209020810160001990810180546001600160a01b031916905501905550610e95565b80610e8d81611860565b915050610d88565b506040516001600160a01b03871681526001600160401b038816907ff9bc9d5b5733d904409def43a5ecc888dbdac9a95687780d8fd489d3bb3813fc9060200160405180910390a250505050505050565b600380546000916001600160401b039091169082610f0383611970565b82546001600160401b039182166101009390930a928302928202191691909117909155604080518082018252338082526000602080840182815260038054881684526006835292869020945190516001600160601b0316600160a01b026001600160a01b03909116179093555492519081529190921692507f464722b4166576d3dcbba877b999bc35cf911f4eaf434b7eba68fa113951d0bf910160405180910390a2506003546001600160401b031690565b6001600160401b038116600090815260066020526040812054819081906060906001600160a01b0316610ffc57604051630fb532db60e11b815260040160405180910390fd5b6001600160401b0385166000908152600660209081526040808320546007835281842080548351818602810186019094528084526001600160601b03600160a01b84041695946001600160a01b0390931693919283919083018282801561108c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161106e575b5050505050905093509350935093509193509193565b6001600160401b0382166000908152600660205260409020546001600160a01b03166110e157604051630fb532db60e11b815260040160405180910390fd5b6001600160401b03821660009081526006602052604090208054600160a01b90046001600160601b0316908290601461111a8385611996565b92506101000a8154816001600160601b0302191690836001600160601b03160217905550826001600160401b03167fd39ec07f4e209f627a4c427971473820dc129761ba28de8906bd56f57101d4f88284846111769190611996565b604080516001600160601b0393841681529290911660208301520160405180910390a2505050565b6001600160401b03821660009081526006602052604090205482906001600160a01b0316806111e057604051630fb532db60e11b815260040160405180910390fd5b336001600160a01b0382161461121457604051636c51fda960e11b81526001600160a01b038216600482015260240161044a565b60025460ff16156112385760405163769dd35360e11b815260040160405180910390fd5b6001600160401b0384166000818152600660209081526040918290205482516001600160a01b0388168152600160a01b9091046001600160601b0316918101919091527fe8ed5b475a5b5987aa9165e8731bb78043f39eee32ec5a1169a89e27fcd49815910160405180910390a25050506001600160401b0316600090815260066020526040812055565b60405162461bcd60e51b815260206004820152600f60248201526e1b9bdd081a5b5c1b195b595b9d1959608a1b604482015260009060640161044a565b6001600160401b03821660009081526007602090815260408083208054825181850281018501909352808352849383018282801561136757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611349575b5050505050905060005b81518110156113c957836001600160a01b031682828151811061139657611396611834565b60200260200101516001600160a01b0316036113b7576001925050506113d0565b806113c181611860565b915050611371565b5060009150505b92915050565b6113de6113ea565b6113e78161143f565b50565b6000546001600160a01b0316331461143d5760405162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c9037bbb732b960511b604482015260640161044a565b565b336001600160a01b038216036114975760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640161044a565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b60006060820161ffff86168352602063ffffffff86168185015260606040850152818551808452608086019150828701935060005b818110156115395784518352938301939183019160010161151d565b509098975050505050505050565b80356001600160401b038116811461155e57600080fd5b919050565b80356001600160a01b038116811461155e57600080fd5b6000806040838503121561158d57600080fd5b61159683611547565b91506115a460208401611563565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156115d857600080fd5b8335925060206115e9818601611563565b925060408501356001600160401b038082111561160557600080fd5b818701915087601f83011261161957600080fd5b81358181111561162b5761162b6115ad565b8060051b604051601f19603f83011681018181108582111715611650576116506115ad565b60405291825284820192508381018501918a83111561166e57600080fd5b938501935b8285101561168c57843584529385019392850192611673565b8096505050505050509250925092565b803563ffffffff8116811461155e57600080fd5b600080600080600060a086880312156116c857600080fd5b853594506116d860208701611547565b9350604086013561ffff811681146116ef57600080fd5b92506116fd6060870161169c565b915061170b6080870161169c565b90509295509295909350565b6000806040838503121561172a57600080fd5b823591506115a460208401611563565b60006020828403121561174c57600080fd5b61175582611547565b9392505050565b6000608082016001600160601b038716835260206001600160401b0387168185015260018060a01b0380871660408601526080606086015282865180855260a087019150838801945060005b818110156117c65785518416835294840194918401916001016117a8565b50909a9950505050505050505050565b600080604083850312156117e957600080fd5b6117f283611547565b915060208301356001600160601b038116811461180e57600080fd5b809150509250929050565b60006020828403121561182b57600080fd5b61175582611563565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016118725761187261184a565b5060010190565b6000604082018483526020604081850152818551808452606086019150828701935060005b818110156118ba5784518352938301939183019160010161189e565b5090979650505050505050565b6000825160005b818110156118e857602081860181015185830152016118ce565b506000920191825250919050565b818103818111156113d0576113d061184a565b80820281158282048414176113d0576113d061184a565b808201808211156113d0576113d061184a565b6001600160601b038281168282160390808211156119535761195361184a565b5092915050565b634e487b7160e01b600052603160045260246000fd5b60006001600160401b0380831681810361198c5761198c61184a565b6001019392505050565b6001600160601b038181168382160190808211156119535761195361184a56fea26469706673582212207f5a1fe86f0be6895b7ea9d9f453708fdda79bb8e8ea71c4eec4a91f4191d4b264736f6c63430008140033",
|
|
771
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101575760003560e01c80638b673e7a116100c3578063afc69b531161007c578063afc69b531461037a578063c3f909d41461038d578063d7ae1d30146103b8578063e82ad7d4146103cb578063ed5eb06d146103ee578063f2fde38b1461040157600080fd5b80638b673e7a146102da5780638da5cb5b146102e25780639f87fad7146102fd578063a21a23e414610310578063a410347f14610330578063a47c76961461035757600080fd5b80635fbbc0d2116101155780635fbbc0d21461021757806364d51a2a146102645780637341c10c1461029e57806379ba5097146102b1578063808974ff146102b957806382359740146102cc57600080fd5b80620122911461015c57806304c357cb1461018657806308e3898e1461019b578063356dac71146101ae5780633d18651e146101c55780635d3b1d3014610204575b600080fd5b6040805160008152602081019182905261017d91600391621e8480916114e8565b60405180910390f35b61019961019436600461157a565b610414565b005b6101996101a93660046115c3565b610453565b660e35fa931a00005b60405190815260200161017d565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161017d565b6101b76102123660046116b0565b61086b565b60408051620186a080825260208201819052918101829052606081018290526080810191909152600060a0820181905260c0820181905260e082018190526101008201526101200161017d565b61028b7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff909116815260200161017d565b6101996102ac36600461157a565b610a12565b610199610b73565b6101996102c7366004611717565b610c1d565b61019961019436600461173a565b610199610c61565b6000546040516001600160a01b03909116815260200161017d565b61019961030b36600461157a565b610cab565b610318610ee6565b6040516001600160401b03909116815260200161017d565b6101ec7f000000000000000000000000000000000000000000000000000000000000000081565b61036a61036536600461173a565b610fb6565b60405161017d949392919061175c565b6101996103883660046117d6565b6110a2565b6040805160048152622625a06020820152610a8c91810191909152618205606082015260800161017d565b6101996103c636600461157a565b61119e565b6103de6103d936600461173a565b6112c3565b604051901515815260200161017d565b6103de6103fc36600461157a565b611300565b61019961040f366004611819565b6113d6565b60405162461bcd60e51b815260206004820152600f60248201526e1b9bdd081a5b5c1b195b595b9d1959608a1b60448201526064015b60405180910390fd5b60005a6000858152600860205260408120549192506001600160401b0390911690036104b75760405162461bcd60e51b81526020600482015260136024820152721b9bdb995e1a5cdd195b9d081c995c5d595cdd606a1b604482015260640161044a565b6000848152600860209081526040808320815160608101835290546001600160401b038116825263ffffffff600160401b8204811694830194909452600160601b90049092169082015283519091036105cf57806040015163ffffffff166001600160401b0381111561052c5761052c6115ad565b604051908082528060200260200182016040528015610555578160200160208202803683370190505b50925060005b816040015163ffffffff168110156105c95760408051602081018890529081018290526060016040516020818303038152906040528051906020012060001c8482815181106105ac576105ac611834565b6020908102919091010152806105c181611860565b91505061055b565b506105fa565b806040015163ffffffff168351146105fa57604051631f9efadb60e11b815260040160405180910390fd5b600080631fe543e360e01b8786604051602401610618929190611879565b60408051601f19818403018152918152602080830180516001600160e01b03166001600160e01b0319909516949094179093526002805460ff191660011790559185015191519092506000916001600160a01b0389169163ffffffff909116906106839085906118c7565b60006040518083038160008787f1925050503d80600081146106c1576040519150601f19603f3d011682016040523d82523d6000602084013e6106c6565b606091505b50506002805460ff19169055905060006001600160601b037f0000000000000000000000000000000000000000000000000000000000000000165a61070b90886118f6565b6107159190611909565b610748906001600160601b037f000000000000000000000000000000000000000000000000000000000000000016611920565b85516001600160401b03166000908152600660205260409020549091506001600160601b03808316600160a01b90920416101561079857604051631e9acf1760e31b815260040160405180910390fd5b84516001600160401b0316600090815260066020526040902080548291906014906107d4908490600160a01b90046001600160601b0316611933565b82546101009290920a6001600160601b0381810219909316918316021790915560008b81526008602090815260409182902080546fffffffffffffffffffffffffffffffff1916905581518d815292851690830152841515908201528a91507f7dffc5ae5ee4e2e4df1651cf6ad329a73cebdb728f37ea0187b9b17e036756e49060600160405180910390a2505050505050505050565b60025460009060ff16156108925760405163769dd35360e11b815260040160405180910390fd5b843361089e8282611300565b6108bb576040516371e8313760e01b815260040160405180910390fd5b6001600160401b0387166000908152600660205260409020546001600160a01b03166108fa57604051630fb532db60e11b815260040160405180910390fd5b600480546000918261090b83611860565b9091555060058054919250600091908261092483611860565b9091555060408051606080820183526001600160401b038d811680845263ffffffff8d811660208087018281528f8416888a0181815260008e8152600885528b902099518a54935191518716600160601b0263ffffffff60601b1992909716600160401b026bffffffffffffffffffffffff19909416981697909717919091179590951692909217909555855189815290810187905261ffff8f16818701529283019390935260808201529151929350339290918d917f63373d1c4696214b898952999c9aaec57dac1ee2723cec59bea6888f489a97729160a0908290030190a45098975050505050505050565b6001600160401b03821660009081526006602052604090205482906001600160a01b031680610a5457604051630fb532db60e11b815260040160405180910390fd5b336001600160a01b03821614610a8857604051636c51fda960e11b81526001600160a01b038216600482015260240161044a565b6001600160401b03841660009081526007602052604090205461ffff7f0000000000000000000000000000000000000000000000000000000000000000169003610ae5576040516305a48e0f60e01b815260040160405180910390fd5b610aef8484611300565b610b6d576001600160401b038416600081815260076020908152604080832080546001810182559084529282902090920180546001600160a01b0319166001600160a01b03881690811790915591519182527f752ead9f4536ec1319ee3a5a604e1d65eded22e0924251552ba14ae4faa1bbc3910160405180910390a25b50505050565b6001546001600160a01b03163314610bc65760405162461bcd60e51b815260206004820152601660248201527526bab9ba10313290383937b837b9b2b21037bbb732b960511b604482015260640161044a565b60008054336001600160a01b0319808316821784556001805490911690556040516001600160a01b0390921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b60025460ff1615610c415760405163769dd35360e11b815260040160405180910390fd5b604080516000815260208101909152610c5d9083908390610453565b5050565b610c696113ea565b604080516020810182526000908190526002805460ff1916905590517f4b2974a542484cba2783812ff8033f7fc682cac2fe0905c28c5e27869b3155be9190a1565b6001600160401b03821660009081526006602052604090205482906001600160a01b031680610ced57604051630fb532db60e11b815260040160405180910390fd5b336001600160a01b03821614610d2157604051636c51fda960e11b81526001600160a01b038216600482015260240161044a565b8383610d2d8282611300565b610d4a576040516371e8313760e01b815260040160405180910390fd5b60025460ff1615610d6e5760405163769dd35360e11b815260040160405180910390fd5b6001600160401b0386166000908152600760205260408120905b8154811015610e9557866001600160a01b0316828281548110610dad57610dad611834565b6000918252602090912001546001600160a01b031603610e835781546000908390610dda906001906118f6565b81548110610dea57610dea611834565b9060005260206000200160009054906101000a90046001600160a01b0316905080838381548110610e1d57610e1d611834565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082805480610e5b57610e5b61195a565b600082815260209020810160001990810180546001600160a01b031916905501905550610e95565b80610e8d81611860565b915050610d88565b506040516001600160a01b03871681526001600160401b038816907ff9bc9d5b5733d904409def43a5ecc888dbdac9a95687780d8fd489d3bb3813fc9060200160405180910390a250505050505050565b600380546000916001600160401b039091169082610f0383611970565b82546001600160401b039182166101009390930a928302928202191691909117909155604080518082018252338082526000602080840182815260038054881684526006835292869020945190516001600160601b0316600160a01b026001600160a01b03909116179093555492519081529190921692507f464722b4166576d3dcbba877b999bc35cf911f4eaf434b7eba68fa113951d0bf910160405180910390a2506003546001600160401b031690565b6001600160401b038116600090815260066020526040812054819081906060906001600160a01b0316610ffc57604051630fb532db60e11b815260040160405180910390fd5b6001600160401b0385166000908152600660209081526040808320546007835281842080548351818602810186019094528084526001600160601b03600160a01b84041695946001600160a01b0390931693919283919083018282801561108c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161106e575b5050505050905093509350935093509193509193565b6001600160401b0382166000908152600660205260409020546001600160a01b03166110e157604051630fb532db60e11b815260040160405180910390fd5b6001600160401b03821660009081526006602052604090208054600160a01b90046001600160601b0316908290601461111a8385611996565b92506101000a8154816001600160601b0302191690836001600160601b03160217905550826001600160401b03167fd39ec07f4e209f627a4c427971473820dc129761ba28de8906bd56f57101d4f88284846111769190611996565b604080516001600160601b0393841681529290911660208301520160405180910390a2505050565b6001600160401b03821660009081526006602052604090205482906001600160a01b0316806111e057604051630fb532db60e11b815260040160405180910390fd5b336001600160a01b0382161461121457604051636c51fda960e11b81526001600160a01b038216600482015260240161044a565b60025460ff16156112385760405163769dd35360e11b815260040160405180910390fd5b6001600160401b0384166000818152600660209081526040918290205482516001600160a01b0388168152600160a01b9091046001600160601b0316918101919091527fe8ed5b475a5b5987aa9165e8731bb78043f39eee32ec5a1169a89e27fcd49815910160405180910390a25050506001600160401b0316600090815260066020526040812055565b60405162461bcd60e51b815260206004820152600f60248201526e1b9bdd081a5b5c1b195b595b9d1959608a1b604482015260009060640161044a565b6001600160401b03821660009081526007602090815260408083208054825181850281018501909352808352849383018282801561136757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611349575b5050505050905060005b81518110156113c957836001600160a01b031682828151811061139657611396611834565b60200260200101516001600160a01b0316036113b7576001925050506113d0565b806113c181611860565b915050611371565b5060009150505b92915050565b6113de6113ea565b6113e78161143f565b50565b6000546001600160a01b0316331461143d5760405162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c9037bbb732b960511b604482015260640161044a565b565b336001600160a01b038216036114975760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640161044a565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b60006060820161ffff86168352602063ffffffff86168185015260606040850152818551808452608086019150828701935060005b818110156115395784518352938301939183019160010161151d565b509098975050505050505050565b80356001600160401b038116811461155e57600080fd5b919050565b80356001600160a01b038116811461155e57600080fd5b6000806040838503121561158d57600080fd5b61159683611547565b91506115a460208401611563565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156115d857600080fd5b8335925060206115e9818601611563565b925060408501356001600160401b038082111561160557600080fd5b818701915087601f83011261161957600080fd5b81358181111561162b5761162b6115ad565b8060051b604051601f19603f83011681018181108582111715611650576116506115ad565b60405291825284820192508381018501918a83111561166e57600080fd5b938501935b8285101561168c57843584529385019392850192611673565b8096505050505050509250925092565b803563ffffffff8116811461155e57600080fd5b600080600080600060a086880312156116c857600080fd5b853594506116d860208701611547565b9350604086013561ffff811681146116ef57600080fd5b92506116fd6060870161169c565b915061170b6080870161169c565b90509295509295909350565b6000806040838503121561172a57600080fd5b823591506115a460208401611563565b60006020828403121561174c57600080fd5b61175582611547565b9392505050565b6000608082016001600160601b038716835260206001600160401b0387168185015260018060a01b0380871660408601526080606086015282865180855260a087019150838801945060005b818110156117c65785518416835294840194918401916001016117a8565b50909a9950505050505050505050565b600080604083850312156117e957600080fd5b6117f283611547565b915060208301356001600160601b038116811461180e57600080fd5b809150509250929050565b60006020828403121561182b57600080fd5b61175582611563565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016118725761187261184a565b5060010190565b6000604082018483526020604081850152818551808452606086019150828701935060005b818110156118ba5784518352938301939183019160010161189e565b5090979650505050505050565b6000825160005b818110156118e857602081860181015185830152016118ce565b506000920191825250919050565b818103818111156113d0576113d061184a565b80820281158282048414176113d0576113d061184a565b808201808211156113d0576113d061184a565b6001600160601b038281168282160390808211156119535761195361184a565b5092915050565b634e487b7160e01b600052603160045260246000fd5b60006001600160401b0380831681810361198c5761198c61184a565b6001019392505050565b6001600160601b038181168382160190808211156119535761195361184a56fea26469706673582212207f5a1fe86f0be6895b7ea9d9f453708fdda79bb8e8ea71c4eec4a91f4191d4b264736f6c63430008140033",
|
|
772
|
+
"linkReferences": {},
|
|
773
|
+
"deployedLinkReferences": {}
|
|
774
|
+
}
|