tx · BWLsaXeV4hDdCG6kqzPbETyLF3Lj3GrxctW9mvZTf2p5
3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq: -0.01000000 Waves
2023.05.22 09:51 [2588840] smart account 3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq > SELF 0.00000000 Waves
{
"type": 13,
"id": "BWLsaXeV4hDdCG6kqzPbETyLF3Lj3GrxctW9mvZTf2p5",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684738329618,
"version": 2,
"chainId": 84,
"sender": "3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq",
"senderPublicKey": "57SkjQUEwC1ayCqLbXLuzBqifK6B6SR6rfxtGsbAo3zW",
"proofs": [
"3ittEGccnUmeVEUpXuJ6RLgHuB2RLudokCFeFwi9jexSdHPnnK7zg4ZXYL8Nziqf5N54u3XRF5on9MGsrhzUwwQ1"
],
"script": "base64:BgIECAISAAABAWkBBnVwZGF0ZQAEDnNldHRlckNvbnRyYWN0CQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTXU1a2FzWjg1Vlk1eFVDcFBZb1dyNmZCemg2ZUdad2NudAkAzAgCCQEMSW50ZWdlckVudHJ5AgIJQ29weVZhbHVlCQERQGV4dHJOYXRpdmUoMTA1MCkCBQ5zZXR0ZXJDb250cmFjdAIIbnVtVmFsdWUFA25pbAAMaU2h",
"height": 2588840,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 5f4gy3MMKe2RSUM8wHQHe8jyqtQ4SkaURvswUx28rV6Z
Next: 7bYoLBLXwHyUBgn9VvjAJQvnHEihN6zfx7fHZUT8Hs6k
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func foo () = [IntegerEntry("foobar", 1)] |
---|
8 | | - | |
---|
9 | | - | |
---|
10 | | - | |
---|
11 | | - | @Callable(i) |
---|
12 | | - | func bar () = { |
---|
13 | | - | let foo = invoke(this, "foo", nil, nil) |
---|
14 | | - | if ((foo == foo)) |
---|
15 | | - | then [IntegerEntry("foobar", 2)] |
---|
16 | | - | else throw("Strict value is not equal to itself.") |
---|
| 7 | + | func update () = { |
---|
| 8 | + | let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt") |
---|
| 9 | + | [IntegerEntry("CopyValue", getIntegerValue(setterContract, "numValue"))] |
---|
17 | 10 | | } |
---|
18 | 11 | | |
---|
19 | 12 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func foo () = [IntegerEntry("foobar", 1)] |
---|
8 | | - | |
---|
9 | | - | |
---|
10 | | - | |
---|
11 | | - | @Callable(i) |
---|
12 | | - | func bar () = { |
---|
13 | | - | let foo = invoke(this, "foo", nil, nil) |
---|
14 | | - | if ((foo == foo)) |
---|
15 | | - | then [IntegerEntry("foobar", 2)] |
---|
16 | | - | else throw("Strict value is not equal to itself.") |
---|
| 7 | + | func update () = { |
---|
| 8 | + | let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt") |
---|
| 9 | + | [IntegerEntry("CopyValue", getIntegerValue(setterContract, "numValue"))] |
---|
17 | 10 | | } |
---|
18 | 11 | | |
---|
19 | 12 | | |
---|