Releases: CryptoLions/SimpleAssets
Simple Assets v1.1.1
- Code refactoring
- Fixed detaching containerized NFTs for delegated and transferred NFTs.
- new action delegatemore which allows extending delegate period for borrowed NFT.
- Added external(bash) unit tests
WARNING!!! CDT currently has a bug that doesn't allow compilation (v1.6.1).
1.5.0 also has a bug "Segmentation fault (core dumped)", but only with abi generation (including array of self objects : std::vector container;)
Simple Assets v1.1.0
- Code refactoring
- Fixed detaching containerized NFTs for delegated and transferred NFTs.
- new action delegatemore which allows extending delegate period for borrowed NFT.
- Added external(bash) unit tests
WARNING!!! CDT currently has a bug that doesn't allow compilation on v1.6.x. 1.5.0 also has a bug "Segmentation fault (core dumped)", but only with abi generation. Recommendation: Use 1.5.0 for contract compilation and use our abi
issue: EOSIO/eosio.cdt#527
Simple Assets v1.0.0
We are live on mainnet! EOS Mainnet
Account: simpleassets
A simple standard for digital assets (both fungible and non-fungible tokens - NFTs) for EOSIO blockchains
by CryptoLions
web: http://simpleassets.io
Git: https://github.com/CryptoLions/SimpleAssets
Telegram: https://t.me/simpleassets
Intro & Demos: https://medium.com/@cryptolions/introducing-simple-assets-b4e17caafaa4
Events Receiver Example for authors: https://github.com/CryptoLions/SimpleAssets-EventReceiverExample
There are two ways to use Simple Assets:
-
As an external ownership authority. When deployed on an EOSIO chain, Simple Assets will be a separate contract which other Dapps can call to manage their digital assets. This serves as an additional guarantee to users of the Dapp that the ownership of assets is managed by a reputable outside authority, and that once created, the Dapp can only manage the asset's mdata. All the ownership-related functionality exists outside the game.
EOS Mainnet Account: simpleassets
We are in the process of creating a DAC which will curate updates to Simple Assets after deployment to the EOSIO mainnet.
-
Dapps can Deploy their own copy of Simple Assets and make modifications to have greater control of functionality. We consider this an example of a dapp being its own "ownership authority." Before deploying, Simple Assets should be modified to prevent anyone from making assets.
SimpleAssets v0.4.0 (Beta)
Easily find fungible token information (fungible tokens have scope author):
- new field
author
inaccount
table for FT. (makes it easier to find fungible token information)
More fungible token information:
- new field
data
incurrency_stats
table - stringify json which might include keysimg
,name
(recommended for better displaying by markets) - new parameter
data
increatef
action - new action
updatef
to change FTdata
Offer/claim fungible tokens
- new table
sofferf
to use foroffer
/calim
FT - new actions
offerf
,cancelofferf
andclaimf
- on
closef
check if no open offers (internal)
Containerizing assets
WARNING!!! CDT currently has a bug that doesn't allow compilation (v1.6.1).
1.5.0 also has a bug "Segmentation fault (core dumped)", but only with abi generation.
Recommendation: Use 1.5.0 for contract compilation and use our abi
- new fields
container
andcontainerf
in nft asset structure for attaching and detaching other NFT or FT - new actions
attach
,detach
- new actions
attachf
,detachf
misc
- fields renamed
lastid
->lnftid
,spare
->defid
(internal usage) in tableglobal
- field
offeredTo
renamed toofferedto
in tablesoffer
SimpleAssets v0.3.2 (Beta)
- Added
memo
parameter to actionoffer
; - Added
memo
parameter to actiondelegate
;
SimpleAssets v0.3.1 (Beta)
- Internal action for NFT
createlog
added. Used by create action to log assetid so that third party explorers can easily get new asset ids and other information. - New singelton table
tokenconfigs
added. It helps external contracts parse actions and tables correctly (Usefull for decentralized exchanges, marketplaces and other contracts that use multiple tokens).
Marketplaces, exchanges and other reliant contracts will be able to view this info using the following code.Configs configs("simpl1assets"_n, "simpl1assets"_n.value); configs.get("simpl1assets"_n);
- added action
updatever
. It updates version of this SimpleAstes deployment for 3rd party wallets, marketplaces, etc; - New examples for Event notifications: https://github.com/CryptoLions/SimpleAssets-EventReceiverExample
SimpleAssets v0.3.0 (Beta)
- Added event notifications using deferred transaction. Assets author will receive notification on assets create, transfer, claim or burn. To receive it please add next action to your author contract:
ACTION saecreate ( name owner, uint64_t assetid ); ACTION saetransfer ( name from, name to, std::vector<uint64_t>& assetids, std::string memo ); ACTION saeclaim ( name account, std::vector<uint64_t>& assetids ); ACTION saeburn ( name account, std::vector<uint64_t>& assetids, std::string memo );
untildate
parameter changed toperiod
(in seconds) for actionsdelegate
and tablesdelegates
SimpleAssets v0.2.0 (Beta)
Added Fungible Token tables and logic using eosio.token contract but with some changes
- New actions and logic:
createf
,issuef
,transferf
,burnf
,openf
,closef
- added new tables
stat(supply, max_supply, issuer, id)
andaccounts (id, balance)
. - scope for stats table (info about fungible tokens) changed to author
- primary index for
accounts
table is uniq id created on createf action and stored in stats table. - added
createf
action for fungible token with parametrauthorctrl
tostats
table. If true(1) allows token author
(and not just owner) to burnf and transferf. Cannot be changed after creation! - Ricardian contracts updated
- more usage examples in readme file
SimpleAssets v0.1.1 (Alpha)
Change Log v0.1.1
Misc
- sdelagate table structure renamed to sdelegate (typo)
- create action parameters renamed: requireClaim -> requireclaim
- assetID action parameter renamed in all actions to assetid
Borrowing Assets
- sdelegate table - added new field: untildate
- delegate action added parameters untildate. Action does a simple check if parameter was entered correctly (either zero or in the future).
- undelegate will not work until untildate (this guarantees a minimum term of the asset loan).
- allow transfer asset back (return) if its delegated, sooner than untiltime (borrower has option ton return early)
Batch Processing
- claim action: assetid parameter changed to array of assetsids. Multiple claim logic added.
- offer action: assetid parameter changed to array of assetsids. Multiple offer logic added.
- canceloffer action: assetid parameter changed to array of assetsids. Multiple cancelation logic added.
- transfer action: assetid parameter changed to array of assetsids. Multiple assets transfer logic added.
- burn action: assetid parameter changed to array of assetsids. Multiple burning logic added.
- delegate/undelegate action: assetid parameter changed to array of assetsids. Multiple delegation/undelegation logic added.
Simple Assets v0.1.0 (Alpha)
v0.1.0