Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 162
0 votes

Transfer nft with anchor-link

I'd assume that either the rpc-endpoint or the chainId you configured is incorrect. const link = new AnchorLink({ transport, chains: [{ chainId: 'aca376f206b8fc25a6ed44 …
cmadh's user avatar
  • 1,929
1 vote

Zero amount transfer?

If you remove line 93 from eosio.token.cpp check( quantity.amount > 0, "must transfer positive quantity" ); you will be able to send zero amount transfers. …
cmadh's user avatar
  • 1,929
0 votes
Accepted

Return token to owner after initiating a transfer to my contract

Something like this should work: [[eosio::on_notify("eosio.token::transfer")]] void fundpurchase(name from, name to, asset quantity, std::string memo){ action( permission_level {_self,N(active … )}, N(eosio.token),N(transfer), std::make_tuple(_self,N(YOURTOKEN_CONTRACT),asset(quantity.amount*2,symbol_type(S(4,YOURTOKEN))),std::string("some memo")) ).send(); } …
cmadh's user avatar
  • 1,929