From c97c366127a7af6bd0eae53061ddd46bac260608 Mon Sep 17 00:00:00 2001 From: Evgeny Kuzyakov Date: Thu, 4 Jun 2020 11:33:07 -0700 Subject: [PATCH 1/5] Update fungible token to 0.2.0 --- docs/Standards/Tokens/FungibleToken.html | 45 ++++++++++++-- docs/print.html | 74 ++++++++++++++++++++---- docs/searchindex.js | 2 +- docs/searchindex.json | 2 +- specs/Standards/Tokens/FungibleToken.md | 48 +++++++++++++-- 5 files changed, 151 insertions(+), 20 deletions(-) diff --git a/docs/Standards/Tokens/FungibleToken.html b/docs/Standards/Tokens/FungibleToken.html index 54a5a02a4..4bafd95b9 100644 --- a/docs/Standards/Tokens/FungibleToken.html +++ b/docs/Standards/Tokens/FungibleToken.html @@ -151,8 +151,17 @@

NEAR Protocol Specification

Fungible Token

+

Version 0.2.0

Summary

A standard interface for fungible tokens allowing for ownership, escrow and transfer, specifically targeting third-party marketplace integration.

+

Changelog

+

0.2.0

+
    +
  • Introduce storage deposits. Make every method payable. Require caller to attach enough deposit to cover potential storage increase. See core-contracts/#47
  • +
  • Replace set_allowance with inc_allowance and dec_allowance to address the issue of allowance front-running. See core-contracts/#49
  • +
  • Validate owner_id account ID. See core-contracts/#54
  • +
  • Enforce that the new_owner_id is different from the current owner_id for transfer. See core-contracts/#55
  • +

Motivation

NEAR Protocol uses an asynchronous sharded Runtime. This means the following:

Fungible Token

+

Version 0.2.0

Summary

A standard interface for fungible tokens allowing for ownership, escrow and transfer, specifically targeting third-party marketplace integration.

+

Changelog

+

0.2.0

+
    +
  • Introduce storage deposits. Make every method payable. Require caller to attach enough deposit to cover potential storage increase. See core-contracts/#47
  • +
  • Replace set_allowance with inc_allowance and dec_allowance to address the issue of allowance front-running. See core-contracts/#49
  • +
  • Validate owner_id account ID. See core-contracts/#54
  • +
  • Enforce that the new_owner_id is different from the current owner_id for transfer. See core-contracts/#55
  • +

Motivation

NEAR Protocol uses an asynchronous sharded Runtime. This means the following: