Comments (3)
Is this allowed?
> hh compile
Compiling 1 file with 0.8.9
TypeError: Immutable variables cannot have a non-value type.
--> sol/gem.sol:44:5:
|
44 | string public immutable name;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Immutable variables cannot have a non-value type.
--> sol/gem.sol:45:5:
|
45 | string public immutable symbol;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from gemfab.
guess not
from gemfab.
(it should be)
from gemfab.
Related Issues (20)
- don't use inheritance
- consistent error definitions HOT 2
- check all constant `keccak256` are compiled down HOT 2
- modifier vs inline auth HOT 1
- Remove some entrypoints for gas savings
- Combine rely/deny to reduce entrypoints HOT 1
- things to compare during final review HOT 1
- consider implications of using "GemPermit" instead of given name in permit typehash HOT 3
- Consider putting back public typehash accessor
- Donβt use Transfer event for mint and burn
- clean up dependencies HOT 2
- Consider adding `Caller` event
- Make gas comparison table to other token implementations (see if our savings buy us a Caller event) HOT 5
- Make js utility to extract and make sense of Caller events HOT 1
- Rewrite it to vyper HOT 1
- see if making `name` and `symbol` a `bytes32` breaks common read use cases HOT 1
- `halt` function
- `bytes32 info`
- βοΈ Remove Mint/Burn Events HOT 4
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 gemfab.