-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(#minor); convex-finance; upgrade pricelib, add override for tricr…
…ypto pools (#2295)
- Loading branch information
1 parent
fa12faa
commit 04fc7cd
Showing
69 changed files
with
9,338 additions
and
6,612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract IPoolAddressesProvider", | ||
"name": "provider", | ||
"type": "address" | ||
}, | ||
{ "internalType": "address[]", "name": "assets", "type": "address[]" }, | ||
{ "internalType": "address[]", "name": "sources", "type": "address[]" }, | ||
{ | ||
"internalType": "address", | ||
"name": "fallbackOracle", | ||
"type": "address" | ||
}, | ||
{ "internalType": "address", "name": "baseCurrency", "type": "address" }, | ||
{ | ||
"internalType": "uint256", | ||
"name": "baseCurrencyUnit", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "asset", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "source", | ||
"type": "address" | ||
} | ||
], | ||
"name": "AssetSourceUpdated", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "baseCurrency", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "baseCurrencyUnit", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "BaseCurrencySet", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "fallbackOracle", | ||
"type": "address" | ||
} | ||
], | ||
"name": "FallbackOracleUpdated", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "ADDRESSES_PROVIDER", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IPoolAddressesProvider", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "BASE_CURRENCY", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "BASE_CURRENCY_UNIT", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "asset", "type": "address" } | ||
], | ||
"name": "getAssetPrice", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address[]", "name": "assets", "type": "address[]" } | ||
], | ||
"name": "getAssetsPrices", | ||
"outputs": [ | ||
{ "internalType": "uint256[]", "name": "", "type": "uint256[]" } | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getFallbackOracle", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "asset", "type": "address" } | ||
], | ||
"name": "getSourceOfAsset", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address[]", "name": "assets", "type": "address[]" }, | ||
{ "internalType": "address[]", "name": "sources", "type": "address[]" } | ||
], | ||
"name": "setAssetSources", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "fallbackOracle", "type": "address" } | ||
], | ||
"name": "setFallbackOracle", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.