PornToken

PornTokenV2 PT Upgrader Instructions

Jan 10th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. /**
  2. * PornTokenV2 PT Upgrader on Ethereum Network: Ropsten Testnet
  3. * Converts PT to PTWO on a 4:1 reverse split basis
  4. *
  5. * The PT user transferring to PTWO must call
  6. * The approve(_PT_TO_PTWO_Contract_address, uint256 _value) function
  7. * from original token contract: 0xfcb0ce0a1e9c39d492b84f1bc64095a5dd91e3b5
  8. *
  9. * NOTE: _value must be expressed in the number of PT you want to convert + 18 zeros
  10. * to represent it's 18 decimal places.
  11. * So if you want to send 1 PT, do approve(0x98b4c0da7521b27707f5a5e01133faaf0680428b, 1000000000000000000)
  12. *
  13. * ...with the address of this Contract as the first argument
  14. * and the amount of PT to convert to PTWO as the 2nd argument
  15. *
  16. * Then they must call the ptToPtwo() method in this contract
  17. * and they will receive a 4:1 reverse split amount of PTWO
  18. * meaning 4 times less PTWO than PT
  19. */
Add Comment
Please, Sign In to add comment