You / Transfer
Transfer
Send tokens from your wallet, take them back out of your LAU, or move your whole identity to a new wallet. Every step is simulated from your wallet first; nothing is sent until you sign it there.
function transfer(address to, uint256 value) returns (bool)
A plain token transfer from your wallet. To make power tokens count, send them to your own LAU or YUE (the dashboard's Power tokens tab says which one each token needs).
function Withdraw(address what, uint256 amount) // LAU, owners only
Takes tokens back out of your LAU. Only an owner of the LAU can; anyone else gets OwnableUnauthorizedAccount. When it confirms, this page reads the receipt and tells you where the tokens went.
Lau.addOwner(new) → Chan.TransferYue(yue, new) → Cho.Enter(lau) → Lau.renounceOwnership(old)
Moves your identity to another wallet you control: the new wallet becomes an owner of your LAU, takes over your YUE, registers the LAU under itself, and finally the old wallet removes itself. Four transactions, in order. You will switch accounts in your wallet between steps 2 and 3, and back for step 4.
- 1
New wallet becomes an owner —
LAU.addOwner(address newWallet)
After this both wallets own the LAU. Checked by
LAU.owner(new).Sign with: the old wallet - 2
Hand over your YUE —
CHAN.TransferYue(address yue, address newWallet)
Maps your YUE, and so your bars, to the new wallet. Checked by
CHAN.Yan(new) == yue. Skip it if you have no YUE.Sign with: the old wallet - 3
Register the LAU under the new wallet —
CHO.Enter(address lau)
CHO maps the signing wallet to the LAU, so it only works once step 1 is done. Checked by
CHO.GetUserTokenAddress(new) == lau.Sign with: the new wallet (switch accounts in your wallet) - 4
Old wallet lets go irreversible
LAU.renounceOwnership(address oldWallet)
Removes the old wallet as an owner. There is no undo: from here only the new wallet controls the LAU. This page will not send it until the chain shows steps 1 and 3 done.
Sign with: the old wallet (switch back)
Each of the four calls was simulated on PulseChain against a real identity: steps 1, 2 and 4 passed when the owning wallet signed and reverted from a wallet that was not an owner; step 3 reverts InvalidOwnership until the signing wallet owns the LAU.