vyper-smart-contracts icon indicating copy to clipboard operation
vyper-smart-contracts copied to clipboard

All smart contracts listed at vyperhub.io

Results 9 vyper-smart-contracts issues
Sort by recently updated
recently updated
newest added

Possibly use: https://github.com/ethereum/vyper/issues/1440

enhancement

`function onERC721Received(address _operator, address _from, uint256 _tokenId, bytes _data) external returns(bytes4);` ```python contract ERC721TokenReceiver: -> _data: bytes[256] ``` change to ?: ```python -> _data: bytes[4] ``` or change to ?:...

Problem: https://twitter.com/PhABCD/status/1129987674213945344 Solution: Implement a commit reveal schema: ```python def submitSolution(_solutionHash: bytes32) -> uint256: self.submittedSolutions[msg.sender] = _solutionHash def revealSolution(_x1: unit256, _x2: uint256, _salt: string[16]) -> uint256: assert self.submittedSolutions[msg.sender] == keccak(_x1...

enhancement

https://github.com/0xcert/ethereum-erc721

enhancement

Only mint a new NFT if the tokenId is a prime. ```python if (tokenId is prime): mint() else: mint() & burn() ``` https://en.wikipedia.org/wiki/Primality_test

contract idea

Contract that incentivises transaction scheduling. -> Set bounty that is paid in full when call is made at specific block number -> bounty starts to decrease after block number is...

contract idea

Implement a set of sorting algorithms as smart contracts https://en.wikipedia.org/wiki/Sorting_algorithm

contract idea

Need: A faster algorithm to solve a specific problem. Create a Smart Contract where people can submit solutions to that problem. You already know the solution to the problem, so...

contract idea