-
I have following lesson 6 of the course.
I have the Lottery.sol contract correctly compiling but if I try to run this python script:
```
from brownie import Lottery
def main():
print("don…
-
In VRF and Automations contract there is one parameter `subscriptionId` in `requestRandomWords` of `VRFCoordinatorV2Interface` interface and `addConsumer` function from `VRFCoordinatorV2Mock` interfac…
-
### Synthetix Lottery
### Prize Bounty
$5,000 paid in SNX.
### Challenge Description
For this Hackathon we require a Lottery dApp, where participants can buy lottery tickets with $sUSD. Each …
-
accessing msg.value, msg.sender, are they still there?
```
// Lottery.sol
contract Lottery {
uint public etherContribution;
uint public maxPlayers;
address owner;
address[] publ…
-
Creation of a smart contract where people send a fixed amount before each round (27 days) for each lottery ticket..
The total amount sent to the contract gets staked in the Callisto Coldstaking sm…
ghost updated
2 years ago
-
### Description
I would like to contribute to this repo by adding some additional features to the Raffle/Lottery smart contract and I will improve the gas efficiency of these contracts.
So please as…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/a260ecba74720c631ab06ecdd67167317b976b60/src/RNSourceController.sol#L89-L104
# Vulnerability details
## Impact
The protocol uses …
-
My `mythril.solc.json` file looks like this:
```
{
"remappings": [
"@openzeppelin/contracts/access/=lib/openzeppelin-contracts/contracts/access/",
"@openzeppelin/contracts/utils/=lib/op…
-
I am having an issue when I try to run the "test_get_entrance_fee".
The error massage is:
```
=============================================== ERRORS ==============================================…
-
**Description**
I am trying to add a consumer to my VRF Chainlink Subscription using my smart contract, but every time i get an error stating that it cannot estimate gas.
**Your Environment**
Har…