Support 0.23 and 0.24 Echo version.
- Get transaction by block number and transaction index in block method in InformationFacade
- Get transaction by transaction identifier method in InformationFacade
- README.md
- OperationType enum
- ObjectType enum
- AssetOptionIssuerPermissions enum
- DynamicGlobalProperties object according to changelog
- All methods that send a transaction to the network now return transaction identifier
Fixed local and network tests
Support 0.22.3 Echo version.
- BalanceClaimOperation
- BalanceFreezeOperation
- BalanceUnfreezeOperation
- RequestBalanceUnfreezeOperation
- OperationType enum
- maintenancesInInterval field from EconomyConfig object
Support 0.22 Echo version.
- LastBlockOfPreviousInterval field in DynamicGlobalProperties object
- BalanceUnfreezingTime field in GlobalProperties object
- EconomyConfig object. And economyConfig field in GlobalProperties object
- RequestBalanceUnfreezeOperation type in OperationType enum
- Getting erc20 token by echo contract id
- Fields in BtcDepositAddress and BtcCommitteeMemberIdInScript objects in public now
Support 0.21 Echo version.
- Notice handler param in createAsset method
- Notice handler param in issueAsset method
- Notice handler param in changeKeys method
- Notice handler param in registerAccount method
- All completion blocks with simple result now returns Void instead Bool
- ECHOError.internalError contains ECHOResponseError with code and message instead String message
- Completion and noticeHandler renamed to sendCompletion and confirmNoticeHandler.
- Error handling mechanism. SendCompletion now reports that all preparation is complete and the transaction has been sent successfully. СonfirmNoticeHandler informs about transaction confirmation or confirmation error processing
- Disconnect socket connection method
- Debug flag in settings for showing logs in console
- Support Swift 5
Integration with chain version 0.19
- TransactionHash field to BtcWithdrawal, ERC20Withdrawal, ErhAddress, EthDeposit, ETHWithdrawal, SidechainETHApproveAddressOperation, SidechainETHDepositOperation objects
- EdSignature field from Block object
- ObjectType enum
- Getting erc20 token by id
- Field evmAddress in SubmitRegistrationSolutionSocketOperation and AccountCreateOperation
- BTCAssetId in GlobalProperties
- Added evmAddress object type
- Field parentOpId in ContractHistory object
- Field ethAccuracy in Contract object
- Transaction expiration time calculation
- All BTC classes name
- Operations order list
- Get contract logs operation logic
- Internal property names and types
- getFeeForWithdrawEthOperation method
- getFeeForWithdrawBtcOperation method
- getFeeForWithdrawERC20Operation method
- WIF field from getFeeForCreateContract methods
- Added tests to new methods
Socket operations:
- GetERC20TokenSocketOperation
- CheckERC20TokenSocketOperation
- GetERC20AccountDepositsSocketOperation
- GetERC20AccountWithdrawalsSocketOperation
Chain operations:
- SidechainERC20RegisterTokenOperation
- SidechainERC20DepositTokenOperation
- SidechainERC20WithdrawTokenOperation
- SidechainERC20IssueOperation
- SidechainERC20BurnOperation
Socket operations:
- GetBtcAddressSocketOperation
Chain operations:
- SidechainBTCCreateAddressOperation
- SidechainBTCWithdrawOperation
- SidechainBTCCreateIntermediateDepositOperation
- ContractFundPoolOperation
- BlockRewardOperation
- Fixed ECHOQueue completion operation
- Fixed memory leaks in register account method
- networkFeePercentage from Account object
- accountsRegisteredThisInterval from DynamicGlobalProperties object
- nextAvailableVoteId from GlobalProperties object
- maximumCommitteeCount, reservePercentOfFee, networkPercentOfFee, maxPredicateOpcode, accountsPerFeeScale, accountFeeScaleBitshifts from GlobalPropertiesParameters
- blockResult from ObjectTypes
- renamed WithdrawalEth to EthWithdrawal
- renamed DepositEth to EthDeposit
- GetContractLogsSocketOperation limit changed to toBlock. Fixed operation JSON
- Added type(SidechainType) field to GetAccountDepositsSocketOperation. Operation returns array of SidechainDepositEnum
- Added type(SidechainType) field to GetAccountWithdrawalsSocketOperation. Operation returns array of SidechainWithdrawalEnum
- QueryContractSocketOperation added amount field. Fixed operation JSON
- SidechainType enum. It contains .eth and .btc value
- BtcDeposit object
- BtcWithdrawal object
- SidechainDepositEnum. It contains EthDeposit or BtcDeposit
- SidechainWithdrawalEnum. It contains EthWithdrawal or BtcWithdrawal
- Added estimate fee methods for create contract operation(getFeeForCreateContract)
- lastRandQuantity
- contractTransferOperation
- votingAccount
- numCommittee
- votes
- activeCommitteeMembers
- waitingBlocks
- waitingETHBlocks
- committeeMemberActivateOperation
- committeeMemberDeactivateOperation
- committeeFrozenBalanceDepositOperation
- committeeFrozenBalanceWithdrawOperation
- contractInternalCreateOperation
- contractInternalCallOperation
- contractSelfdestructOperation
- sidechainBTCCreateIntermediateDepositOperation
- blockNum
- trxNum
- opNum
- accumulatedReward
- committeeFrozenBalance
- Updated input parameters
- Updated input parameters
- Now registration goes through PoW task solving
- EchoQueue memory leaks
- Added timeount error to all socket operations. Timeount can be changed when setup the framework
- Chenged notice callback. Now it returns notice or connectionLost error
- Added timeount and connection lost tests
- currentAslot
- recentlyMissedCount
- blockInterval
- budgetRecord
- pendingFees
- gasRefunded
- accountTransferOperation
- sidechainChangeConfigOperation
- delegateShare
- lastRandQuantity
- frozenBalance
- btcAddress
- btcIntermediateDeposit
- btcDeposit
- btcWithdraw
- btcAggregating
- waitingETHBlocks
- Added enum which represent evm or x86 contract log
- ContractLogx86
- balanceFreezeOperation
- balanceUnfreezeOperation
- sidechainERC20IssueOperation
- sidechainERC20BurnOperation
- sidechainBTCCreateAddressOperatio
- sidechainBTCIntermediateDepositOperatio
- sidechainBTCDepositOperatio
- sidechainBTCWithdrawOperatio
- sidechainBTCApproveWithdrawOperatio
- sidechainBTCAggregateOperatio
- blockRewardOperation
- Added tests to subscribeToAccount, subscribeToBlock, subscribeToDynamicGlobalProperties
- signer changed to producer
- Fixed returns parameter to ContractLogEnum
- Fixed returns parameter to Bool
- Removed fromBlock and toBlock fields
- Fixed AssetAmount mapping for big values
- Updated all tests and constants
- marketFeePercent
- maxMarketFee
- whitelistMarkets
- blacklistMarkets
- forceSettlementDelaySec
- forceSettlementOffsetPercent
- maximumForceSettlementVolume
- isPredictionMarket
- membershipExpirationDate
- referrer
- lifetimeReferrer
- lifetimeReferrerFeePercentage
- referrerName
- referrer
- referrerPercent
- lifetimeReferrer_percent_of_fee
- cashbackVestingThreshold
- countNonMemberVotes
- allowNonMemberWhitelists
- feeLiquidationThreshold
- recentSlotsFilled
- delegate
- prevSignatures
- vmRoot
- erc20WithdrawTopic
- gasPrice
Changed operations ordinals
- HistoricalTransfer - 1.6.
- ContractInfo - 1.9.
- ContractResult - 1.10.
- Account statistic - 2.5.
Replaced passwordOrWif with wif in the following methods:
- isOwnedBy
- registerAccount
- createAsset
- issueAsset
- createContract
- callContract
- generateEthAddress
- withdrawalEth
- sendTransferOperation
Added account registration by wif Added method for account wif (active and echorand key) changing Added random account's private key generation
Removed ECKey and all connected features
Removed tests with password and added required tests with wif
Added Extensions to CallContractOperation, CreateContractOperation, SidechainBurnOperation, SidechainIssueOperation
Updated tests according to changed methods
- Account - removed owner Authority
- AccountOptions - removed memo
- Public keys prefix - ECHO
- Added new virtual operations to account history
- getAccountDeposits - returns all approved deposits, for the given account id
- getAccountWithdrawals - returns all approved withdrawals, for the given account id
Fixed OperationType enum to actual Removed memo from all operations
- SidechainBurnSocketOperation (virtual)
- SidechainIssueSocketOperation (virtual)
Fixed GlobalProperties
- DepositEth
- WithdrawalEth
- FeeType - represent fee for operation (AssetAmount or CallContractFee)
- CallContractFee
- Memo
Updated tests according to changed methods
Owner Authority was removed from the network Active Authority key was changed to EdDSA (same key used in Echorand)
- Account - removed owner authority
- AddressKeysContainer - removed owner keychain
- AccountUpdateOperation - removed owner authority
- RegisterAccountSocketOperation - removed owner key
- SignaturesGenerator - changed EcDSA signature to EdDSA
Added fee muliplier which will be used for contract operations
- getBlock - get block by block number
- subscribeContract - subscribe to contract changes by contract ID
- getEthAddress - returns generated ETH address by account ID
- getAllContracts
- subscribeContractLogs
Fixed OperationType enum to match current state
- ContractTransfetOperation
- GenerateEthAddressOperation
- WithdrawalEthOperation
Fixed ObjectType enum to match current state
- ContractHistory
- EthAddress
Now we have two tests sets. The fitst is offline tests with stubs and the second is online test. Online tests are located in ECHONetworkTests target.
- Fixed concurrency issue
- Fixed encode/decode bytes for contract bytecode
- Fixed decode contract address from contract bytecode
- Fixed decode address from contract bytecode
- Fixed setSubscribeCallback method. Now it is called on framework launch
- SocketMessangerImp is now public
- ECHOQueue is now public