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