DeFo tokens' management
Updated over a week ago

Highlighted topics:

Intro

Since the Neutrino team decided to gradually phase out DeFo project, we are removing DeFo staking, DeFo swaps and Neutrino pools from the WX Network site. If you cannot unstake your DeFo tokens, swap them or withdraw XTN from Neutrino pools via WX Network site, please follow the instructions below.

How to unstake DeFo token

Go to the waves-dapp.com and log into the account you used to stake DeFo tokens. Then enter the DeFo staking smart contract address - 3PFhcMmEZoQTQ6ohA844c7C9M8ZJ18P8dDj - into the Search for Smart Contract field and press Enter.

Fill in the fields in the stopStaking section:

- in the unlockAmount field, enter the amount of the staked DeFo token (without decimals) you want to unstake (just multiply amount of staked token by 1,000,000),

- and in the assetIdString field, enter the DeFo token’s ID you want to withdraw from staking.

After filling in the form, click on the Invoke button in the stopStaking section and confirm the transaction.

Additional information:

DeFo tokens’ IDs:

EURN - DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t

RUBN - eWeMD5KNeuRaALCAb4uuJKtAvon2JcTyXQyoBMhuN2X

CNYN - 9LNqjybyCX1oexCub4yY7hdJf6aeP4HeV5LpsjcNHwRR

JPYN - 8inca5fv4xr6KZtRMRPYr7vADfk8fd6G2z1gMoRkbUYS

UAHN - 8zKqZF6asB6yiK8rv9nMUkJ7wAVBJndSmkC7SXJhRrM3

NGNN - 5NmV5VAhkqormdwvaQjE54yPEkNwSRtcXxhLkJbVQqkN

BRLN - DxFwXxS1r3uZ2QEiSqhe6uoXMJBsz4ShLtHvr4HDzNri

GBPN - DhaaqiG8xz8njeBuMtTM2G6avg9Jdhfrxw5onm5GaXx1

TRYN - DGbqkzM6Ds5NAF2B3GHYfyZRmWKt7xLYRYcwpMm7D6V4

If you don’t remember which DeFo tokens your staked, use this API request to check all your stakings - https://nodes.waves.exchange/addresses/data/3PFhcMmEZoQTQ6ohA844c7C9M8ZJ18P8dDj?matches=%25s%25s%25s__stakingBalance__.*__YOURWAVESADDRESS

Just replace YOURWAVESADDRESS with your Waves address, paste the request to the browser search filed and press Enter.

Received data include info about all your stakings. The staking amount can be found in the value field (don’t multiply it by 1,000,000) and DeFo token’s ID can be found in the key field.

How to swap DeFo token to XTN

Go to the waves-dapp.com and log into the account you have DeFo tokens. Then enter the address of smart contracts in the Search for Smart Contract field (depending on which token you want to swap to XTN) and press Enter.

In the sellAsset section, click on the Attach payment button, select the token you want to swap and enter its amount you want to swap to XTN.

Finally, click on the Invoke button in the sellAsset section and confirm the transaction.

Additional information:

Waves addresses of DeFo’s smart contracts:

EURN - 3P7Uf5GF5feqnG39dTBEMqhGJzEq3T7MPUW

UAHN - 3PMsU5VCcFrFnpKMh9EMMCYhjjiYTMNpMTa

CNYN - 3PPeM6UjZWjAkJDuuKoocZLwDcpyiSWNxWA

JPYN - 3PPsoLQYRjvhQTfLYnaEm6BVeJLznBFrwZK

RUBN - 3P5fnEVxY8DFCNqfigRqFJRCjBAUbpP6Rr4

NGNN - 3PMboKcJ3q7o5VS2BfxQ7VxntsN5iiaDh1b

BRLN - 3P24H3bZrLHSRYFaUr7tFgUpL6Eic55Mv2b

GBPN - 3PMVZ6LtKhvcwnYB5p1e7JmhUKLUcNbdKFg

TRYN - 3P2xtvqBiofPU7aCrrT2iX3GXLNVodq8tUk

How to swap XTN to DeFo token

Go to the waves-dapp.com and log into your account. Then enter the Neutrino contract address - 3P7Uf5GF5feqnG39dTBEMqhGJzEq3T7MPUW - into the Search for Smart Contract field and press Enter.

In the buyAsset section, click on the Attach payment button, sprcifi XTN ID (DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p) and enter its amount you want to swap to DeFo.

Finally, click on the Invoke button in the sellAsset section and confirm the transaction.


How to withdraw XTN token from Neutrino pool

Go to the waves-dapp.com and log into the account you used to invest XTN in Neutrino pools. Then enter Neutrino pools’ smart contract address - 3PQEjFmdcjd6wf1TrpkHSuDAk3zbfLSeikb - in the Search for Smart Contract field and press Enter.

Fill in the fields in the redeemFromPool section:

- in the assetCode field, enter the name of the pool where you invested XTN in (without postfix N: EUR, UAH, CNY, JPY, RUB, NGN, BRL, GBP, TRY),

- and in the amount field, enter the XTN amount you want to withdraw (but multiply token amount by 1,000,000 before entering)

Finally, click on the Invoke button in the redeemFromPool section and confirm the transaction.

You will receive withdrawing amount within a minute.

Additional information:

Perchaps, during the withdrawal, you will receive such an error - Allowed amount to redeem is less then requested: allowedAmountToRedeem=... requested=... It means that Neutrino pool have a deficit. In this case, you need to reduce the withdrawal amount to the amount specified in the allowedAmountToRedeem. When the deficit is eliminated, you will be able to withdraw remain part.


If you have any questions related to WX Network, feel free to contact us.


*tags: neutrino defo staking pool swap dapp xtn

Did this answer your question?