diff --git a/README.md b/README.md index 6928a29..4850a8d 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,17 @@ Navigate to each directory and follow the instructions in their respective READM ## Solution Overview -Solution +Solution
+ +Code references: + +1. Predict game result: [PredictionGame.sol#L116](./contracts/contracts/SportsPredictionGame.sol#L116) +2. Check for finished games: [PredictionGame.sol#379](./contracts/contracts/SportsPredictionGame.sol#L379) +3. Request game result: [ResultsConsumer.sol#L65](./contracts/contracts/ResultsConsumer.sol#L65) +4. Fetch game result: [sports-api.js#L63](./contracts/sports-api.js#L63) +5. Fulfill game result request [ResultsConsumer.sol#L105](./contracts/contracts/ResultsConsumer.sol#L105) +6. Claim winnings [SportsPredictionGame.sol#L151](./contracts/contracts/SportsPredictionGame.sol#L151)
+ 6.1 Transfer winnings [NativeTokenSender.sol#L66](./contracts/contracts/ccip/NativeTokenSender.sol#L66) ## Resources