Comments (3)
I never use _processRandomnessFulfillment myself
I add this function as a hook in case someone wants to do something when the randomness is fulfilled.
Mostly, I use seed to derive the traits of the token. Here is an example.
https://rinkeby.etherscan.io/address/0x7c0044396b9c77499baea85698b74350de7b8733#code
from erc721psi.
Ohhh good catch! Yeah I forgot to add the virtual keyword. If you send a PR, I will be happy to accept that.
from erc721psi.
@estarriolvetch Yeah sure thing. Is the idea to use the seed
function from within _processRandomnessFulfillment
?
Curious to know if you have any example implementations you could share.
from erc721psi.
Related Issues (15)
- _exists function HOT 3
- balanceOf can run out of gas HOT 1
- gas reporting HOT 1
- using Solady LibBitmap speeds burn by several hunded (~500 avg) gas HOT 9
- Gas savings for mint HOT 3
- Update test suite to improve coverage and code reusability HOT 1
- update benchmark scripts HOT 1
- use bytemap in place of the AddressData struct for further optimizations HOT 5
- remove constant declaration from ERC821Psi base classes HOT 3
- In Burnable extension, the gas cost of totalSupply() increases as the number of tokens increases. HOT 2
- Use IERC721ReceiverUpgradeable HOT 1
- Spelling Issue
- I can set token ID start at 1 ? HOT 1
- minting function with specific tokenID intervals (1-200, 200-400) based off a function "tier" argument (1 or 2) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erc721psi.