Questions tagged [symbol-name]
The symbol-name tag has no usage guidance.
6
questions
2
votes
1
answer
77
views
Symbol prints wrong value
I have a method like this:
void token::test(asset qty) {
print("\n", qty);
print("\n", qty.symbol);
}
and the output I get is something like this:
10.00000000 XXX
8,XXX3
why the 3? ...
1
vote
1
answer
40
views
Symbol stringification?
an action in my contract accepts an asset:
void token::burn(asset a)
which I want to print out:
printf("Asset [%s] burnt\n", a.symbol.to_string());
except the symbol class does not offer ...
1
vote
0
answers
43
views
EOS smart contract upgrading/recompiling, variables and symbol mappings
EOS allows to reset the contract code payload, unlike some other blockchains:
https://www.reddit.com/r/eos/comments/91aqjx/how_many_contracts_can_an_account_have_on_the_eos/e2ww4la/
How the code ...
3
votes
1
answer
305
views
Is there any standard to assigning name to your token symbol?
If some one creating new tokens. So the name of token symbol can be any string. If someone wants, he can give a string of length 20 or anything he want.
My question is, How can we decide the symbol ...
2
votes
0
answers
106
views
Is there any a way to query the availability of token symbol?
Is there any a way to query the availability of token symbol? I want to issue a token, and I believe the token should be unique among eos network, for example, I cannot issue a new token with name of ...
3
votes
1
answer
596
views
How to pass a 'symbol_name' into an action?
Does anyone know how to pass an assets symbol_name in as an argument to an action? I have been trying the following:
.abi
"types": [{
"new_type_name": "symbol_name",
"type": "uint64"
}]
and .cpp
...