tx · Fare8Usca87kZyhz23Vjf6wDXGKBXh2MBYXtwPKxk2WE
3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX: -0.01400000 Waves
2019.06.23 22:46 [555139] smart account 3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX > SELF 0.00000000 Waves
{
"type": 13,
"id": "Fare8Usca87kZyhz23Vjf6wDXGKBXh2MBYXtwPKxk2WE",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1561319191954,
"version": 1,
"sender": "3NBaYzWT2odsyrZ2u1ghsrHinBm4xFRAgLX",
"senderPublicKey": "HBqhfdFASRQ5eBBpu2y6c6KKi1az6bMx8v1JxX4iW1Q8",
"proofs": [
"4HC1CDCT7vpNcJonV9oAVfwCDKvt48Dq5CBkiTdbUte17Ld8ebrfhqPspQnKxvQzGzBGYGDSde5d2NdHRKQiMWdw"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAApyZXRyYW5zbWl0AAAABAAAAAdhZGRyZXNzAAAABmFtb3VudAAAAARkYXRhAAAABnJlYWxseQQAAAACdG8JAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAAHYWRkcmVzcwQAAAAFY2hlY2sJAAH3AAAAAQkAAZsAAAABBQAAAAdhZGRyZXNzAwkBAAAAASEAAAABBQAAAAZyZWFsbHkJAAACAAAAAQIAAAANcmVhbGx5ID0gdHJ1ZQMJAQAAAAIhPQAAAAIFAAAABGRhdGEFAAAABWNoZWNrCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQACWAAAAAEFAAAABGRhdGECAAAABCAhPSAJAAJYAAAAAQUAAAAFY2hlY2sCAAAAASgFAAAAB2FkZHJlc3MCAAAAASkDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABBQAAAAJ0bwkAAAIAAAABBQAAAAdhZGRyZXNzCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAAnRvBQAAAAZhbW91bnQFAAAABHVuaXQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGhOjNHA==",
"chainId": 84,
"height": 555139,
"spentComplexity": 0
}
View: original | compacted
Prev: YzRPdDUqWbnLCD84GqY4ZA4HXEz38BGdpfg6Rw4mCxG
Next: BUznhTvKtvspFUbsbBTNF1UHa8MRnK9x2LtBbhiBWCkV
Diff:
Old | New | | Differences |
---|
11 | 11 | | then throw("really = true") |
---|
12 | 12 | | else if ((data != check)) |
---|
13 | 13 | | then throw((((((toBase58String(data) + " != ") + toBase58String(check)) + "(") + address) + ")")) |
---|
14 | | - | else TransferSet(nil) |
---|
| 14 | + | else if (!(isDefined(to))) |
---|
| 15 | + | then throw(address) |
---|
| 16 | + | else TransferSet([ScriptTransfer(to, amount, unit)]) |
---|
15 | 17 | | } |
---|
16 | 18 | | |
---|
17 | 19 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func retransmit (address,amount,data,really) = { |
---|
8 | 8 | | let to = addressFromStringValue(address) |
---|
9 | 9 | | let check = sha256(toBytes(address)) |
---|
10 | 10 | | if (!(really)) |
---|
11 | 11 | | then throw("really = true") |
---|
12 | 12 | | else if ((data != check)) |
---|
13 | 13 | | then throw((((((toBase58String(data) + " != ") + toBase58String(check)) + "(") + address) + ")")) |
---|
14 | | - | else TransferSet(nil) |
---|
| 14 | + | else if (!(isDefined(to))) |
---|
| 15 | + | then throw(address) |
---|
| 16 | + | else TransferSet([ScriptTransfer(to, amount, unit)]) |
---|
15 | 17 | | } |
---|
16 | 18 | | |
---|
17 | 19 | | |
---|
18 | 20 | | @Verifier(tx) |
---|
19 | 21 | | func verify () = true |
---|
20 | 22 | | |
---|