Questions tagged [eosio.token]

Questions related to the system contract for storing the EOS token

Filter by
Sorted by
Tagged with
3
votes
4answers
745 views

How to add “time lock” to the EOS tokens

I have issued some tokens base on eosio.token in jungle testnet, and I am able to transfer the tokens between accounts. Now if I want to enforce some control to the tokens sent ( for example, time ...
2
votes
1answer
87 views

I want to perform 2000 transactions but when i am looping trough the eosjs code it throws an error

The error name is expired_tx_exception and the code for the same is 3040005 please tell me how can I perform these much transactions per seconds. I am able to perform 250 transactions per seconds but ...
1
vote
1answer
177 views

Hello contract: How do i execute “hi” action when notified by eosio.token contract of an EOS transfer?

I want to extend the Hello contract (as an exercise) How do i execute "hi" action when notified by eosio.token contract of an EOS transfer ? I understood i have to extend EOSIO_ABI macro to handle ...
6
votes
1answer
1k views

How I can typecast the “0.0001 EOS” into eosio::asset

I declared a variable value = "0.0001 EOS"; , inside my action I want to transfer those asset to a account .I am having difficulty to typacasting this string into the eosio::asset value . my code goes ...
2
votes
2answers
900 views

How to query for all tokens owned by an acoount?

Several airdrops are coming in these days. One doesn't know which tokens are gifted to them. How can I retrieve all tokens owned by a particular account? I know how to retrieve token balance, by ...
3
votes
1answer
631 views

How does the EOS account system work together with smart contracts?

It's my first step into eos and Trying to get some ideas. I really do hope you can help me. Question 1) As we all know, we can transfer some coins from one to another account by using account_names. ...
3
votes
1answer
171 views

Why did EOSio exclude all EOS ERC20-token holders who didn't register before 2st of June 2018?

They have made my ERC-20 EOS tokens non-transferable, so now the money I invested is lost. On my Trezor (MEW - MyEthereumWallet) Are there any official statements of the reasons to the malignant ...
2
votes
2answers
197 views

get token stats

I found the following in the eosjs docs: eos.getCurrencyStats(code, symbol) ⇒ getCurrencyStatsResult I was able to receive all stats for eos.getCurrencyStats('EOS', 'eosio.token') as well as ...
2
votes
2answers
1k views

Is “cleos transfer” just a shortcut for “cleos push action eosio.token transfer”?

Here is the documentation for cleos transfer. And here is the one for cleos push action. It seems that, whenever we want to write: cleos transfer account11111 account22222 "0.0001 EOS" "memo text" ...
2
votes
1answer
202 views

Issue while compiling contract using eosiocpp

I am facing an issue while compiling the token contract. cd eos/contract/eosio.token eosiocpp -o eosio.token.wast eosio.token.cpp But it shows the following response, eosiocpp: command ...
5
votes
2answers
2k views

Clearing RAM tables of eosio.token contract

What I am trying to do is clear the RAM table completely. This question is not a duplicate since it is asking for a full and a working solution. The contract that I was executing filling the RAM ...
4
votes
2answers
544 views

How to airdrop an eosio token

I am trying to create a new eosio token and airdrop it at a 1:1 ratio to all eosio accounts. I have a snapshot csv file with all the eosio account names, the public key, and EOS token balances. My ...

1 2
3