tx · 9h8kP26psTHcaEPwSF2e6ERxS72QjbizNwSKiBZD9XM8
3MwoEuUZamv3Vpoyg2iSedai5T4HKtZekjc: -0.01000000 Waves
2019.06.24 20:57 [556505] smart account 3MwoEuUZamv3Vpoyg2iSedai5T4HKtZekjc > SELF 0.00000000 Waves
{
"type": 13,
"id": "9h8kP26psTHcaEPwSF2e6ERxS72QjbizNwSKiBZD9XM8",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1561399055689,
"version": 1,
"sender": "3MwoEuUZamv3Vpoyg2iSedai5T4HKtZekjc",
"senderPublicKey": "2J6f1uLB2Sij1hTws5G8h5f645L2T9JmhpyWMhufjXew",
"proofs": [
"vqDXfMW9ymQorzGEBTJm6auV2XCgCHkkcSczx2fPfRPkrCutUirkmQRm67GCstR1C2NmEr9gJ9rXzfhJ2CqA92f"
],
"script": "base64:AwQAAAAIYnV5ZXJQdWIJAQAAAAdleHRyYWN0AAAAAQkABB0AAAACBQAAAAR0aGlzAgAAAAVidXllcgQAAAAJc2VsbGVyUHViCQEAAAAHZXh0cmFjdAAAAAEJAAQdAAAAAgUAAAAEdGhpcwIAAAAGc2VsbGVyBAAAABB2ZXJpZmljYXRpb25IYXNoCQEAAAAHZXh0cmFjdAAAAAEJAAQcAAAAAgUAAAAEdGhpcwIAAAAQdmVyaWZpY2F0aW9uSGFzaAQAAAANYmxvY2tVbmxvY2tlZAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMCAAAADWJsb2NrVW5sb2NrZWQEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAAAAAAAAIJAAH1AAAAAQgFAAAAAXQAAAAKYXR0YWNobWVudAUAAAAQdmVyaWZpY2F0aW9uSGFzaAeX+m+G",
"chainId": 84,
"height": 556505,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let buyerPub = extract(getString(this, "buyer")) |
---|
| 4 | + | let sellerPub = extract(getString(this, "seller")) |
---|
| 5 | + | let verificationHash = extract(getBinary(this, "verificationHash")) |
---|
| 6 | + | let blockUnlocked = extract(getInteger(this, "blockUnlocked")) |
---|
| 7 | + | match tx { |
---|
| 8 | + | case t: TransferTransaction => |
---|
| 9 | + | (keccak256(t.attachment) == verificationHash) |
---|
| 10 | + | case _ => |
---|
| 11 | + | false |
---|
| 12 | + | } |
---|