... -> Result {
2 // Iterate over all binary operations in the context and filter for multiplication operations (*)
3 for op in context.binary_operations().iter().filter(|op| op.operator == "*") {
4 // Check if the left operand of the multiplication is a binary operation (i.e.,...
Compiler debug log:
Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode])
For troubleshooting, you can try compiling your source code with the Remix - Solidity IDE and check for exceptions
Compiler Warning(s):
ParserError: Source "extensio...
...DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Vercel CLI 34.3.1
? Log in to Vercel Continue with Email
? Enter your email address: 1131764933@qq.com
We sent an email ...
...n init(witness: DAO, ctx: &mut TxContext) {
//1. create dao token and mint supply
let (treasury_cap,metadata) = coin::create_currency(witness,18,b"DAO",b"dao",b"Dao token.",option::none(),ctx);
transfer::public_freeze_object(metadata);
let total_balance = coin::mi...