tx · DzTkrvT25mQrqHaKKWkx1Bqj1sufmQeXnwf2sYaUocL7
3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj: -1.00000000 Waves
2018.12.16 12:16 [407181] smart account 3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj > SELF 0.00000000 Waves
{
"type": 13,
"id": "DzTkrvT25mQrqHaKKWkx1Bqj1sufmQeXnwf2sYaUocL7",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1544951777888,
"version": 1,
"sender": "3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj",
"senderPublicKey": "GiCypKVsf8iKQQcWBaCKrqsAcdYYL23SdxSP3JfmbVPC",
"proofs": [
"fca4W4DZXP8ktVDXRBpZwxytwzsyVdvXPgXNjgUfrrGGmSRY2ES6dmPYeP8HuPhQXmUsY6dZSTrVRivARAAX4hp"
],
"script": "base64:AQQAAAALdG9rZW5Jc3N1ZXIJAQAAAAdleHRyYWN0AAAAAQkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM04zZm1IVEo3eVltaUNNNVdEUmEyRlZlRXhLNE1OTEt2ZmoEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBAAAABByZWNpcGllbnRBZGRyZXNzCQAEJAAAAAEIBQAAAAF0AAAACXJlY2lwaWVudAQAAAANc2VuZGVyQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAXQAAAAPc2VuZGVyUHVibGljS2V5AwkAAGYAAAACCQAD6wAAAAIFAAAAEHJlY2lwaWVudEFkZHJlc3MIBQAAAAF0AAAAAmlkAAAAAAAAAAAAAAAAAAAAAAAACQAAAAAAAAIIBQAAAA1zZW5kZXJBZGRyZXNzAAAABWJ5dGVzCAUAAAALdG9rZW5Jc3N1ZXIAAAAFYnl0ZXMGgabCYA==",
"chainId": 84,
"height": 407181,
"spentComplexity": 0
}
View: original | compacted
Prev: GgqHjAxCV4wVp7LmKMjxRKMjaU5PAr7C4HCDfy7RktGF
Next: 2TwVxgD7FbJxJ16kgQzLhV2WsvJzeUXyCAwLLhHGL8g4
Diff:
Old | New | | Differences |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let tokenIssuer = extract(addressFromString("3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj")) |
---|
4 | 4 | | match tx { |
---|
5 | | - | case s: SetScriptTransaction => |
---|
6 | | - | let senderAddress = addressFromPublicKey(s.senderPublicKey) |
---|
7 | | - | (senderAddress.bytes == tokenIssuer.bytes) |
---|
8 | 5 | | case t: TransferTransaction => |
---|
9 | 6 | | let recipientAddress = addressFromRecipient(t.recipient) |
---|
10 | 7 | | let senderAddress = addressFromPublicKey(t.senderPublicKey) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let tokenIssuer = extract(addressFromString("3N3fmHTJ7yYmiCM5WDRa2FVeExK4MNLKvfj")) |
---|
4 | 4 | | match tx { |
---|
5 | | - | case s: SetScriptTransaction => |
---|
6 | | - | let senderAddress = addressFromPublicKey(s.senderPublicKey) |
---|
7 | | - | (senderAddress.bytes == tokenIssuer.bytes) |
---|
8 | 5 | | case t: TransferTransaction => |
---|
9 | 6 | | let recipientAddress = addressFromRecipient(t.recipient) |
---|
10 | 7 | | let senderAddress = addressFromPublicKey(t.senderPublicKey) |
---|
11 | 8 | | if ((assetBalance(recipientAddress, t.id) > 0)) |
---|
12 | 9 | | then 0 |
---|
13 | 10 | | else (senderAddress.bytes == tokenIssuer.bytes) |
---|
14 | 11 | | case _ => |
---|
15 | 12 | | true |
---|
16 | 13 | | } |
---|