tx · 4U6JbE9NCSUJt8NamCadTDm98V1tMccbMWDNZ33aGwkb
3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc: -0.01400000 Waves
2021.08.30 02:56 [1680314] smart account 3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc > SELF 0.00000000 Waves
{
"type": 13,
"id": "4U6JbE9NCSUJt8NamCadTDm98V1tMccbMWDNZ33aGwkb",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1630281435209,
"version": 2,
"chainId": 84,
"sender": "3MsKhh2tBJqUdyNakXBjdq3vL7uR5Yrz6Dc",
"senderPublicKey": "793KuCHBzJorpP1hPfRJAsYdtU4pr9uYLTr8mChrzg5k",
"proofs": [
"cmdk78pcQYZcPRxRJgXHZDWx8rAodq1WwoZCJu7njhLat9Yvrg5bJ1nsWDU7AESGCHAe78iNwmsbSrorL7W41Ui"
],
"script": "base64:AAIFAAAAAAAAAHMIAhIECgIICBocCgJhMRIWY29udHJvbENvbnRyYWN0QWRkcmVzcxoHCgJhMhIBaRoKCgJhMxIEYWRkchoPCgJhNBIJaGFzaGVkVXJpGg0KAmE1EgckbWF0Y2gwGggKAmE2EgJ0eBoMCgJhNxIGdmVyaWZ5AAAAAQAAAAACYTEBAAAAGgFUpPriMtr4Il6LN8Wh1b30UXiIzTGe+k+yAAAAAQAAAAJhMgEAAAAGYWRkUmVmAAAAAgAAAAJhMwAAAAJhNAMJAQAAAAIhPQAAAAIICAUAAAACYTIAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAAJhMQkAAAIAAAABAgAAAEVJdCdzIG9yYWNsZSBtZXRob2QgYW5kIGNhbiBiZSBjYWxsZWQgb25seSBieSBjb250cm9sIGNvbnRyYWN0IGFkZHJlc3MEAAAAAmE1CQAEHQAAAAIFAAAABHRoaXMFAAAAAmE0AwkAAAEAAAACBQAAAAJhNQIAAAAEVW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAJhNAkAASwAAAACCQABLAAAAAIFAAAAAmEzAgAAAAE6CQACWAAAAAEIBQAAAAJhMgAAAA10cmFuc2FjdGlvbklkBQAAAANuaWwJAAACAAAAAQIAAAAqUmVmIGZvciBzcGVjaWZpZWQgaGFzaGVkVXJpIGFscmVhZHkgZXhpc3RzAAAAAQAAAAJhNgEAAAACYTcAAAAACQAB9AAAAAMIBQAAAAJhNgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmE2AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAmE2AAAAD3NlbmRlclB1YmxpY0tleYPEEKc=",
"height": 1680314,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HXxJ3i5c3Ff6bi9wC3isje4ie3Kaj3HHgcYZ8jb1caYY
Next: none
Diff:
Old | New | | Differences |
---|
9 | 9 | | else { |
---|
10 | 10 | | let e = getString(this, d) |
---|
11 | 11 | | if ($isInstanceOf(e, "Unit")) |
---|
12 | | - | then [StringEntry(d, c)] |
---|
| 12 | + | then [StringEntry(d, ((c + ":") + toBase58String(b.transactionId)))] |
---|
13 | 13 | | else throw("Ref for specified hashedUri already exists") |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'3N4xR95UqYH94X8cU4BGPCpPHB6wgMS8jSy' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func addRef (c,d) = if ((b.caller.bytes != a)) |
---|
8 | 8 | | then throw("It's oracle method and can be called only by control contract address") |
---|
9 | 9 | | else { |
---|
10 | 10 | | let e = getString(this, d) |
---|
11 | 11 | | if ($isInstanceOf(e, "Unit")) |
---|
12 | | - | then [StringEntry(d, c)] |
---|
| 12 | + | then [StringEntry(d, ((c + ":") + toBase58String(b.transactionId)))] |
---|
13 | 13 | | else throw("Ref for specified hashedUri already exists") |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Verifier(f) |
---|
18 | 18 | | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
19 | 19 | | |
---|