Skip to content

erorr for local deployment #7

@walter211

Description

@walter211

Hi,
I met error when trying to deploy in my laptop.

In file included from ./temp//eosio.token.cpp:6: ./temp//eosio.token.hpp:22:16: error: unknown type name 'account_name' token( account_name self ):contract(self){} ^ ./temp//eosio.token.hpp:24:22: error: unknown type name 'account_name' void create( account_name issuer, ^ ./temp//eosio.token.hpp:27:21: error: unknown type name 'account_name' void issue( account_name to, asset quantity, string memo ); ^ ./temp//eosio.token.hpp:29:24: error: unknown type name 'account_name' void transfer( account_name from, ^ ./temp//eosio.token.hpp:30:25: error: unknown type name 'account_name' account_name to, ^ ./temp//eosio.token.hpp:35:34: error: unknown type name 'symbol_name'; did you mean 'symbol_code'? inline asset get_supply( symbol_name sym )const; ^~~~~~~~~~~ symbol_code /usr/opt/eosio.cdt/1.5.0/bin/../include/eosiolib/symbol.hpp:29:10: note: 'symbol_code' declared here class symbol_code { ^ In file included from ./temp//eosio.token.cpp:6: ./temp//eosio.token.hpp:37:35: error: unknown type name 'account_name' inline asset get_balance( account_name owner, symbol_name sym )const; ^ ./temp//eosio.token.hpp:37:55: error: unknown type name 'symbol_name'; did you mean 'symbol_code'? inline asset get_balance( account_name owner, symbol_name sym )const; ^~~~~~~~~~~ symbol_code /usr/opt/eosio.cdt/1.5.0/bin/../include/eosiolib/symbol.hpp:29:10: note: 'symbol_code' declared here class symbol_code { ^ In file included from ./temp//eosio.token.cpp:6: ./temp//eosio.token.hpp:49:13: error: unknown type name 'account_name' account_name issuer; ^ ./temp//eosio.token.hpp:54:38: error: use of undeclared identifier 'accounts' typedef eosio::multi_index<N(accounts), account> accounts; ^ ./temp//eosio.token.hpp:55:38: error: use of undeclared identifier 'stat' typedef eosio::multi_index<N(stat), currency_stats> stats; ^ ./temp//eosio.token.hpp:57:27:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions