tx · 3GNhkShq3sDSFsyqSStmNZBbx2uP1aQ2GbxoBg61D8GW

3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc:  -1.00000000 Waves

2019.02.28 10:58 [515015] smart asset 3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc > SELF 0.00000000 eeee

{ "type": 15, "id": "3GNhkShq3sDSFsyqSStmNZBbx2uP1aQ2GbxoBg61D8GW", "fee": 100000000, "feeAssetId": null, "timestamp": 1551340732086, "version": 1, "sender": "3MsxAJrS5TnsHQMaFdAzfKsq3bcEZVDs1sc", "senderPublicKey": "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T", "proofs": [ "2uAcmST98PuCzDLowf9fbZnMG3bJ36xvskj4ajhPcUat4rWBBVrbZ36EU3auTbZdStsTDcfgoR7feZo83eUNa49v" ], "assetId": "4HWP4oJha8gEsV4V6HvAW96pnnbgK99vwLhACGNo6PPg", "script": "base64:AQQAAAAPbWluaW11bVRyYW5zZmVyAAAAAAAF9eEABAAAAAxtaW5pbXVtUHJpY2UAAAAAAAX14QAEAAAAB0FTaWduZWQCAAAAK1dIRlpMMnNlRHpjNGNnSEV5NWpUN0xTdHQ1eHBxenRWZkI1OFZ4aGhpOFQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAAAt0cmFuc2FjdGlvbgkAA+gAAAABCQEAAAAHZXh0cmFjdAAAAAEIBQAAAAF0AAAAB2Fzc2V0SWQEAAAAByRtYXRjaDEFAAAAC3RyYW5zYWN0aW9uAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAdpc3N1ZVR4BQAAAAckbWF0Y2gxBAAAABN0cmFuc2FjdGlvbkJ5SXNzdWVyCQAAAAAAAAIIBQAAAAF0AAAAD3NlbmRlclB1Ymxp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aWNLZXkFAAAAB0FTaWduZWQGBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwAwkAAAAAAAACCQACWAAAAAEIBQAAAAF0AAAAD3NlbmRlclB1YmxpY0tleQUAAAAHQVNpZ25lZAYHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAMJAAAAAAAAAgkAAlgAAAABCAUAAAABdAAAAA9zZW5kZXJQdWJsaWNLZXkFAAAAB0FTaWduZWQGBwkAAAIAAAABAgAAACpUcmFuc2FjdGlvbiBpcyBub3QgYWxsb3dlZCBieSB0b2tlbi1zY3JpcHQj2Q0f", "chainId": 84, "height": 515015, "spentComplexity": 0 } View: original | compacted Prev: AqUmuAJpvESYzKzoamZDXM61r3TrTCpx7bDGX8dKMrRa Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let minimumTransfer = 100000000
44 let minimumPrice = 100000000
55 let ASigned = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
66 match tx {
77 case t: TransferTransaction =>
88 let transaction = transactionById(extract(t.assetId))
99 match transaction {
1010 case issueTx: IssueTransaction =>
1111 let transactionByIssuer = (t.senderPublicKey == issueTx.senderPublicKey)
1212 if (transactionByIssuer)
1313 then if ((toBase58String(t.senderPublicKey) == ASigned))
1414 then true
1515 else if ((minimumTransfer >= t.amount))
1616 then throw("Minimum transaction amount is 1 eee")
1717 else true
1818 else false
1919 case _ =>
2020 throw("Not issue tx")
2121 }
2222 case t: ExchangeTransaction =>
2323 if ((toBase58String(t.sellOrder.senderPublicKey) == ASigned))
2424 then true
2525 else {
2626 let buy = sigVerify(t.buyOrder.bodyBytes, t.buyOrder.proofs[0], t.buyOrder.senderPublicKey)
2727 if (buy)
2828 then true
2929 else if ((t.amount >= minimumTransfer))
3030 then if ((t.price > minimumPrice))
3131 then true
3232 else throw("does not match the minimum sell price")
3333 else throw("Minimum order amount is 1 eee")
3434 }
3535 case t: SetAssetScriptTransaction =>
3636 if ((toBase58String(t.senderPublicKey) == ASigned))
3737 then true
3838 else false
3939 case t: BurnTransaction =>
4040 true
4141 case t: ReissueTransaction =>
4242 if ((toBase58String(t.senderPublicKey) == ASigned))
4343 then true
4444 else false
4545 case t: MassTransferTransaction =>
4646 if ((toBase58String(t.senderPublicKey) == ASigned))
4747 then true
4848 else false
4949 case _ =>
5050 throw("Transaction is not allowed by token-script")
5151 }

github/deemru/w8io/026f985 
20.74 ms