-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(evm-oracle): add Solidity contract that we can use to expose the…
… Nibiru Oracle in the ChainLink interface (#2149) * feat(evm-oracle): add Solidity contract that we can use to expose the Nibiru Oracle in the ChainLink interface * chore: change log * feat(evm-oracle): add decimals to the consturctor for NibiruOracleChainLinkLike * feat: make solidity available on npm (@nibiruchain/solidity) * chore: formatter and linter * (evm-contracts): add require statement for pair to constructor
- Loading branch information
1 parent
8e477cb
commit c9c56a9
Showing
22 changed files
with
2,204 additions
and
358 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,113 @@ | ||
[ | ||
{ | ||
"inputs": [], | ||
"name": "decimals", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint8", | ||
"name": "", | ||
"type": "uint8" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "description", | ||
"outputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint80", | ||
"name": "_roundId", | ||
"type": "uint80" | ||
} | ||
], | ||
"name": "getRoundData", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint80", | ||
"name": "roundId", | ||
"type": "uint80" | ||
}, | ||
{ | ||
"internalType": "int256", | ||
"name": "answer", | ||
"type": "int256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "startedAt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "updatedAt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint80", | ||
"name": "answeredInRound", | ||
"type": "uint80" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "latestRoundData", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint80", | ||
"name": "roundId", | ||
"type": "uint80" | ||
}, | ||
{ | ||
"internalType": "int256", | ||
"name": "answer", | ||
"type": "int256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "startedAt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "updatedAt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint80", | ||
"name": "answeredInRound", | ||
"type": "uint80" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "version", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.