@venusprotocol/oracle 1.10.0-dev.3 → 1.10.0-dev.5
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/README.md +2 -2
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.dbg.json +1 -1
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +1 -1
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
- package/artifacts/build-info/cdd56e5e725d884c2b45e24d2c35e787.json +1 -0
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +1 -1
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +1 -1
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/WstETHOracle.sol/WstETHOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +1 -1
- package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.dbg.json +1 -1
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +1 -1
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +1 -1
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +1 -1
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +1 -1
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +1 -1
- package/deployments/bscmainnet/solcInputs/aae9f1601b873a5a4704ede73ede10cb.json +0 -3
- package/deployments/bscmainnet/solcInputs/d647123072ba05451b756817f39951df.json +0 -6
- package/deployments/bscmainnet.json +0 -1560
- package/deployments/bscmainnet_addresses.json +1 -4
- package/deployments/bsctestnet/solcInputs/131f58942628e21632de19506977a910.json +0 -3
- package/deployments/bsctestnet/solcInputs/d647123072ba05451b756817f39951df.json +0 -6
- package/deployments/bsctestnet.json +0 -1560
- package/deployments/bsctestnet_addresses.json +1 -4
- package/deployments/ethereum/solcInputs/2675f6933965af498101c80cb5610aca.json +0 -6
- package/deployments/ethereum/solcInputs/61a63fbc062c2591c6768138f59373e1.json +0 -6
- package/deployments/opbnbmainnet/solcInputs/1e37f6e5d619feb70cefe47611ec524e.json +0 -6
- package/deployments/opbnbtestnet/solcInputs/3c996a10e894dc6fe519573ed39fc60f.json +0 -6
- package/deployments/sepolia/solcInputs/61a63fbc062c2591c6768138f59373e1.json +0 -6
- package/deployments/sepolia/solcInputs/f5d4d6aee7a4e630f36ae4eef8377cf3.json +0 -6
- package/dist/deploy/1-deploy-oracles.d.ts.map +1 -1
- package/dist/deploy/1-deploy-oracles.js +0 -24
- package/dist/deploy/1-deploy-oracles.js.map +1 -1
- package/dist/deploy/3-vip-based-configuration.d.ts.map +1 -1
- package/dist/deploy/3-vip-based-configuration.js +0 -1
- package/dist/deploy/3-vip-based-configuration.js.map +1 -1
- package/dist/typechain-types/contracts/index.d.ts +0 -2
- package/dist/typechain-types/contracts/index.d.ts.map +1 -1
- package/dist/typechain-types/contracts/oracles/index.d.ts +0 -1
- package/dist/typechain-types/contracts/oracles/index.d.ts.map +1 -1
- package/dist/typechain-types/contracts/oracles/mocks/index.d.ts +0 -1
- package/dist/typechain-types/contracts/oracles/mocks/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/index.d.ts +0 -1
- package/dist/typechain-types/factories/contracts/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/index.js +1 -2
- package/dist/typechain-types/factories/contracts/index.js.map +1 -1
- package/dist/typechain-types/factories/contracts/oracles/index.d.ts +0 -1
- package/dist/typechain-types/factories/contracts/oracles/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/oracles/index.js +1 -3
- package/dist/typechain-types/factories/contracts/oracles/index.js.map +1 -1
- package/dist/typechain-types/factories/contracts/oracles/mocks/index.d.ts +0 -1
- package/dist/typechain-types/factories/contracts/oracles/mocks/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/oracles/mocks/index.js +1 -3
- package/dist/typechain-types/factories/contracts/oracles/mocks/index.js.map +1 -1
- package/dist/typechain-types/index.d.ts +0 -6
- package/dist/typechain-types/index.d.ts.map +1 -1
- package/dist/typechain-types/index.js +1 -8
- package/dist/typechain-types/index.js.map +1 -1
- package/package.json +1 -1
- package/artifacts/build-info/1f32e9df7d74fc5f6586169f27f8b186.json +0 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.json +0 -10
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.json +0 -60
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.json +0 -10
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +0 -640
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.json +0 -163
- package/contracts/libraries/PancakeLibrary.sol +0 -68
- package/contracts/oracles/TwapOracle.sol +0 -300
- package/contracts/oracles/mocks/MockTwapOracle.sol +0 -30
- package/deployments/bscmainnet/TwapOracle.json +0 -887
- package/deployments/bscmainnet/TwapOracle_Implementation.json +0 -1111
- package/deployments/bscmainnet/TwapOracle_Proxy.json +0 -251
- package/deployments/bsctestnet/TwapOracle.json +0 -887
- package/deployments/bsctestnet/TwapOracle_Implementation.json +0 -1111
- package/deployments/bsctestnet/TwapOracle_Proxy.json +0 -251
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/IPancakePair.d.ts +0 -83
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/IPancakePair.d.ts.map +0 -1
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/IPancakePair.js +0 -3
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/IPancakePair.js.map +0 -1
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/index.d.ts +0 -2
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/index.d.ts.map +0 -1
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/index.js +0 -3
- package/dist/typechain-types/contracts/libraries/PancakeLibrary.sol/index.js.map +0 -1
- package/dist/typechain-types/contracts/libraries/index.d.ts +0 -3
- package/dist/typechain-types/contracts/libraries/index.d.ts.map +0 -1
- package/dist/typechain-types/contracts/libraries/index.js +0 -3
- package/dist/typechain-types/contracts/libraries/index.js.map +0 -1
- package/dist/typechain-types/contracts/oracles/TwapOracle.d.ts +0 -450
- package/dist/typechain-types/contracts/oracles/TwapOracle.d.ts.map +0 -1
- package/dist/typechain-types/contracts/oracles/TwapOracle.js +0 -3
- package/dist/typechain-types/contracts/oracles/TwapOracle.js.map +0 -1
- package/dist/typechain-types/contracts/oracles/mocks/MockTwapOracle.d.ts +0 -155
- package/dist/typechain-types/contracts/oracles/mocks/MockTwapOracle.d.ts.map +0 -1
- package/dist/typechain-types/contracts/oracles/mocks/MockTwapOracle.js +0 -3
- package/dist/typechain-types/contracts/oracles/mocks/MockTwapOracle.js.map +0 -1
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/IPancakePair__factory.d.ts +0 -47
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/IPancakePair__factory.d.ts.map +0 -1
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/IPancakePair__factory.js +0 -66
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/IPancakePair__factory.js.map +0 -1
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/index.d.ts +0 -2
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/index.d.ts.map +0 -1
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/index.js +0 -6
- package/dist/typechain-types/factories/contracts/libraries/PancakeLibrary.sol/index.js.map +0 -1
- package/dist/typechain-types/factories/contracts/libraries/index.d.ts +0 -2
- package/dist/typechain-types/factories/contracts/libraries/index.d.ts.map +0 -1
- package/dist/typechain-types/factories/contracts/libraries/index.js +0 -28
- package/dist/typechain-types/factories/contracts/libraries/index.js.map +0 -1
- package/dist/typechain-types/factories/contracts/oracles/TwapOracle__factory.d.ts +0 -509
- package/dist/typechain-types/factories/contracts/oracles/TwapOracle__factory.d.ts.map +0 -1
- package/dist/typechain-types/factories/contracts/oracles/TwapOracle__factory.js +0 -669
- package/dist/typechain-types/factories/contracts/oracles/TwapOracle__factory.js.map +0 -1
- package/dist/typechain-types/factories/contracts/oracles/mocks/MockTwapOracle__factory.d.ts +0 -139
- package/dist/typechain-types/factories/contracts/oracles/mocks/MockTwapOracle__factory.d.ts.map +0 -1
- package/dist/typechain-types/factories/contracts/oracles/mocks/MockTwapOracle__factory.js +0 -192
- package/dist/typechain-types/factories/contracts/oracles/mocks/MockTwapOracle__factory.js.map +0 -1
|
@@ -6968,1566 +6968,6 @@
|
|
|
6968
6968
|
"type": "receive"
|
|
6969
6969
|
}
|
|
6970
6970
|
]
|
|
6971
|
-
},
|
|
6972
|
-
"TwapOracle": {
|
|
6973
|
-
"address": "0xea2f042e1A4f057EF8A5220e57733AD747ea8867",
|
|
6974
|
-
"abi": [
|
|
6975
|
-
{
|
|
6976
|
-
"anonymous": false,
|
|
6977
|
-
"inputs": [
|
|
6978
|
-
{
|
|
6979
|
-
"indexed": false,
|
|
6980
|
-
"internalType": "address",
|
|
6981
|
-
"name": "previousAdmin",
|
|
6982
|
-
"type": "address"
|
|
6983
|
-
},
|
|
6984
|
-
{
|
|
6985
|
-
"indexed": false,
|
|
6986
|
-
"internalType": "address",
|
|
6987
|
-
"name": "newAdmin",
|
|
6988
|
-
"type": "address"
|
|
6989
|
-
}
|
|
6990
|
-
],
|
|
6991
|
-
"name": "AdminChanged",
|
|
6992
|
-
"type": "event"
|
|
6993
|
-
},
|
|
6994
|
-
{
|
|
6995
|
-
"anonymous": false,
|
|
6996
|
-
"inputs": [
|
|
6997
|
-
{
|
|
6998
|
-
"indexed": true,
|
|
6999
|
-
"internalType": "address",
|
|
7000
|
-
"name": "beacon",
|
|
7001
|
-
"type": "address"
|
|
7002
|
-
}
|
|
7003
|
-
],
|
|
7004
|
-
"name": "BeaconUpgraded",
|
|
7005
|
-
"type": "event"
|
|
7006
|
-
},
|
|
7007
|
-
{
|
|
7008
|
-
"anonymous": false,
|
|
7009
|
-
"inputs": [
|
|
7010
|
-
{
|
|
7011
|
-
"indexed": true,
|
|
7012
|
-
"internalType": "address",
|
|
7013
|
-
"name": "implementation",
|
|
7014
|
-
"type": "address"
|
|
7015
|
-
}
|
|
7016
|
-
],
|
|
7017
|
-
"name": "Upgraded",
|
|
7018
|
-
"type": "event"
|
|
7019
|
-
},
|
|
7020
|
-
{
|
|
7021
|
-
"stateMutability": "payable",
|
|
7022
|
-
"type": "fallback"
|
|
7023
|
-
},
|
|
7024
|
-
{
|
|
7025
|
-
"inputs": [],
|
|
7026
|
-
"name": "admin",
|
|
7027
|
-
"outputs": [
|
|
7028
|
-
{
|
|
7029
|
-
"internalType": "address",
|
|
7030
|
-
"name": "admin_",
|
|
7031
|
-
"type": "address"
|
|
7032
|
-
}
|
|
7033
|
-
],
|
|
7034
|
-
"stateMutability": "nonpayable",
|
|
7035
|
-
"type": "function"
|
|
7036
|
-
},
|
|
7037
|
-
{
|
|
7038
|
-
"inputs": [],
|
|
7039
|
-
"name": "implementation",
|
|
7040
|
-
"outputs": [
|
|
7041
|
-
{
|
|
7042
|
-
"internalType": "address",
|
|
7043
|
-
"name": "implementation_",
|
|
7044
|
-
"type": "address"
|
|
7045
|
-
}
|
|
7046
|
-
],
|
|
7047
|
-
"stateMutability": "nonpayable",
|
|
7048
|
-
"type": "function"
|
|
7049
|
-
},
|
|
7050
|
-
{
|
|
7051
|
-
"inputs": [
|
|
7052
|
-
{
|
|
7053
|
-
"internalType": "address",
|
|
7054
|
-
"name": "newImplementation",
|
|
7055
|
-
"type": "address"
|
|
7056
|
-
}
|
|
7057
|
-
],
|
|
7058
|
-
"name": "upgradeTo",
|
|
7059
|
-
"outputs": [],
|
|
7060
|
-
"stateMutability": "nonpayable",
|
|
7061
|
-
"type": "function"
|
|
7062
|
-
},
|
|
7063
|
-
{
|
|
7064
|
-
"inputs": [
|
|
7065
|
-
{
|
|
7066
|
-
"internalType": "address",
|
|
7067
|
-
"name": "newImplementation",
|
|
7068
|
-
"type": "address"
|
|
7069
|
-
},
|
|
7070
|
-
{
|
|
7071
|
-
"internalType": "bytes",
|
|
7072
|
-
"name": "data",
|
|
7073
|
-
"type": "bytes"
|
|
7074
|
-
}
|
|
7075
|
-
],
|
|
7076
|
-
"name": "upgradeToAndCall",
|
|
7077
|
-
"outputs": [],
|
|
7078
|
-
"stateMutability": "payable",
|
|
7079
|
-
"type": "function"
|
|
7080
|
-
},
|
|
7081
|
-
{
|
|
7082
|
-
"stateMutability": "payable",
|
|
7083
|
-
"type": "receive"
|
|
7084
|
-
},
|
|
7085
|
-
{
|
|
7086
|
-
"inputs": [
|
|
7087
|
-
{
|
|
7088
|
-
"internalType": "address",
|
|
7089
|
-
"name": "sender",
|
|
7090
|
-
"type": "address"
|
|
7091
|
-
},
|
|
7092
|
-
{
|
|
7093
|
-
"internalType": "address",
|
|
7094
|
-
"name": "calledContract",
|
|
7095
|
-
"type": "address"
|
|
7096
|
-
},
|
|
7097
|
-
{
|
|
7098
|
-
"internalType": "string",
|
|
7099
|
-
"name": "methodSignature",
|
|
7100
|
-
"type": "string"
|
|
7101
|
-
}
|
|
7102
|
-
],
|
|
7103
|
-
"name": "Unauthorized",
|
|
7104
|
-
"type": "error"
|
|
7105
|
-
},
|
|
7106
|
-
{
|
|
7107
|
-
"anonymous": false,
|
|
7108
|
-
"inputs": [
|
|
7109
|
-
{
|
|
7110
|
-
"indexed": true,
|
|
7111
|
-
"internalType": "address",
|
|
7112
|
-
"name": "asset",
|
|
7113
|
-
"type": "address"
|
|
7114
|
-
},
|
|
7115
|
-
{
|
|
7116
|
-
"indexed": false,
|
|
7117
|
-
"internalType": "uint256",
|
|
7118
|
-
"name": "price",
|
|
7119
|
-
"type": "uint256"
|
|
7120
|
-
},
|
|
7121
|
-
{
|
|
7122
|
-
"indexed": false,
|
|
7123
|
-
"internalType": "uint256",
|
|
7124
|
-
"name": "oldTimestamp",
|
|
7125
|
-
"type": "uint256"
|
|
7126
|
-
},
|
|
7127
|
-
{
|
|
7128
|
-
"indexed": false,
|
|
7129
|
-
"internalType": "uint256",
|
|
7130
|
-
"name": "newTimestamp",
|
|
7131
|
-
"type": "uint256"
|
|
7132
|
-
}
|
|
7133
|
-
],
|
|
7134
|
-
"name": "AnchorPriceUpdated",
|
|
7135
|
-
"type": "event"
|
|
7136
|
-
},
|
|
7137
|
-
{
|
|
7138
|
-
"anonymous": false,
|
|
7139
|
-
"inputs": [
|
|
7140
|
-
{
|
|
7141
|
-
"indexed": false,
|
|
7142
|
-
"internalType": "uint8",
|
|
7143
|
-
"name": "version",
|
|
7144
|
-
"type": "uint8"
|
|
7145
|
-
}
|
|
7146
|
-
],
|
|
7147
|
-
"name": "Initialized",
|
|
7148
|
-
"type": "event"
|
|
7149
|
-
},
|
|
7150
|
-
{
|
|
7151
|
-
"anonymous": false,
|
|
7152
|
-
"inputs": [
|
|
7153
|
-
{
|
|
7154
|
-
"indexed": false,
|
|
7155
|
-
"internalType": "address",
|
|
7156
|
-
"name": "oldAccessControlManager",
|
|
7157
|
-
"type": "address"
|
|
7158
|
-
},
|
|
7159
|
-
{
|
|
7160
|
-
"indexed": false,
|
|
7161
|
-
"internalType": "address",
|
|
7162
|
-
"name": "newAccessControlManager",
|
|
7163
|
-
"type": "address"
|
|
7164
|
-
}
|
|
7165
|
-
],
|
|
7166
|
-
"name": "NewAccessControlManager",
|
|
7167
|
-
"type": "event"
|
|
7168
|
-
},
|
|
7169
|
-
{
|
|
7170
|
-
"anonymous": false,
|
|
7171
|
-
"inputs": [
|
|
7172
|
-
{
|
|
7173
|
-
"indexed": true,
|
|
7174
|
-
"internalType": "address",
|
|
7175
|
-
"name": "previousOwner",
|
|
7176
|
-
"type": "address"
|
|
7177
|
-
},
|
|
7178
|
-
{
|
|
7179
|
-
"indexed": true,
|
|
7180
|
-
"internalType": "address",
|
|
7181
|
-
"name": "newOwner",
|
|
7182
|
-
"type": "address"
|
|
7183
|
-
}
|
|
7184
|
-
],
|
|
7185
|
-
"name": "OwnershipTransferStarted",
|
|
7186
|
-
"type": "event"
|
|
7187
|
-
},
|
|
7188
|
-
{
|
|
7189
|
-
"anonymous": false,
|
|
7190
|
-
"inputs": [
|
|
7191
|
-
{
|
|
7192
|
-
"indexed": true,
|
|
7193
|
-
"internalType": "address",
|
|
7194
|
-
"name": "previousOwner",
|
|
7195
|
-
"type": "address"
|
|
7196
|
-
},
|
|
7197
|
-
{
|
|
7198
|
-
"indexed": true,
|
|
7199
|
-
"internalType": "address",
|
|
7200
|
-
"name": "newOwner",
|
|
7201
|
-
"type": "address"
|
|
7202
|
-
}
|
|
7203
|
-
],
|
|
7204
|
-
"name": "OwnershipTransferred",
|
|
7205
|
-
"type": "event"
|
|
7206
|
-
},
|
|
7207
|
-
{
|
|
7208
|
-
"anonymous": false,
|
|
7209
|
-
"inputs": [
|
|
7210
|
-
{
|
|
7211
|
-
"indexed": true,
|
|
7212
|
-
"internalType": "address",
|
|
7213
|
-
"name": "asset",
|
|
7214
|
-
"type": "address"
|
|
7215
|
-
},
|
|
7216
|
-
{
|
|
7217
|
-
"indexed": true,
|
|
7218
|
-
"internalType": "address",
|
|
7219
|
-
"name": "pancakePool",
|
|
7220
|
-
"type": "address"
|
|
7221
|
-
},
|
|
7222
|
-
{
|
|
7223
|
-
"indexed": true,
|
|
7224
|
-
"internalType": "uint256",
|
|
7225
|
-
"name": "anchorPeriod",
|
|
7226
|
-
"type": "uint256"
|
|
7227
|
-
}
|
|
7228
|
-
],
|
|
7229
|
-
"name": "TokenConfigAdded",
|
|
7230
|
-
"type": "event"
|
|
7231
|
-
},
|
|
7232
|
-
{
|
|
7233
|
-
"anonymous": false,
|
|
7234
|
-
"inputs": [
|
|
7235
|
-
{
|
|
7236
|
-
"indexed": true,
|
|
7237
|
-
"internalType": "address",
|
|
7238
|
-
"name": "asset",
|
|
7239
|
-
"type": "address"
|
|
7240
|
-
},
|
|
7241
|
-
{
|
|
7242
|
-
"indexed": false,
|
|
7243
|
-
"internalType": "uint256",
|
|
7244
|
-
"name": "oldTimestamp",
|
|
7245
|
-
"type": "uint256"
|
|
7246
|
-
},
|
|
7247
|
-
{
|
|
7248
|
-
"indexed": false,
|
|
7249
|
-
"internalType": "uint256",
|
|
7250
|
-
"name": "oldAcc",
|
|
7251
|
-
"type": "uint256"
|
|
7252
|
-
},
|
|
7253
|
-
{
|
|
7254
|
-
"indexed": false,
|
|
7255
|
-
"internalType": "uint256",
|
|
7256
|
-
"name": "newTimestamp",
|
|
7257
|
-
"type": "uint256"
|
|
7258
|
-
},
|
|
7259
|
-
{
|
|
7260
|
-
"indexed": false,
|
|
7261
|
-
"internalType": "uint256",
|
|
7262
|
-
"name": "newAcc",
|
|
7263
|
-
"type": "uint256"
|
|
7264
|
-
}
|
|
7265
|
-
],
|
|
7266
|
-
"name": "TwapWindowUpdated",
|
|
7267
|
-
"type": "event"
|
|
7268
|
-
},
|
|
7269
|
-
{
|
|
7270
|
-
"inputs": [],
|
|
7271
|
-
"name": "BNB_BASE_UNIT",
|
|
7272
|
-
"outputs": [
|
|
7273
|
-
{
|
|
7274
|
-
"internalType": "uint256",
|
|
7275
|
-
"name": "",
|
|
7276
|
-
"type": "uint256"
|
|
7277
|
-
}
|
|
7278
|
-
],
|
|
7279
|
-
"stateMutability": "view",
|
|
7280
|
-
"type": "function"
|
|
7281
|
-
},
|
|
7282
|
-
{
|
|
7283
|
-
"inputs": [],
|
|
7284
|
-
"name": "BUSD_BASE_UNIT",
|
|
7285
|
-
"outputs": [
|
|
7286
|
-
{
|
|
7287
|
-
"internalType": "uint256",
|
|
7288
|
-
"name": "",
|
|
7289
|
-
"type": "uint256"
|
|
7290
|
-
}
|
|
7291
|
-
],
|
|
7292
|
-
"stateMutability": "view",
|
|
7293
|
-
"type": "function"
|
|
7294
|
-
},
|
|
7295
|
-
{
|
|
7296
|
-
"inputs": [],
|
|
7297
|
-
"name": "WBNB",
|
|
7298
|
-
"outputs": [
|
|
7299
|
-
{
|
|
7300
|
-
"internalType": "address",
|
|
7301
|
-
"name": "",
|
|
7302
|
-
"type": "address"
|
|
7303
|
-
}
|
|
7304
|
-
],
|
|
7305
|
-
"stateMutability": "view",
|
|
7306
|
-
"type": "function"
|
|
7307
|
-
},
|
|
7308
|
-
{
|
|
7309
|
-
"inputs": [],
|
|
7310
|
-
"name": "acceptOwnership",
|
|
7311
|
-
"outputs": [],
|
|
7312
|
-
"stateMutability": "nonpayable",
|
|
7313
|
-
"type": "function"
|
|
7314
|
-
},
|
|
7315
|
-
{
|
|
7316
|
-
"inputs": [],
|
|
7317
|
-
"name": "accessControlManager",
|
|
7318
|
-
"outputs": [
|
|
7319
|
-
{
|
|
7320
|
-
"internalType": "contract IAccessControlManagerV8",
|
|
7321
|
-
"name": "",
|
|
7322
|
-
"type": "address"
|
|
7323
|
-
}
|
|
7324
|
-
],
|
|
7325
|
-
"stateMutability": "view",
|
|
7326
|
-
"type": "function"
|
|
7327
|
-
},
|
|
7328
|
-
{
|
|
7329
|
-
"inputs": [
|
|
7330
|
-
{
|
|
7331
|
-
"components": [
|
|
7332
|
-
{
|
|
7333
|
-
"internalType": "address",
|
|
7334
|
-
"name": "asset",
|
|
7335
|
-
"type": "address"
|
|
7336
|
-
},
|
|
7337
|
-
{
|
|
7338
|
-
"internalType": "uint256",
|
|
7339
|
-
"name": "baseUnit",
|
|
7340
|
-
"type": "uint256"
|
|
7341
|
-
},
|
|
7342
|
-
{
|
|
7343
|
-
"internalType": "address",
|
|
7344
|
-
"name": "pancakePool",
|
|
7345
|
-
"type": "address"
|
|
7346
|
-
},
|
|
7347
|
-
{
|
|
7348
|
-
"internalType": "bool",
|
|
7349
|
-
"name": "isBnbBased",
|
|
7350
|
-
"type": "bool"
|
|
7351
|
-
},
|
|
7352
|
-
{
|
|
7353
|
-
"internalType": "bool",
|
|
7354
|
-
"name": "isReversedPool",
|
|
7355
|
-
"type": "bool"
|
|
7356
|
-
},
|
|
7357
|
-
{
|
|
7358
|
-
"internalType": "uint256",
|
|
7359
|
-
"name": "anchorPeriod",
|
|
7360
|
-
"type": "uint256"
|
|
7361
|
-
}
|
|
7362
|
-
],
|
|
7363
|
-
"internalType": "struct TwapOracle.TokenConfig",
|
|
7364
|
-
"name": "config",
|
|
7365
|
-
"type": "tuple"
|
|
7366
|
-
}
|
|
7367
|
-
],
|
|
7368
|
-
"name": "currentCumulativePrice",
|
|
7369
|
-
"outputs": [
|
|
7370
|
-
{
|
|
7371
|
-
"internalType": "uint256",
|
|
7372
|
-
"name": "",
|
|
7373
|
-
"type": "uint256"
|
|
7374
|
-
}
|
|
7375
|
-
],
|
|
7376
|
-
"stateMutability": "view",
|
|
7377
|
-
"type": "function"
|
|
7378
|
-
},
|
|
7379
|
-
{
|
|
7380
|
-
"inputs": [
|
|
7381
|
-
{
|
|
7382
|
-
"internalType": "address",
|
|
7383
|
-
"name": "vToken",
|
|
7384
|
-
"type": "address"
|
|
7385
|
-
}
|
|
7386
|
-
],
|
|
7387
|
-
"name": "getUnderlyingPrice",
|
|
7388
|
-
"outputs": [
|
|
7389
|
-
{
|
|
7390
|
-
"internalType": "uint256",
|
|
7391
|
-
"name": "",
|
|
7392
|
-
"type": "uint256"
|
|
7393
|
-
}
|
|
7394
|
-
],
|
|
7395
|
-
"stateMutability": "view",
|
|
7396
|
-
"type": "function"
|
|
7397
|
-
},
|
|
7398
|
-
{
|
|
7399
|
-
"inputs": [
|
|
7400
|
-
{
|
|
7401
|
-
"internalType": "address",
|
|
7402
|
-
"name": "accessControlManager_",
|
|
7403
|
-
"type": "address"
|
|
7404
|
-
}
|
|
7405
|
-
],
|
|
7406
|
-
"name": "initialize",
|
|
7407
|
-
"outputs": [],
|
|
7408
|
-
"stateMutability": "nonpayable",
|
|
7409
|
-
"type": "function"
|
|
7410
|
-
},
|
|
7411
|
-
{
|
|
7412
|
-
"inputs": [
|
|
7413
|
-
{
|
|
7414
|
-
"internalType": "address",
|
|
7415
|
-
"name": "",
|
|
7416
|
-
"type": "address"
|
|
7417
|
-
},
|
|
7418
|
-
{
|
|
7419
|
-
"internalType": "uint256",
|
|
7420
|
-
"name": "",
|
|
7421
|
-
"type": "uint256"
|
|
7422
|
-
}
|
|
7423
|
-
],
|
|
7424
|
-
"name": "observations",
|
|
7425
|
-
"outputs": [
|
|
7426
|
-
{
|
|
7427
|
-
"internalType": "uint256",
|
|
7428
|
-
"name": "timestamp",
|
|
7429
|
-
"type": "uint256"
|
|
7430
|
-
},
|
|
7431
|
-
{
|
|
7432
|
-
"internalType": "uint256",
|
|
7433
|
-
"name": "acc",
|
|
7434
|
-
"type": "uint256"
|
|
7435
|
-
}
|
|
7436
|
-
],
|
|
7437
|
-
"stateMutability": "view",
|
|
7438
|
-
"type": "function"
|
|
7439
|
-
},
|
|
7440
|
-
{
|
|
7441
|
-
"inputs": [],
|
|
7442
|
-
"name": "owner",
|
|
7443
|
-
"outputs": [
|
|
7444
|
-
{
|
|
7445
|
-
"internalType": "address",
|
|
7446
|
-
"name": "",
|
|
7447
|
-
"type": "address"
|
|
7448
|
-
}
|
|
7449
|
-
],
|
|
7450
|
-
"stateMutability": "view",
|
|
7451
|
-
"type": "function"
|
|
7452
|
-
},
|
|
7453
|
-
{
|
|
7454
|
-
"inputs": [],
|
|
7455
|
-
"name": "pendingOwner",
|
|
7456
|
-
"outputs": [
|
|
7457
|
-
{
|
|
7458
|
-
"internalType": "address",
|
|
7459
|
-
"name": "",
|
|
7460
|
-
"type": "address"
|
|
7461
|
-
}
|
|
7462
|
-
],
|
|
7463
|
-
"stateMutability": "view",
|
|
7464
|
-
"type": "function"
|
|
7465
|
-
},
|
|
7466
|
-
{
|
|
7467
|
-
"inputs": [
|
|
7468
|
-
{
|
|
7469
|
-
"internalType": "address",
|
|
7470
|
-
"name": "",
|
|
7471
|
-
"type": "address"
|
|
7472
|
-
}
|
|
7473
|
-
],
|
|
7474
|
-
"name": "prices",
|
|
7475
|
-
"outputs": [
|
|
7476
|
-
{
|
|
7477
|
-
"internalType": "uint256",
|
|
7478
|
-
"name": "",
|
|
7479
|
-
"type": "uint256"
|
|
7480
|
-
}
|
|
7481
|
-
],
|
|
7482
|
-
"stateMutability": "view",
|
|
7483
|
-
"type": "function"
|
|
7484
|
-
},
|
|
7485
|
-
{
|
|
7486
|
-
"inputs": [],
|
|
7487
|
-
"name": "renounceOwnership",
|
|
7488
|
-
"outputs": [],
|
|
7489
|
-
"stateMutability": "nonpayable",
|
|
7490
|
-
"type": "function"
|
|
7491
|
-
},
|
|
7492
|
-
{
|
|
7493
|
-
"inputs": [
|
|
7494
|
-
{
|
|
7495
|
-
"internalType": "address",
|
|
7496
|
-
"name": "accessControlManager_",
|
|
7497
|
-
"type": "address"
|
|
7498
|
-
}
|
|
7499
|
-
],
|
|
7500
|
-
"name": "setAccessControlManager",
|
|
7501
|
-
"outputs": [],
|
|
7502
|
-
"stateMutability": "nonpayable",
|
|
7503
|
-
"type": "function"
|
|
7504
|
-
},
|
|
7505
|
-
{
|
|
7506
|
-
"inputs": [
|
|
7507
|
-
{
|
|
7508
|
-
"components": [
|
|
7509
|
-
{
|
|
7510
|
-
"internalType": "address",
|
|
7511
|
-
"name": "asset",
|
|
7512
|
-
"type": "address"
|
|
7513
|
-
},
|
|
7514
|
-
{
|
|
7515
|
-
"internalType": "uint256",
|
|
7516
|
-
"name": "baseUnit",
|
|
7517
|
-
"type": "uint256"
|
|
7518
|
-
},
|
|
7519
|
-
{
|
|
7520
|
-
"internalType": "address",
|
|
7521
|
-
"name": "pancakePool",
|
|
7522
|
-
"type": "address"
|
|
7523
|
-
},
|
|
7524
|
-
{
|
|
7525
|
-
"internalType": "bool",
|
|
7526
|
-
"name": "isBnbBased",
|
|
7527
|
-
"type": "bool"
|
|
7528
|
-
},
|
|
7529
|
-
{
|
|
7530
|
-
"internalType": "bool",
|
|
7531
|
-
"name": "isReversedPool",
|
|
7532
|
-
"type": "bool"
|
|
7533
|
-
},
|
|
7534
|
-
{
|
|
7535
|
-
"internalType": "uint256",
|
|
7536
|
-
"name": "anchorPeriod",
|
|
7537
|
-
"type": "uint256"
|
|
7538
|
-
}
|
|
7539
|
-
],
|
|
7540
|
-
"internalType": "struct TwapOracle.TokenConfig",
|
|
7541
|
-
"name": "config",
|
|
7542
|
-
"type": "tuple"
|
|
7543
|
-
}
|
|
7544
|
-
],
|
|
7545
|
-
"name": "setTokenConfig",
|
|
7546
|
-
"outputs": [],
|
|
7547
|
-
"stateMutability": "nonpayable",
|
|
7548
|
-
"type": "function"
|
|
7549
|
-
},
|
|
7550
|
-
{
|
|
7551
|
-
"inputs": [
|
|
7552
|
-
{
|
|
7553
|
-
"components": [
|
|
7554
|
-
{
|
|
7555
|
-
"internalType": "address",
|
|
7556
|
-
"name": "asset",
|
|
7557
|
-
"type": "address"
|
|
7558
|
-
},
|
|
7559
|
-
{
|
|
7560
|
-
"internalType": "uint256",
|
|
7561
|
-
"name": "baseUnit",
|
|
7562
|
-
"type": "uint256"
|
|
7563
|
-
},
|
|
7564
|
-
{
|
|
7565
|
-
"internalType": "address",
|
|
7566
|
-
"name": "pancakePool",
|
|
7567
|
-
"type": "address"
|
|
7568
|
-
},
|
|
7569
|
-
{
|
|
7570
|
-
"internalType": "bool",
|
|
7571
|
-
"name": "isBnbBased",
|
|
7572
|
-
"type": "bool"
|
|
7573
|
-
},
|
|
7574
|
-
{
|
|
7575
|
-
"internalType": "bool",
|
|
7576
|
-
"name": "isReversedPool",
|
|
7577
|
-
"type": "bool"
|
|
7578
|
-
},
|
|
7579
|
-
{
|
|
7580
|
-
"internalType": "uint256",
|
|
7581
|
-
"name": "anchorPeriod",
|
|
7582
|
-
"type": "uint256"
|
|
7583
|
-
}
|
|
7584
|
-
],
|
|
7585
|
-
"internalType": "struct TwapOracle.TokenConfig[]",
|
|
7586
|
-
"name": "configs",
|
|
7587
|
-
"type": "tuple[]"
|
|
7588
|
-
}
|
|
7589
|
-
],
|
|
7590
|
-
"name": "setTokenConfigs",
|
|
7591
|
-
"outputs": [],
|
|
7592
|
-
"stateMutability": "nonpayable",
|
|
7593
|
-
"type": "function"
|
|
7594
|
-
},
|
|
7595
|
-
{
|
|
7596
|
-
"inputs": [
|
|
7597
|
-
{
|
|
7598
|
-
"internalType": "address",
|
|
7599
|
-
"name": "",
|
|
7600
|
-
"type": "address"
|
|
7601
|
-
}
|
|
7602
|
-
],
|
|
7603
|
-
"name": "tokenConfigs",
|
|
7604
|
-
"outputs": [
|
|
7605
|
-
{
|
|
7606
|
-
"internalType": "address",
|
|
7607
|
-
"name": "asset",
|
|
7608
|
-
"type": "address"
|
|
7609
|
-
},
|
|
7610
|
-
{
|
|
7611
|
-
"internalType": "uint256",
|
|
7612
|
-
"name": "baseUnit",
|
|
7613
|
-
"type": "uint256"
|
|
7614
|
-
},
|
|
7615
|
-
{
|
|
7616
|
-
"internalType": "address",
|
|
7617
|
-
"name": "pancakePool",
|
|
7618
|
-
"type": "address"
|
|
7619
|
-
},
|
|
7620
|
-
{
|
|
7621
|
-
"internalType": "bool",
|
|
7622
|
-
"name": "isBnbBased",
|
|
7623
|
-
"type": "bool"
|
|
7624
|
-
},
|
|
7625
|
-
{
|
|
7626
|
-
"internalType": "bool",
|
|
7627
|
-
"name": "isReversedPool",
|
|
7628
|
-
"type": "bool"
|
|
7629
|
-
},
|
|
7630
|
-
{
|
|
7631
|
-
"internalType": "uint256",
|
|
7632
|
-
"name": "anchorPeriod",
|
|
7633
|
-
"type": "uint256"
|
|
7634
|
-
}
|
|
7635
|
-
],
|
|
7636
|
-
"stateMutability": "view",
|
|
7637
|
-
"type": "function"
|
|
7638
|
-
},
|
|
7639
|
-
{
|
|
7640
|
-
"inputs": [
|
|
7641
|
-
{
|
|
7642
|
-
"internalType": "address",
|
|
7643
|
-
"name": "newOwner",
|
|
7644
|
-
"type": "address"
|
|
7645
|
-
}
|
|
7646
|
-
],
|
|
7647
|
-
"name": "transferOwnership",
|
|
7648
|
-
"outputs": [],
|
|
7649
|
-
"stateMutability": "nonpayable",
|
|
7650
|
-
"type": "function"
|
|
7651
|
-
},
|
|
7652
|
-
{
|
|
7653
|
-
"inputs": [
|
|
7654
|
-
{
|
|
7655
|
-
"internalType": "address",
|
|
7656
|
-
"name": "vToken",
|
|
7657
|
-
"type": "address"
|
|
7658
|
-
}
|
|
7659
|
-
],
|
|
7660
|
-
"name": "updateTwap",
|
|
7661
|
-
"outputs": [
|
|
7662
|
-
{
|
|
7663
|
-
"internalType": "uint256",
|
|
7664
|
-
"name": "",
|
|
7665
|
-
"type": "uint256"
|
|
7666
|
-
}
|
|
7667
|
-
],
|
|
7668
|
-
"stateMutability": "nonpayable",
|
|
7669
|
-
"type": "function"
|
|
7670
|
-
},
|
|
7671
|
-
{
|
|
7672
|
-
"inputs": [],
|
|
7673
|
-
"name": "vBnb",
|
|
7674
|
-
"outputs": [
|
|
7675
|
-
{
|
|
7676
|
-
"internalType": "address",
|
|
7677
|
-
"name": "",
|
|
7678
|
-
"type": "address"
|
|
7679
|
-
}
|
|
7680
|
-
],
|
|
7681
|
-
"stateMutability": "view",
|
|
7682
|
-
"type": "function"
|
|
7683
|
-
},
|
|
7684
|
-
{
|
|
7685
|
-
"inputs": [],
|
|
7686
|
-
"name": "vai",
|
|
7687
|
-
"outputs": [
|
|
7688
|
-
{
|
|
7689
|
-
"internalType": "address",
|
|
7690
|
-
"name": "",
|
|
7691
|
-
"type": "address"
|
|
7692
|
-
}
|
|
7693
|
-
],
|
|
7694
|
-
"stateMutability": "view",
|
|
7695
|
-
"type": "function"
|
|
7696
|
-
},
|
|
7697
|
-
{
|
|
7698
|
-
"inputs": [
|
|
7699
|
-
{
|
|
7700
|
-
"internalType": "address",
|
|
7701
|
-
"name": "",
|
|
7702
|
-
"type": "address"
|
|
7703
|
-
}
|
|
7704
|
-
],
|
|
7705
|
-
"name": "windowStart",
|
|
7706
|
-
"outputs": [
|
|
7707
|
-
{
|
|
7708
|
-
"internalType": "uint256",
|
|
7709
|
-
"name": "",
|
|
7710
|
-
"type": "uint256"
|
|
7711
|
-
}
|
|
7712
|
-
],
|
|
7713
|
-
"stateMutability": "view",
|
|
7714
|
-
"type": "function"
|
|
7715
|
-
},
|
|
7716
|
-
{
|
|
7717
|
-
"inputs": [
|
|
7718
|
-
{
|
|
7719
|
-
"internalType": "address",
|
|
7720
|
-
"name": "_logic",
|
|
7721
|
-
"type": "address"
|
|
7722
|
-
},
|
|
7723
|
-
{
|
|
7724
|
-
"internalType": "address",
|
|
7725
|
-
"name": "admin_",
|
|
7726
|
-
"type": "address"
|
|
7727
|
-
},
|
|
7728
|
-
{
|
|
7729
|
-
"internalType": "bytes",
|
|
7730
|
-
"name": "_data",
|
|
7731
|
-
"type": "bytes"
|
|
7732
|
-
}
|
|
7733
|
-
],
|
|
7734
|
-
"stateMutability": "payable",
|
|
7735
|
-
"type": "constructor"
|
|
7736
|
-
}
|
|
7737
|
-
]
|
|
7738
|
-
},
|
|
7739
|
-
"TwapOracle_Implementation": {
|
|
7740
|
-
"address": "0x67c549A18AbfAd127b13F8d56738F43A21bB62A7",
|
|
7741
|
-
"abi": [
|
|
7742
|
-
{
|
|
7743
|
-
"inputs": [
|
|
7744
|
-
{
|
|
7745
|
-
"internalType": "address",
|
|
7746
|
-
"name": "vBnbAddress",
|
|
7747
|
-
"type": "address"
|
|
7748
|
-
},
|
|
7749
|
-
{
|
|
7750
|
-
"internalType": "address",
|
|
7751
|
-
"name": "wBnbAddress",
|
|
7752
|
-
"type": "address"
|
|
7753
|
-
},
|
|
7754
|
-
{
|
|
7755
|
-
"internalType": "address",
|
|
7756
|
-
"name": "vaiAddress",
|
|
7757
|
-
"type": "address"
|
|
7758
|
-
}
|
|
7759
|
-
],
|
|
7760
|
-
"stateMutability": "nonpayable",
|
|
7761
|
-
"type": "constructor"
|
|
7762
|
-
},
|
|
7763
|
-
{
|
|
7764
|
-
"inputs": [
|
|
7765
|
-
{
|
|
7766
|
-
"internalType": "address",
|
|
7767
|
-
"name": "sender",
|
|
7768
|
-
"type": "address"
|
|
7769
|
-
},
|
|
7770
|
-
{
|
|
7771
|
-
"internalType": "address",
|
|
7772
|
-
"name": "calledContract",
|
|
7773
|
-
"type": "address"
|
|
7774
|
-
},
|
|
7775
|
-
{
|
|
7776
|
-
"internalType": "string",
|
|
7777
|
-
"name": "methodSignature",
|
|
7778
|
-
"type": "string"
|
|
7779
|
-
}
|
|
7780
|
-
],
|
|
7781
|
-
"name": "Unauthorized",
|
|
7782
|
-
"type": "error"
|
|
7783
|
-
},
|
|
7784
|
-
{
|
|
7785
|
-
"anonymous": false,
|
|
7786
|
-
"inputs": [
|
|
7787
|
-
{
|
|
7788
|
-
"indexed": true,
|
|
7789
|
-
"internalType": "address",
|
|
7790
|
-
"name": "asset",
|
|
7791
|
-
"type": "address"
|
|
7792
|
-
},
|
|
7793
|
-
{
|
|
7794
|
-
"indexed": false,
|
|
7795
|
-
"internalType": "uint256",
|
|
7796
|
-
"name": "price",
|
|
7797
|
-
"type": "uint256"
|
|
7798
|
-
},
|
|
7799
|
-
{
|
|
7800
|
-
"indexed": false,
|
|
7801
|
-
"internalType": "uint256",
|
|
7802
|
-
"name": "oldTimestamp",
|
|
7803
|
-
"type": "uint256"
|
|
7804
|
-
},
|
|
7805
|
-
{
|
|
7806
|
-
"indexed": false,
|
|
7807
|
-
"internalType": "uint256",
|
|
7808
|
-
"name": "newTimestamp",
|
|
7809
|
-
"type": "uint256"
|
|
7810
|
-
}
|
|
7811
|
-
],
|
|
7812
|
-
"name": "AnchorPriceUpdated",
|
|
7813
|
-
"type": "event"
|
|
7814
|
-
},
|
|
7815
|
-
{
|
|
7816
|
-
"anonymous": false,
|
|
7817
|
-
"inputs": [
|
|
7818
|
-
{
|
|
7819
|
-
"indexed": false,
|
|
7820
|
-
"internalType": "uint8",
|
|
7821
|
-
"name": "version",
|
|
7822
|
-
"type": "uint8"
|
|
7823
|
-
}
|
|
7824
|
-
],
|
|
7825
|
-
"name": "Initialized",
|
|
7826
|
-
"type": "event"
|
|
7827
|
-
},
|
|
7828
|
-
{
|
|
7829
|
-
"anonymous": false,
|
|
7830
|
-
"inputs": [
|
|
7831
|
-
{
|
|
7832
|
-
"indexed": false,
|
|
7833
|
-
"internalType": "address",
|
|
7834
|
-
"name": "oldAccessControlManager",
|
|
7835
|
-
"type": "address"
|
|
7836
|
-
},
|
|
7837
|
-
{
|
|
7838
|
-
"indexed": false,
|
|
7839
|
-
"internalType": "address",
|
|
7840
|
-
"name": "newAccessControlManager",
|
|
7841
|
-
"type": "address"
|
|
7842
|
-
}
|
|
7843
|
-
],
|
|
7844
|
-
"name": "NewAccessControlManager",
|
|
7845
|
-
"type": "event"
|
|
7846
|
-
},
|
|
7847
|
-
{
|
|
7848
|
-
"anonymous": false,
|
|
7849
|
-
"inputs": [
|
|
7850
|
-
{
|
|
7851
|
-
"indexed": true,
|
|
7852
|
-
"internalType": "address",
|
|
7853
|
-
"name": "previousOwner",
|
|
7854
|
-
"type": "address"
|
|
7855
|
-
},
|
|
7856
|
-
{
|
|
7857
|
-
"indexed": true,
|
|
7858
|
-
"internalType": "address",
|
|
7859
|
-
"name": "newOwner",
|
|
7860
|
-
"type": "address"
|
|
7861
|
-
}
|
|
7862
|
-
],
|
|
7863
|
-
"name": "OwnershipTransferStarted",
|
|
7864
|
-
"type": "event"
|
|
7865
|
-
},
|
|
7866
|
-
{
|
|
7867
|
-
"anonymous": false,
|
|
7868
|
-
"inputs": [
|
|
7869
|
-
{
|
|
7870
|
-
"indexed": true,
|
|
7871
|
-
"internalType": "address",
|
|
7872
|
-
"name": "previousOwner",
|
|
7873
|
-
"type": "address"
|
|
7874
|
-
},
|
|
7875
|
-
{
|
|
7876
|
-
"indexed": true,
|
|
7877
|
-
"internalType": "address",
|
|
7878
|
-
"name": "newOwner",
|
|
7879
|
-
"type": "address"
|
|
7880
|
-
}
|
|
7881
|
-
],
|
|
7882
|
-
"name": "OwnershipTransferred",
|
|
7883
|
-
"type": "event"
|
|
7884
|
-
},
|
|
7885
|
-
{
|
|
7886
|
-
"anonymous": false,
|
|
7887
|
-
"inputs": [
|
|
7888
|
-
{
|
|
7889
|
-
"indexed": true,
|
|
7890
|
-
"internalType": "address",
|
|
7891
|
-
"name": "asset",
|
|
7892
|
-
"type": "address"
|
|
7893
|
-
},
|
|
7894
|
-
{
|
|
7895
|
-
"indexed": true,
|
|
7896
|
-
"internalType": "address",
|
|
7897
|
-
"name": "pancakePool",
|
|
7898
|
-
"type": "address"
|
|
7899
|
-
},
|
|
7900
|
-
{
|
|
7901
|
-
"indexed": true,
|
|
7902
|
-
"internalType": "uint256",
|
|
7903
|
-
"name": "anchorPeriod",
|
|
7904
|
-
"type": "uint256"
|
|
7905
|
-
}
|
|
7906
|
-
],
|
|
7907
|
-
"name": "TokenConfigAdded",
|
|
7908
|
-
"type": "event"
|
|
7909
|
-
},
|
|
7910
|
-
{
|
|
7911
|
-
"anonymous": false,
|
|
7912
|
-
"inputs": [
|
|
7913
|
-
{
|
|
7914
|
-
"indexed": true,
|
|
7915
|
-
"internalType": "address",
|
|
7916
|
-
"name": "asset",
|
|
7917
|
-
"type": "address"
|
|
7918
|
-
},
|
|
7919
|
-
{
|
|
7920
|
-
"indexed": false,
|
|
7921
|
-
"internalType": "uint256",
|
|
7922
|
-
"name": "oldTimestamp",
|
|
7923
|
-
"type": "uint256"
|
|
7924
|
-
},
|
|
7925
|
-
{
|
|
7926
|
-
"indexed": false,
|
|
7927
|
-
"internalType": "uint256",
|
|
7928
|
-
"name": "oldAcc",
|
|
7929
|
-
"type": "uint256"
|
|
7930
|
-
},
|
|
7931
|
-
{
|
|
7932
|
-
"indexed": false,
|
|
7933
|
-
"internalType": "uint256",
|
|
7934
|
-
"name": "newTimestamp",
|
|
7935
|
-
"type": "uint256"
|
|
7936
|
-
},
|
|
7937
|
-
{
|
|
7938
|
-
"indexed": false,
|
|
7939
|
-
"internalType": "uint256",
|
|
7940
|
-
"name": "newAcc",
|
|
7941
|
-
"type": "uint256"
|
|
7942
|
-
}
|
|
7943
|
-
],
|
|
7944
|
-
"name": "TwapWindowUpdated",
|
|
7945
|
-
"type": "event"
|
|
7946
|
-
},
|
|
7947
|
-
{
|
|
7948
|
-
"inputs": [],
|
|
7949
|
-
"name": "BNB_BASE_UNIT",
|
|
7950
|
-
"outputs": [
|
|
7951
|
-
{
|
|
7952
|
-
"internalType": "uint256",
|
|
7953
|
-
"name": "",
|
|
7954
|
-
"type": "uint256"
|
|
7955
|
-
}
|
|
7956
|
-
],
|
|
7957
|
-
"stateMutability": "view",
|
|
7958
|
-
"type": "function"
|
|
7959
|
-
},
|
|
7960
|
-
{
|
|
7961
|
-
"inputs": [],
|
|
7962
|
-
"name": "BUSD_BASE_UNIT",
|
|
7963
|
-
"outputs": [
|
|
7964
|
-
{
|
|
7965
|
-
"internalType": "uint256",
|
|
7966
|
-
"name": "",
|
|
7967
|
-
"type": "uint256"
|
|
7968
|
-
}
|
|
7969
|
-
],
|
|
7970
|
-
"stateMutability": "view",
|
|
7971
|
-
"type": "function"
|
|
7972
|
-
},
|
|
7973
|
-
{
|
|
7974
|
-
"inputs": [],
|
|
7975
|
-
"name": "WBNB",
|
|
7976
|
-
"outputs": [
|
|
7977
|
-
{
|
|
7978
|
-
"internalType": "address",
|
|
7979
|
-
"name": "",
|
|
7980
|
-
"type": "address"
|
|
7981
|
-
}
|
|
7982
|
-
],
|
|
7983
|
-
"stateMutability": "view",
|
|
7984
|
-
"type": "function"
|
|
7985
|
-
},
|
|
7986
|
-
{
|
|
7987
|
-
"inputs": [],
|
|
7988
|
-
"name": "acceptOwnership",
|
|
7989
|
-
"outputs": [],
|
|
7990
|
-
"stateMutability": "nonpayable",
|
|
7991
|
-
"type": "function"
|
|
7992
|
-
},
|
|
7993
|
-
{
|
|
7994
|
-
"inputs": [],
|
|
7995
|
-
"name": "accessControlManager",
|
|
7996
|
-
"outputs": [
|
|
7997
|
-
{
|
|
7998
|
-
"internalType": "contract IAccessControlManagerV8",
|
|
7999
|
-
"name": "",
|
|
8000
|
-
"type": "address"
|
|
8001
|
-
}
|
|
8002
|
-
],
|
|
8003
|
-
"stateMutability": "view",
|
|
8004
|
-
"type": "function"
|
|
8005
|
-
},
|
|
8006
|
-
{
|
|
8007
|
-
"inputs": [
|
|
8008
|
-
{
|
|
8009
|
-
"components": [
|
|
8010
|
-
{
|
|
8011
|
-
"internalType": "address",
|
|
8012
|
-
"name": "asset",
|
|
8013
|
-
"type": "address"
|
|
8014
|
-
},
|
|
8015
|
-
{
|
|
8016
|
-
"internalType": "uint256",
|
|
8017
|
-
"name": "baseUnit",
|
|
8018
|
-
"type": "uint256"
|
|
8019
|
-
},
|
|
8020
|
-
{
|
|
8021
|
-
"internalType": "address",
|
|
8022
|
-
"name": "pancakePool",
|
|
8023
|
-
"type": "address"
|
|
8024
|
-
},
|
|
8025
|
-
{
|
|
8026
|
-
"internalType": "bool",
|
|
8027
|
-
"name": "isBnbBased",
|
|
8028
|
-
"type": "bool"
|
|
8029
|
-
},
|
|
8030
|
-
{
|
|
8031
|
-
"internalType": "bool",
|
|
8032
|
-
"name": "isReversedPool",
|
|
8033
|
-
"type": "bool"
|
|
8034
|
-
},
|
|
8035
|
-
{
|
|
8036
|
-
"internalType": "uint256",
|
|
8037
|
-
"name": "anchorPeriod",
|
|
8038
|
-
"type": "uint256"
|
|
8039
|
-
}
|
|
8040
|
-
],
|
|
8041
|
-
"internalType": "struct TwapOracle.TokenConfig",
|
|
8042
|
-
"name": "config",
|
|
8043
|
-
"type": "tuple"
|
|
8044
|
-
}
|
|
8045
|
-
],
|
|
8046
|
-
"name": "currentCumulativePrice",
|
|
8047
|
-
"outputs": [
|
|
8048
|
-
{
|
|
8049
|
-
"internalType": "uint256",
|
|
8050
|
-
"name": "",
|
|
8051
|
-
"type": "uint256"
|
|
8052
|
-
}
|
|
8053
|
-
],
|
|
8054
|
-
"stateMutability": "view",
|
|
8055
|
-
"type": "function"
|
|
8056
|
-
},
|
|
8057
|
-
{
|
|
8058
|
-
"inputs": [
|
|
8059
|
-
{
|
|
8060
|
-
"internalType": "address",
|
|
8061
|
-
"name": "vToken",
|
|
8062
|
-
"type": "address"
|
|
8063
|
-
}
|
|
8064
|
-
],
|
|
8065
|
-
"name": "getUnderlyingPrice",
|
|
8066
|
-
"outputs": [
|
|
8067
|
-
{
|
|
8068
|
-
"internalType": "uint256",
|
|
8069
|
-
"name": "",
|
|
8070
|
-
"type": "uint256"
|
|
8071
|
-
}
|
|
8072
|
-
],
|
|
8073
|
-
"stateMutability": "view",
|
|
8074
|
-
"type": "function"
|
|
8075
|
-
},
|
|
8076
|
-
{
|
|
8077
|
-
"inputs": [
|
|
8078
|
-
{
|
|
8079
|
-
"internalType": "address",
|
|
8080
|
-
"name": "accessControlManager_",
|
|
8081
|
-
"type": "address"
|
|
8082
|
-
}
|
|
8083
|
-
],
|
|
8084
|
-
"name": "initialize",
|
|
8085
|
-
"outputs": [],
|
|
8086
|
-
"stateMutability": "nonpayable",
|
|
8087
|
-
"type": "function"
|
|
8088
|
-
},
|
|
8089
|
-
{
|
|
8090
|
-
"inputs": [
|
|
8091
|
-
{
|
|
8092
|
-
"internalType": "address",
|
|
8093
|
-
"name": "",
|
|
8094
|
-
"type": "address"
|
|
8095
|
-
},
|
|
8096
|
-
{
|
|
8097
|
-
"internalType": "uint256",
|
|
8098
|
-
"name": "",
|
|
8099
|
-
"type": "uint256"
|
|
8100
|
-
}
|
|
8101
|
-
],
|
|
8102
|
-
"name": "observations",
|
|
8103
|
-
"outputs": [
|
|
8104
|
-
{
|
|
8105
|
-
"internalType": "uint256",
|
|
8106
|
-
"name": "timestamp",
|
|
8107
|
-
"type": "uint256"
|
|
8108
|
-
},
|
|
8109
|
-
{
|
|
8110
|
-
"internalType": "uint256",
|
|
8111
|
-
"name": "acc",
|
|
8112
|
-
"type": "uint256"
|
|
8113
|
-
}
|
|
8114
|
-
],
|
|
8115
|
-
"stateMutability": "view",
|
|
8116
|
-
"type": "function"
|
|
8117
|
-
},
|
|
8118
|
-
{
|
|
8119
|
-
"inputs": [],
|
|
8120
|
-
"name": "owner",
|
|
8121
|
-
"outputs": [
|
|
8122
|
-
{
|
|
8123
|
-
"internalType": "address",
|
|
8124
|
-
"name": "",
|
|
8125
|
-
"type": "address"
|
|
8126
|
-
}
|
|
8127
|
-
],
|
|
8128
|
-
"stateMutability": "view",
|
|
8129
|
-
"type": "function"
|
|
8130
|
-
},
|
|
8131
|
-
{
|
|
8132
|
-
"inputs": [],
|
|
8133
|
-
"name": "pendingOwner",
|
|
8134
|
-
"outputs": [
|
|
8135
|
-
{
|
|
8136
|
-
"internalType": "address",
|
|
8137
|
-
"name": "",
|
|
8138
|
-
"type": "address"
|
|
8139
|
-
}
|
|
8140
|
-
],
|
|
8141
|
-
"stateMutability": "view",
|
|
8142
|
-
"type": "function"
|
|
8143
|
-
},
|
|
8144
|
-
{
|
|
8145
|
-
"inputs": [
|
|
8146
|
-
{
|
|
8147
|
-
"internalType": "address",
|
|
8148
|
-
"name": "",
|
|
8149
|
-
"type": "address"
|
|
8150
|
-
}
|
|
8151
|
-
],
|
|
8152
|
-
"name": "prices",
|
|
8153
|
-
"outputs": [
|
|
8154
|
-
{
|
|
8155
|
-
"internalType": "uint256",
|
|
8156
|
-
"name": "",
|
|
8157
|
-
"type": "uint256"
|
|
8158
|
-
}
|
|
8159
|
-
],
|
|
8160
|
-
"stateMutability": "view",
|
|
8161
|
-
"type": "function"
|
|
8162
|
-
},
|
|
8163
|
-
{
|
|
8164
|
-
"inputs": [],
|
|
8165
|
-
"name": "renounceOwnership",
|
|
8166
|
-
"outputs": [],
|
|
8167
|
-
"stateMutability": "nonpayable",
|
|
8168
|
-
"type": "function"
|
|
8169
|
-
},
|
|
8170
|
-
{
|
|
8171
|
-
"inputs": [
|
|
8172
|
-
{
|
|
8173
|
-
"internalType": "address",
|
|
8174
|
-
"name": "accessControlManager_",
|
|
8175
|
-
"type": "address"
|
|
8176
|
-
}
|
|
8177
|
-
],
|
|
8178
|
-
"name": "setAccessControlManager",
|
|
8179
|
-
"outputs": [],
|
|
8180
|
-
"stateMutability": "nonpayable",
|
|
8181
|
-
"type": "function"
|
|
8182
|
-
},
|
|
8183
|
-
{
|
|
8184
|
-
"inputs": [
|
|
8185
|
-
{
|
|
8186
|
-
"components": [
|
|
8187
|
-
{
|
|
8188
|
-
"internalType": "address",
|
|
8189
|
-
"name": "asset",
|
|
8190
|
-
"type": "address"
|
|
8191
|
-
},
|
|
8192
|
-
{
|
|
8193
|
-
"internalType": "uint256",
|
|
8194
|
-
"name": "baseUnit",
|
|
8195
|
-
"type": "uint256"
|
|
8196
|
-
},
|
|
8197
|
-
{
|
|
8198
|
-
"internalType": "address",
|
|
8199
|
-
"name": "pancakePool",
|
|
8200
|
-
"type": "address"
|
|
8201
|
-
},
|
|
8202
|
-
{
|
|
8203
|
-
"internalType": "bool",
|
|
8204
|
-
"name": "isBnbBased",
|
|
8205
|
-
"type": "bool"
|
|
8206
|
-
},
|
|
8207
|
-
{
|
|
8208
|
-
"internalType": "bool",
|
|
8209
|
-
"name": "isReversedPool",
|
|
8210
|
-
"type": "bool"
|
|
8211
|
-
},
|
|
8212
|
-
{
|
|
8213
|
-
"internalType": "uint256",
|
|
8214
|
-
"name": "anchorPeriod",
|
|
8215
|
-
"type": "uint256"
|
|
8216
|
-
}
|
|
8217
|
-
],
|
|
8218
|
-
"internalType": "struct TwapOracle.TokenConfig",
|
|
8219
|
-
"name": "config",
|
|
8220
|
-
"type": "tuple"
|
|
8221
|
-
}
|
|
8222
|
-
],
|
|
8223
|
-
"name": "setTokenConfig",
|
|
8224
|
-
"outputs": [],
|
|
8225
|
-
"stateMutability": "nonpayable",
|
|
8226
|
-
"type": "function"
|
|
8227
|
-
},
|
|
8228
|
-
{
|
|
8229
|
-
"inputs": [
|
|
8230
|
-
{
|
|
8231
|
-
"components": [
|
|
8232
|
-
{
|
|
8233
|
-
"internalType": "address",
|
|
8234
|
-
"name": "asset",
|
|
8235
|
-
"type": "address"
|
|
8236
|
-
},
|
|
8237
|
-
{
|
|
8238
|
-
"internalType": "uint256",
|
|
8239
|
-
"name": "baseUnit",
|
|
8240
|
-
"type": "uint256"
|
|
8241
|
-
},
|
|
8242
|
-
{
|
|
8243
|
-
"internalType": "address",
|
|
8244
|
-
"name": "pancakePool",
|
|
8245
|
-
"type": "address"
|
|
8246
|
-
},
|
|
8247
|
-
{
|
|
8248
|
-
"internalType": "bool",
|
|
8249
|
-
"name": "isBnbBased",
|
|
8250
|
-
"type": "bool"
|
|
8251
|
-
},
|
|
8252
|
-
{
|
|
8253
|
-
"internalType": "bool",
|
|
8254
|
-
"name": "isReversedPool",
|
|
8255
|
-
"type": "bool"
|
|
8256
|
-
},
|
|
8257
|
-
{
|
|
8258
|
-
"internalType": "uint256",
|
|
8259
|
-
"name": "anchorPeriod",
|
|
8260
|
-
"type": "uint256"
|
|
8261
|
-
}
|
|
8262
|
-
],
|
|
8263
|
-
"internalType": "struct TwapOracle.TokenConfig[]",
|
|
8264
|
-
"name": "configs",
|
|
8265
|
-
"type": "tuple[]"
|
|
8266
|
-
}
|
|
8267
|
-
],
|
|
8268
|
-
"name": "setTokenConfigs",
|
|
8269
|
-
"outputs": [],
|
|
8270
|
-
"stateMutability": "nonpayable",
|
|
8271
|
-
"type": "function"
|
|
8272
|
-
},
|
|
8273
|
-
{
|
|
8274
|
-
"inputs": [
|
|
8275
|
-
{
|
|
8276
|
-
"internalType": "address",
|
|
8277
|
-
"name": "",
|
|
8278
|
-
"type": "address"
|
|
8279
|
-
}
|
|
8280
|
-
],
|
|
8281
|
-
"name": "tokenConfigs",
|
|
8282
|
-
"outputs": [
|
|
8283
|
-
{
|
|
8284
|
-
"internalType": "address",
|
|
8285
|
-
"name": "asset",
|
|
8286
|
-
"type": "address"
|
|
8287
|
-
},
|
|
8288
|
-
{
|
|
8289
|
-
"internalType": "uint256",
|
|
8290
|
-
"name": "baseUnit",
|
|
8291
|
-
"type": "uint256"
|
|
8292
|
-
},
|
|
8293
|
-
{
|
|
8294
|
-
"internalType": "address",
|
|
8295
|
-
"name": "pancakePool",
|
|
8296
|
-
"type": "address"
|
|
8297
|
-
},
|
|
8298
|
-
{
|
|
8299
|
-
"internalType": "bool",
|
|
8300
|
-
"name": "isBnbBased",
|
|
8301
|
-
"type": "bool"
|
|
8302
|
-
},
|
|
8303
|
-
{
|
|
8304
|
-
"internalType": "bool",
|
|
8305
|
-
"name": "isReversedPool",
|
|
8306
|
-
"type": "bool"
|
|
8307
|
-
},
|
|
8308
|
-
{
|
|
8309
|
-
"internalType": "uint256",
|
|
8310
|
-
"name": "anchorPeriod",
|
|
8311
|
-
"type": "uint256"
|
|
8312
|
-
}
|
|
8313
|
-
],
|
|
8314
|
-
"stateMutability": "view",
|
|
8315
|
-
"type": "function"
|
|
8316
|
-
},
|
|
8317
|
-
{
|
|
8318
|
-
"inputs": [
|
|
8319
|
-
{
|
|
8320
|
-
"internalType": "address",
|
|
8321
|
-
"name": "newOwner",
|
|
8322
|
-
"type": "address"
|
|
8323
|
-
}
|
|
8324
|
-
],
|
|
8325
|
-
"name": "transferOwnership",
|
|
8326
|
-
"outputs": [],
|
|
8327
|
-
"stateMutability": "nonpayable",
|
|
8328
|
-
"type": "function"
|
|
8329
|
-
},
|
|
8330
|
-
{
|
|
8331
|
-
"inputs": [
|
|
8332
|
-
{
|
|
8333
|
-
"internalType": "address",
|
|
8334
|
-
"name": "vToken",
|
|
8335
|
-
"type": "address"
|
|
8336
|
-
}
|
|
8337
|
-
],
|
|
8338
|
-
"name": "updateTwap",
|
|
8339
|
-
"outputs": [
|
|
8340
|
-
{
|
|
8341
|
-
"internalType": "uint256",
|
|
8342
|
-
"name": "",
|
|
8343
|
-
"type": "uint256"
|
|
8344
|
-
}
|
|
8345
|
-
],
|
|
8346
|
-
"stateMutability": "nonpayable",
|
|
8347
|
-
"type": "function"
|
|
8348
|
-
},
|
|
8349
|
-
{
|
|
8350
|
-
"inputs": [],
|
|
8351
|
-
"name": "vBnb",
|
|
8352
|
-
"outputs": [
|
|
8353
|
-
{
|
|
8354
|
-
"internalType": "address",
|
|
8355
|
-
"name": "",
|
|
8356
|
-
"type": "address"
|
|
8357
|
-
}
|
|
8358
|
-
],
|
|
8359
|
-
"stateMutability": "view",
|
|
8360
|
-
"type": "function"
|
|
8361
|
-
},
|
|
8362
|
-
{
|
|
8363
|
-
"inputs": [],
|
|
8364
|
-
"name": "vai",
|
|
8365
|
-
"outputs": [
|
|
8366
|
-
{
|
|
8367
|
-
"internalType": "address",
|
|
8368
|
-
"name": "",
|
|
8369
|
-
"type": "address"
|
|
8370
|
-
}
|
|
8371
|
-
],
|
|
8372
|
-
"stateMutability": "view",
|
|
8373
|
-
"type": "function"
|
|
8374
|
-
},
|
|
8375
|
-
{
|
|
8376
|
-
"inputs": [
|
|
8377
|
-
{
|
|
8378
|
-
"internalType": "address",
|
|
8379
|
-
"name": "",
|
|
8380
|
-
"type": "address"
|
|
8381
|
-
}
|
|
8382
|
-
],
|
|
8383
|
-
"name": "windowStart",
|
|
8384
|
-
"outputs": [
|
|
8385
|
-
{
|
|
8386
|
-
"internalType": "uint256",
|
|
8387
|
-
"name": "",
|
|
8388
|
-
"type": "uint256"
|
|
8389
|
-
}
|
|
8390
|
-
],
|
|
8391
|
-
"stateMutability": "view",
|
|
8392
|
-
"type": "function"
|
|
8393
|
-
}
|
|
8394
|
-
]
|
|
8395
|
-
},
|
|
8396
|
-
"TwapOracle_Proxy": {
|
|
8397
|
-
"address": "0xea2f042e1A4f057EF8A5220e57733AD747ea8867",
|
|
8398
|
-
"abi": [
|
|
8399
|
-
{
|
|
8400
|
-
"inputs": [
|
|
8401
|
-
{
|
|
8402
|
-
"internalType": "address",
|
|
8403
|
-
"name": "_logic",
|
|
8404
|
-
"type": "address"
|
|
8405
|
-
},
|
|
8406
|
-
{
|
|
8407
|
-
"internalType": "address",
|
|
8408
|
-
"name": "admin_",
|
|
8409
|
-
"type": "address"
|
|
8410
|
-
},
|
|
8411
|
-
{
|
|
8412
|
-
"internalType": "bytes",
|
|
8413
|
-
"name": "_data",
|
|
8414
|
-
"type": "bytes"
|
|
8415
|
-
}
|
|
8416
|
-
],
|
|
8417
|
-
"stateMutability": "payable",
|
|
8418
|
-
"type": "constructor"
|
|
8419
|
-
},
|
|
8420
|
-
{
|
|
8421
|
-
"anonymous": false,
|
|
8422
|
-
"inputs": [
|
|
8423
|
-
{
|
|
8424
|
-
"indexed": false,
|
|
8425
|
-
"internalType": "address",
|
|
8426
|
-
"name": "previousAdmin",
|
|
8427
|
-
"type": "address"
|
|
8428
|
-
},
|
|
8429
|
-
{
|
|
8430
|
-
"indexed": false,
|
|
8431
|
-
"internalType": "address",
|
|
8432
|
-
"name": "newAdmin",
|
|
8433
|
-
"type": "address"
|
|
8434
|
-
}
|
|
8435
|
-
],
|
|
8436
|
-
"name": "AdminChanged",
|
|
8437
|
-
"type": "event"
|
|
8438
|
-
},
|
|
8439
|
-
{
|
|
8440
|
-
"anonymous": false,
|
|
8441
|
-
"inputs": [
|
|
8442
|
-
{
|
|
8443
|
-
"indexed": true,
|
|
8444
|
-
"internalType": "address",
|
|
8445
|
-
"name": "beacon",
|
|
8446
|
-
"type": "address"
|
|
8447
|
-
}
|
|
8448
|
-
],
|
|
8449
|
-
"name": "BeaconUpgraded",
|
|
8450
|
-
"type": "event"
|
|
8451
|
-
},
|
|
8452
|
-
{
|
|
8453
|
-
"anonymous": false,
|
|
8454
|
-
"inputs": [
|
|
8455
|
-
{
|
|
8456
|
-
"indexed": true,
|
|
8457
|
-
"internalType": "address",
|
|
8458
|
-
"name": "implementation",
|
|
8459
|
-
"type": "address"
|
|
8460
|
-
}
|
|
8461
|
-
],
|
|
8462
|
-
"name": "Upgraded",
|
|
8463
|
-
"type": "event"
|
|
8464
|
-
},
|
|
8465
|
-
{
|
|
8466
|
-
"stateMutability": "payable",
|
|
8467
|
-
"type": "fallback"
|
|
8468
|
-
},
|
|
8469
|
-
{
|
|
8470
|
-
"inputs": [],
|
|
8471
|
-
"name": "admin",
|
|
8472
|
-
"outputs": [
|
|
8473
|
-
{
|
|
8474
|
-
"internalType": "address",
|
|
8475
|
-
"name": "admin_",
|
|
8476
|
-
"type": "address"
|
|
8477
|
-
}
|
|
8478
|
-
],
|
|
8479
|
-
"stateMutability": "nonpayable",
|
|
8480
|
-
"type": "function"
|
|
8481
|
-
},
|
|
8482
|
-
{
|
|
8483
|
-
"inputs": [],
|
|
8484
|
-
"name": "implementation",
|
|
8485
|
-
"outputs": [
|
|
8486
|
-
{
|
|
8487
|
-
"internalType": "address",
|
|
8488
|
-
"name": "implementation_",
|
|
8489
|
-
"type": "address"
|
|
8490
|
-
}
|
|
8491
|
-
],
|
|
8492
|
-
"stateMutability": "nonpayable",
|
|
8493
|
-
"type": "function"
|
|
8494
|
-
},
|
|
8495
|
-
{
|
|
8496
|
-
"inputs": [
|
|
8497
|
-
{
|
|
8498
|
-
"internalType": "address",
|
|
8499
|
-
"name": "newImplementation",
|
|
8500
|
-
"type": "address"
|
|
8501
|
-
}
|
|
8502
|
-
],
|
|
8503
|
-
"name": "upgradeTo",
|
|
8504
|
-
"outputs": [],
|
|
8505
|
-
"stateMutability": "nonpayable",
|
|
8506
|
-
"type": "function"
|
|
8507
|
-
},
|
|
8508
|
-
{
|
|
8509
|
-
"inputs": [
|
|
8510
|
-
{
|
|
8511
|
-
"internalType": "address",
|
|
8512
|
-
"name": "newImplementation",
|
|
8513
|
-
"type": "address"
|
|
8514
|
-
},
|
|
8515
|
-
{
|
|
8516
|
-
"internalType": "bytes",
|
|
8517
|
-
"name": "data",
|
|
8518
|
-
"type": "bytes"
|
|
8519
|
-
}
|
|
8520
|
-
],
|
|
8521
|
-
"name": "upgradeToAndCall",
|
|
8522
|
-
"outputs": [],
|
|
8523
|
-
"stateMutability": "payable",
|
|
8524
|
-
"type": "function"
|
|
8525
|
-
},
|
|
8526
|
-
{
|
|
8527
|
-
"stateMutability": "payable",
|
|
8528
|
-
"type": "receive"
|
|
8529
|
-
}
|
|
8530
|
-
]
|
|
8531
6971
|
}
|
|
8532
6972
|
}
|
|
8533
6973
|
}
|