tx · 8wgESKruWfvMPTsNkkwdk2cmDKjiq7PBfKUCbhD16QhA
3MxgEfdi88a5KHGTECb9CAddjnU97vaZ6pQ: -0.01000000 Waves
2018.10.10 15:39 [369499] smart account 3MxgEfdi88a5KHGTECb9CAddjnU97vaZ6pQ > SELF 0.00000000 Waves
{
"type": 13,
"id": "8wgESKruWfvMPTsNkkwdk2cmDKjiq7PBfKUCbhD16QhA",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1539175240618,
"version": 1,
"sender": "3MxgEfdi88a5KHGTECb9CAddjnU97vaZ6pQ",
"senderPublicKey": "HejH9xkv7wZz7KqGDyJhZrwJL6ZPgUmhAE5FSZAwNkYy",
"proofs": [
"6dWep99SKjU6nwPVqxonSRrANPH1LoHibsUMnuBGCFyH7EKvnYyhnHLbDsvREo4mKSMoUnn2itAdHdJv4PF6Bwu"
],
"script": "base64:AQQAAAAKdXNlclB1YktleQEAAAAgRXIG0CHqlnxaNsjTM/iP8iJX7Mt68mP1SxWt+K7IoggEAAAADnBsYXRmb3JtUHViS2V5AQAAACDrp6KXU9zHuSlirLc+704b8CPrPQyo4OcaMUwXLyBmTQQAAAAKdXNlclNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAp1c2VyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAA5wbGF0Zm9ybVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAA5wbGF0Zm9ybVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIFAAAACnVzZXJTaWduZWQFAAAADnBsYXRmb3JtU2lnbmVkAAAAAAAAAAABtTrkSQ==",
"chainId": 84,
"height": 369499,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let userPubKey = base58'5g5yfABzyJziEpoP85V5FeixYV9NfDMVSKWauypJYFSX' |
---|
| 4 | + | let platformPubKey = base58'Gru4r7r6iHxBYMAQKt7dxdNZuunuW7xsxSkPLRE1C5sJ' |
---|
| 5 | + | let userSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], userPubKey)) |
---|
| 6 | + | then 1 |
---|
| 7 | + | else 0 |
---|
| 8 | + | let platformSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], platformPubKey)) |
---|
| 9 | + | then 1 |
---|
| 10 | + | else 0 |
---|
| 11 | + | ((userSigned + platformSigned) >= 1) |
---|