Address

Address in L1X is is the last 20 bytes of keccak256::hash(PAYLOAD) value

PAYLOAD depends on the account's (System` or `User`) type and the action is processed.

There are the following accounts which have addresses:

  1. User account. PAYLOAD is Public Key

  2. Contract code address. PAYLOAD is AccountAddress + ClusterAddress + NONCE. Generated when a new contract is deployed.

  3. Contract instance address. PAYLOAD is AccountAddress + ConractCodeAddress + ClusterAddress + NONCE. Generated when a contract is initialized.

  4. Pool address. PAYLOAD is AccountAddress + ClusterAddress + NONCE. Generated when a user stakes L1X tokens

Last updated