tx · FjqHftH6FxFPxC2qKK3GAwBuwVYJnDXQdabfJpxoViPv

3N5fU7EcRcUgewh4E7y5XyaGWHCYp9LmUpJ:  -1.00400000 Waves

2019.08.29 19:29 [652754] smart asset 3N5fU7EcRcUgewh4E7y5XyaGWHCYp9LmUpJ > SELF 0.00000000 account2

{ "type": 15, "id": "FjqHftH6FxFPxC2qKK3GAwBuwVYJnDXQdabfJpxoViPv", "fee": 100400000, "feeAssetId": null, "timestamp": 1567096064894, "version": 1, "sender": "3N5fU7EcRcUgewh4E7y5XyaGWHCYp9LmUpJ", "senderPublicKey": "Gmc2mU67saGu7XexbQkJ3gWn7xp1TkuUsR3Cd6iVXKsJ", "proofs": [ "483MQQtcprXB46wzWKLovp7WNEzp1WvZEefF5dCEbNMP2rAyAXcMKRTKhVqgxJBPev3zHP6Q2Hcj2a1JvadLJTWt" ], "assetId": "5fKfiTswyAVob2DvFVwnqznqG4cz1PLNayBip9WUu8eh", "script": "base64:AwQAAAARYWNjb3VudFRoYXRBbGxvd3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAGRAWgWVTTBAAAAAlwQWRkcmVzczEJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNOQ1ZEYVQxQVNiUmQ0MmhCU3c0RUc2b2pHVlJHdHZNaXoxBAAAAAlwQWRkcmVzczIJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNczJrVEF4ZHJjWER4d2VkZmJOalNpNmV3R0NVcXQzaGVaBAAAAAlwQWRkcmVzczMJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNONm9nbm03eG5RU0Zpb3duUzFEZjFMYWNKVVFYdmZERkxlBAAAAAlwQWRkcmVzczQJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNdFZDbU45TVpiV2Y5cXhpTUZvRVBCcmRjMmZMcDNTdnVDBAAAAAlwQWRkcmVzczUJAQAAABFhZGRyZXNzRnJvbVN0cmluZw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WQFAAAAC3BLZXk0U2lnbmVkBQAAAAtwS2V5NVNpZ25lZAAAAAAAAAAAAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAAWcmVjaXBpZW50QWRkcmVzc0Zyb21UeAkAAlgAAAABCAkABCQAAAABCAUAAAABdAAAAAlyZWNpcGllbnQAAAAFYnl0ZXMEAAAADmlzQWNjb3VudEFsbG93BAAAAAckbWF0Y2gxCQAEGgAAAAIFAAAAEWFjY291bnRUaGF0QWxsb3dzBQAAABZyZWNpcGllbnRBZGRyZXNzRnJvbVR4AwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDEFAAAAAWEA/////////wEDCQAAZwAAAAIFAAAADmlzQWNjb3VudEFsbG93AP//////////BgcHuYEBNg==", "chainId": 84, "height": 652754, "spentComplexity": 0 } View: original | compacted Prev: Dt7R2vA4tRJZgxdRVAbBGqtDqWup4ZgH3beHmvV4esfH Next: 6KETwe31cNPg9Lv8xDokw6vXA7ikJX2j2ueYmbMwHKP7 Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let accountThatAllows = Address(base58'asd')
3+let accountThatAllows = Address(base58'asdded22')
44 let pAddress1 = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
55 let pAddress2 = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
66 let pAddress3 = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let accountThatAllows = Address(base58'asd')
3+let accountThatAllows = Address(base58'asdded22')
44 let pAddress1 = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
55 let pAddress2 = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
66 let pAddress3 = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
77 let pAddress4 = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC")
88 let pAddress5 = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg")
99 match tx {
1010 case tx: SetAssetScriptTransaction =>
1111 let pKey1Signed = if (isDefined(getInteger(extract(pAddress1), toBase58String(tx.id))))
1212 then 1
1313 else 0
1414 let pKey2Signed = if (isDefined(getInteger(extract(pAddress2), toBase58String(tx.id))))
1515 then 1
1616 else 0
1717 let pKey3Signed = if (isDefined(getInteger(extract(pAddress3), toBase58String(tx.id))))
1818 then 1
1919 else 0
2020 let pKey4Signed = if (isDefined(getInteger(extract(pAddress4), toBase58String(tx.id))))
2121 then 1
2222 else 0
2323 let pKey5Signed = if (isDefined(getInteger(extract(pAddress5), toBase58String(tx.id))))
2424 then 1
2525 else 0
2626 (((((pKey1Signed + pKey2Signed) + pKey3Signed) + pKey4Signed) + pKey5Signed) >= 3)
2727 case t: TransferTransaction =>
2828 let recipientAddressFromTx = toBase58String(addressFromRecipient(t.recipient).bytes)
2929 let isAccountAllow = match getInteger(accountThatAllows, recipientAddressFromTx) {
3030 case a: Int =>
3131 a
3232 case _ =>
3333 -255
3434 }
3535 if ((isAccountAllow >= -1))
3636 then true
3737 else false
3838 case _ =>
3939 false
4040 }

github/deemru/w8io/026f985 
38.99 ms