Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 3.12 KB

0.24.md

File metadata and controls

60 lines (46 loc) · 3.12 KB

[0.24]

[0.24.0]

Updated Operations Order

Updated Objects Order

Added:

Removed:

Changed:

  • erc20_register_evaluator renamed to erc20_register_token_evaluator.
  • sidechain_erc20_transfer_asset_operation.
  • In erc20_token_object field symbol should be unique.
  • This Wallet API methods may receive not only account id and the account name also: get_evm_addresses, get_account_deposits, get_account_withdrawals, get_account_stake_objects, get_eth_address, get_erc20_account_deposits, get_erc20_account_withdrawals
  • Moved field contract_code from erc20_config to constant.

Changed or added data structures

FC_REFLECT(echo::chain::sidechain_erc20_register_contract_operation,
           (fee)(code)(args)(address)(name)(symbol)(decimals)(eth_accuracy)(extensions))

FC_REFLECT(echo::chain::genesis_state_type::initial_sidechain_asset_config_type, (code)(address)(name)(symbol)(decimals)(eth_accuracy)(supported_asset))

FC_REFLECT(echo::chain::genesis_state_type::initial_committee_member_type,
           (owner_name)(frozen_balance_amount)(eth_address)(btc_public_key))

FC_REFLECT(echo::chain::genesis_state_type,
           (initial_timestamp)(max_core_supply)(initial_parameters)(initial_accounts)(initial_assets)(initial_balances)
           (initial_vesting_balances)
           (initial_committee_candidates)
           (initial_sidechain_asset_config)
           (initial_chain_id)
           )

FC_REFLECT(echo::chain::sidechain_erc20_transfer_asset_operation,
           (fee)(account)(to)(value)(extensions))

FC_REFLECT( echo::sidechain::erc20_config,
            (create_token_fee)
            (transfer_topic)
            (check_balance_method)
            (burn_method)
            (issue_method)
)

FC_REFLECT_DERIVED(echo::chain::dynamic_global_property_object,
                   (echo::db::object),
                   (head_block_number)(head_block_id)(time)(next_maintenance_time)(last_maintenance_time)
                   (last_irreversible_block_num)(last_block_of_previous_interval)(payed_blocks_in_interval)(last_processed_btc_block)(extensions))