Skip to content

Release - FIO Contracts v2.1.0

Compare
Choose a tag to compare
@0xCasey 0xCasey released this 06 Oct 18:18
3e71133

Enhancements and Updates

(#70) FIP-1.a. Add ability to transfer FIO Domain to new owner.

(#73) FIP-2. Add get_fio_domains and get_fio_addresses endpoints with support for paging.

(#95) FIP-3. Add ability to cancel a request for funds.

  • Adds a new status for a request for funds, to cancel a request for funds.
  • Modifies the get_sent_fio_requests to return cancelled requests along with the rest.
  • Modified the record_obt_data so that it no longer allows multiple status records to be associated with a request id.
  • Adds a new endpoint and contract action for cancel_funds_request.
  • Adds a new get endpoint get_cancelled_fio_requests, returning cancelled fio requests.

(#96) FIP-4. Add ability to remove mapped public addresses. Adds new endpoints and fio.address actions for remove_pub_address remove_all_pub_address.

(#97) eosio.contracts 1.9 - Update several contract actions to reflect implementation of eosio.contracts 1.9. Updates change several contract actions to use proper const and pass by reference in parameters.

(#85) Remove transaction size check from fio.token transfer action. Code analysis shows that the action already requires system and treasury authority, which requires MSIG of 2/3 plus 1 from producers. All calls to transfer within the contracts have other max tx size checks or they require auth of an MSIG system account

(#39) Disallow locked token accounts from calling regdomain

Bug Fixes

(#94) Eliminate addaddress error that restricts new entries when bundled with previously mapped tokens.

(#62) Update error messaging in voting.cpp. Multiple action calls did not match v1.0 API spec. 404->400 error response changes along with added proxy validation on voteproxy.

(#82) Make step in decrcounter pass by reference. Resolves Issue #42.

(#87) Update voting power after fees collected on regproxy.

(#81) Fixes issue #69 . Addresses bug wherein the action bind2eosio accepts any string as client_key. Even that it's only called by system accounts, it needs to verify that the key is a valid string. Added public key validation to bind2eosio action. Fixed bind2eosio params (const and references).

(#55) Correctly update last_voting_weight and total_voted_fio.

(#42) Step in decrcounter is pass by value.

(#78) Addresses issue #71. ABI error in fio.address, "domains" table: wrong type for "expiration"

(#141) (#145) Fixes for TPID autoproxy. Fix for the issue where auto proxy was setting for fio.token and fio.address accounts.

V1 History Updates

(#92) [History] Certain actions missing from ABI. Addresses issue #110. Updated fio.address.abi to include missing commonly used inline action:

  • decrcounter
    Updated fio.treasury.abi to include missing commonly used inline actions
  • fdtnrwdupdat
  • bprewdupdate
  • bppoolupdate