tx · DJ71KTepPtEoAdRAKU6enbUTeVu1BdrCcGn7oZXQrrDU
3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7: -0.01000000 Waves
2021.09.03 09:28 [1686500] smart account 3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "DJ71KTepPtEoAdRAKU6enbUTeVu1BdrCcGn7oZXQrrDU",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1630650499616,
"version": 1,
"sender": "3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7",
"senderPublicKey": "8bucJnjo1rN155Zycpsunmsw9y98tqwuFbimJV4onPSe",
"proofs": [
"5oyWhLAUha18biYHTmkibqjyByHTHihjPQpi7oDYjVx7v2FT5h7hrPZBtUVwQd7c1PzCHVH8HczZ28PZtZyWHuNb"
],
"script": "base64:AAIFAAAAAAAAABgIAhIFCgMICAgSAwoBCBIICgYICAgICAgAAAAAAAAAAwAAAAFpAQAAAAVwcm94eQAAAAMAAAAEZGFwcAAAAAJmbgAAAARhcmdzBAAAAARjYWxsCQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABGRhcHAFAAAAAmZuCQAEtQAAAAIFAAAABGFyZ3MCAAAAAToIBQAAAAFpAAAACHBheW1lbnRzAwkAAAAAAAACBQAAAARjYWxsBQAAAARjYWxsBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAWkBAAAABnJlY29yZAAAAAEAAAAFdmFsdWUJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAABOgkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkCQABLAAAAAIJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAMb3JpZ2luQ2FsbGVyAAAABWJ5dGVzAgAAAAE6BQAAAAV2YWx1ZQUAAAADbmlsAAAAAWkBAAAAAmRkAAAABgAAAAVkYXBwMQAAAANmbjEAAAAFYXJnczEAAAAFZGFwcDIAAAADZm4yAAAABWFyZ3MyBAAAAAVjYWxsMQkAA/wAAAAECQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAAVkYXBwMQUAAAADZm4xCQAEtQAAAAIFAAAABWFyZ3MxAgAAAAEvBQAAAANuaWwDCQAAAAAAAAIFAAAABWNhbGwxBQAAAAVjYWxsMQQAAAAFY2FsbDIJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAFZGFwcDIFAAAAA2ZuMgkABLUAAAACBQAAAAVhcmdzMQIAAAABLwUAAAADbmlsAwkAAAAAAAACBQAAAAVjYWxsMgUAAAAFY2FsbDIFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAPfUIho=",
"chainId": 84,
"height": 1686500,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8W7eqNPiJyMsVBCKFdUiPzRmrJCf27xV5ZqENwLrBu73
Next: 9Yhxjdnau6BGeqkEsKzSeitrF5hfqVrTfKGMdmSGLbwj
Diff:
Old | New | | Differences |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Callable(i) |
---|
17 | | - | func record () = [StringEntry(((toBase58String(i.caller.bytes) + ":") + toBase58String(i.transactionId)), toBase58String(i.originCaller.bytes))] |
---|
| 17 | + | func record (value) = [StringEntry(((toBase58String(i.caller.bytes) + ":") + toBase58String(i.transactionId)), ((toBase58String(i.originCaller.bytes) + ":") + value))] |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func proxy (dapp,fn,args) = { |
---|
8 | 8 | | let call = invoke(addressFromStringValue(dapp), fn, split(args, ":"), i.payments) |
---|
9 | 9 | | if ((call == call)) |
---|
10 | 10 | | then nil |
---|
11 | 11 | | else throw("Strict value is not equal to itself.") |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Callable(i) |
---|
17 | | - | func record () = [StringEntry(((toBase58String(i.caller.bytes) + ":") + toBase58String(i.transactionId)), toBase58String(i.originCaller.bytes))] |
---|
| 17 | + | func record (value) = [StringEntry(((toBase58String(i.caller.bytes) + ":") + toBase58String(i.transactionId)), ((toBase58String(i.originCaller.bytes) + ":") + value))] |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | @Callable(i) |
---|
22 | 22 | | func dd (dapp1,fn1,args1,dapp2,fn2,args2) = { |
---|
23 | 23 | | let call1 = invoke(addressFromStringValue(dapp1), fn1, split(args1, "/"), nil) |
---|
24 | 24 | | if ((call1 == call1)) |
---|
25 | 25 | | then { |
---|
26 | 26 | | let call2 = invoke(addressFromStringValue(dapp2), fn2, split(args1, "/"), nil) |
---|
27 | 27 | | if ((call2 == call2)) |
---|
28 | 28 | | then nil |
---|
29 | 29 | | else throw("Strict value is not equal to itself.") |
---|
30 | 30 | | } |
---|
31 | 31 | | else throw("Strict value is not equal to itself.") |
---|
32 | 32 | | } |
---|
33 | 33 | | |
---|
34 | 34 | | |
---|