I've created a table within a contract where I want to store user information. the .emplace()
method's first parameter specifies the "scope" (I guess) for data to be stored and thus the user account
when I create the transaction I pass in the account that has permission via -p. something like:
cleos push action MyContract MyAction "[]" -p UserAccount@active
so within my code I need a way to refer to the UserAccount. _self
seems to refer to the account that owns the contract
how can that be done?