tx · En16k2jJpFSHWp2uLnwNYkbiLvNtJMZkxnQiysG7AJ6b

3MqPdXWunQnVsfNux9YQ3eGmMfvBKv7zpoV:  -1.00000000 Waves

2019.03.15 14:45 [537227] smart asset 3MqPdXWunQnVsfNux9YQ3eGmMfvBKv7zpoV > SELF 0.00000000 test2

{ "type": 15, "id": "En16k2jJpFSHWp2uLnwNYkbiLvNtJMZkxnQiysG7AJ6b", "fee": 100000000, "feeAssetId": null, "timestamp": 1552650353077, "version": 1, "sender": "3MqPdXWunQnVsfNux9YQ3eGmMfvBKv7zpoV", "senderPublicKey": "4fEj7DKYTPhNbYatj1wPFk8GxUNCu62QAgqgVF8A6r1y", "proofs": [ "AtVj1CqxKfeEPBRMQxwGECrMoHsznfLqkPysTHVzqcLDpTtj7PeSZHXfEHvA11bEE3QunCWSho4tVq9Ks1HuEaW" ], "assetId": "AzqDQB9HWaq9mDBnqzTyLkq3mQGP3Ksw5BM5bFuwWKti", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUEC3cmEatGb52HzfuglZKYNkiVPPK99oMBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAACXJlY2lwaWVudAkAAlgAAAABCAkABCQAAAABCAUAAAACdHgAAAAJcmVjaXBpZW50AAAABWJ5dGVzBAAAABFyZWNpcGllbnRDYXRlZ29yeQkABB0AAAACBQAAAAZpc3N1ZXIFAAAACXJlY2lwaWVudAMJAAAAAAAAAggFAAAAAnR4AAAABnNlbmRlcgUAAAAGaXNzdWVyBgkAAAIAAAABAgAAACFZb3UgY2Fubm90IHRyYW5zZmVycmVkIHRoaXMgdG9rZW4DCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAARzZ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lbiB2aWEgTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24DCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAJ0eAAAAAZzZW5kZXIFAAAABmlzc3VlcgYJAAACAAAAAQIAAAAaWW91IGNhbm5vdCBidXJuIHRoaXMgdG9rZW4DAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgflXkv2", "chainId": 84, "height": 537227, "spentComplexity": 0 } View: original | compacted Prev: Djqh3rjyREZRBwemCZ2d6QnEHyC3nyU1FxFpdBPmyDiF Next: none Diff:
OldNewDifferences
2323 else if (sell)
2424 then if ((tx.sellOrder.sender == issuer))
2525 then true
26- else throw("Error: Minimum amount to trade is 500 Clover")
26+ else throw("Error: Minimum amount To Trade is 500 Clover")
2727 else false
2828 case tx: MassTransferTransaction =>
2929 if ((tx.sender == issuer))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let issuer = Address(base58'3MqPdXWunQnVsfNux9YQ3eGmMfvBKv7zpoV')
44 match tx {
55 case tx: TransferTransaction =>
66 let recipient = toBase58String(addressFromRecipient(tx.recipient).bytes)
77 let recipientCategory = getString(issuer, recipient)
88 if ((tx.sender == issuer))
99 then true
1010 else throw("You cannot transferred this token")
1111 case tx: ExchangeTransaction =>
1212 let sell = sigVerify(tx.sellOrder.bodyBytes, tx.sellOrder.proofs[0], tx.sellOrder.senderPublicKey)
1313 let buy = sigVerify(tx.buyOrder.bodyBytes, tx.buyOrder.proofs[0], tx.buyOrder.senderPublicKey)
1414 let sellOrderSender = toBase58String(tx.sellOrder.sender.bytes)
1515 let minimumamount = 150000
1616 let maximumprice = 1
1717 if (if (buy)
1818 then if (isDefined((maximumprice > tx.buyOrder.price)))
1919 then true
2020 else throw("Transaction is not allowed by token-script ")
2121 else false)
2222 then true
2323 else if (sell)
2424 then if ((tx.sellOrder.sender == issuer))
2525 then true
26- else throw("Error: Minimum amount to trade is 500 Clover")
26+ else throw("Error: Minimum amount To Trade is 500 Clover")
2727 else false
2828 case tx: MassTransferTransaction =>
2929 if ((tx.sender == issuer))
3030 then true
3131 else throw("You cannot send this token via MassTransferTransaction")
3232 case tx: BurnTransaction =>
3333 if ((tx.sender == issuer))
3434 then true
3535 else throw("You cannot burn this token")
3636 case tx: ReissueTransaction|SetAssetScriptTransaction =>
3737 true
3838 case _ =>
3939 false
4040 }

github/deemru/w8io/026f985 
25.24 ms