This repository is deprecated and is no longer maintained.
0x0c6e29e3 => subscribetopool
0x7c609885 => allowworkersToConteribute
0x031ee1c8 => contribute
0x16ebf77d => revealConsensus
0x5a628525 => reveal
0x06021e7e => finalized
More details of thoses functions here : https://medium.com/iex-ec/poco-series-3-poco-protocole-update-a2c8f8f30126
iexec wallet show --chain mainnet
iexec account show --chain mainnet
You will notice 2 differents lines for the account balance. ‘Stake’ and ‘Locked’.
Stake balance can be withdrawn from marketplace and received as ERC20 RLC as you know it. This ‘Stake’ balance can be used either to stake or to pay for executions and is the balance increased when you make a deposit.
When workers place their stake to execute a task, ‘Stake’ balance decreases and ‘Locked’ balance increases accordingly.
These funds are locked until the work order is complete. When the work order is completed (and PoCo consensus is achieved), ‘Locked ’balance of the user is seized and the stake balance of contributors (workers) is increased, according to smart contract rewards distributions rules.
To see your RLC balance . As usual in etherescan
To see RLC deposit balance and rewards : https://etherscan.io/address/0x0d5ef019ca4c5cc413ee892ced89d7107c5f424d#readContract
scroll down to :
and click : Query
To see your balance using the Account interface:
Now you can click on ‘Account’ to manage your account.
Just click on "Stop worker" Icon in the desktop VM. It will ask you to withdraw if you have any rewards or balances. See iexec-sdk withdraw code used here
go : https://etherscan.io/address/0x0d5ef019ca4c5cc413ee892ced89d7107c5f424d#readContract
scroll down to :
and click : Query
https://github.com/iExecBlockchainComputing/PoCo/blob/master/contracts/WorkerPool.sol#L416