Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in header file and correcting burn example in README #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,12 +553,12 @@ std::vector<uint64_t> assetids;
assetids.push_back(assetid1);
assetids.push_back(assetid2);

string memo = "Transfer two asset"
string memo = "Burn two assets"

action saBurn = action(
permission_level{owner, "active"_n},
SIMPLEASSETSCONTRACT,
"transfer"_n,
"burn"_n,
std::make_tuple(owner, assetids, memo)
);
saBurn.send();
Expand Down
4 changes: 2 additions & 2 deletions include/SimpleAssets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ CONTRACT SimpleAssets : public contract{
* specified in {{newowner}} is able to make a claim, and take control of the asset using their RAM.
* Offer action is not available if an asset is delegated (borrowed).
*
* @param owner is the accout of current owner.
* @param owner is the account of current owner.
* @param newowner is the future owner of the asset.
* @param assetids is array of asset id's to offer.
* @param memo is memo for offer action.
Expand Down Expand Up @@ -547,7 +547,7 @@ CONTRACT SimpleAssets : public contract{
using burnf_action = action_wrapper< "burnf"_n, &SimpleAssets::burnf >;

/*
* Open accoutns table.
* Open accounts table.
*
* This action opens accounts table for specified fungible token.
*
Expand Down