Skip to content

Releases: CryptoLions/SimpleAssets

Simple Assets v1.1.1

12 Aug 15:09
Compare
Choose a tag to compare
  • 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

06 Aug 10:44
Compare
Choose a tag to compare
  • 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

15 Apr 13:41
Compare
Choose a tag to compare

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:

  1. 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.

  2. 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)

08 Apr 22:40
Compare
Choose a tag to compare

Easily find fungible token information (fungible tokens have scope author):

  • new field author in account table for FT. (makes it easier to find fungible token information)

More fungible token information:

  • new field data in currency_stats table - stringify json which might include keys img, name (recommended for better displaying by markets)
  • new parameter data in createf action
  • new action updatef to change FT data

Offer/claim fungible tokens

  • new table sofferf to use for offer/calim FT
  • new actions offerf, cancelofferf and claimf
  • 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 and containerf 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 table global
  • field offeredTo renamed to offeredto in table soffer

SimpleAssets v0.3.2 (Beta)

29 Mar 18:00
Compare
Choose a tag to compare
  • Added memo parameter to action offer;
  • Added memo parameter to action delegate;

SimpleAssets v0.3.1 (Beta)

27 Mar 13:52
Compare
Choose a tag to compare
  • 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)

26 Mar 14:53
Compare
Choose a tag to compare
  • 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 to period (in seconds) for actions delegate and table sdelegates

SimpleAssets v0.2.0 (Beta)

18 Mar 15:47
Compare
Choose a tag to compare

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) and accounts (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 parametr authorctrl to stats 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)

12 Mar 18:19
Compare
Choose a tag to compare

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)

26 Feb 20:24
Compare
Choose a tag to compare