tx · 6UWAwrV9VNtgqQKGed5mNaiMqXPmXJwhRQHPggmNPg2S
3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq: -0.01000000 Waves
2023.05.19 10:00 [2584505] smart account 3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq > SELF 0.00000000 Waves
{
"type": 13,
"id": "6UWAwrV9VNtgqQKGed5mNaiMqXPmXJwhRQHPggmNPg2S",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684479703648,
"version": 2,
"chainId": 84,
"sender": "3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq",
"senderPublicKey": "57SkjQUEwC1ayCqLbXLuzBqifK6B6SR6rfxtGsbAo3zW",
"proofs": [
"5wJtFTcYzuuTLvN22xhVHPyPhxmtBQUCYCCua4V4mT7R5q43DsHNN8k3vX9Xq8TBSWSPjVNVVZrfXFrSFiNBgZsP"
],
"script": "base64:BgIGCAISABIAAQADa2V5AgZmb29iYXICAWkBA2ZvbwAJAMwIAgkBDEludGVnZXJFbnRyeQIFA2tleQABBQNuaWwBaQEDYmFyAAQDZm9vCQD8BwQFBHRoaXMCA2ZvbwUDbmlsBQNuaWwJAMwIAgkBDEludGVnZXJFbnRyeQIFA2tleQACBQNuaWwA1/ZEkw==",
"height": 2584505,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2egQb1p7kLdroqh31KpveM31AnTchahgq6JLoaKsHgLC
Next: 5W4of4PqH3YCug37kQ1NVVqnQ5aE3eyntkJJ3NLpKVGA
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let key = "foobar" |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func foo () = [IntegerEntry(key, 1)] |
---|
| 8 | + | |
---|
4 | 9 | | |
---|
5 | 10 | | |
---|
6 | 11 | | @Callable(i) |
---|
7 | | - | func update () = { |
---|
8 | | - | let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt") |
---|
9 | | - | [IntegerEntry("CopyValue", getIntegerValue(setterContract, "numValue"))] |
---|
| 12 | + | func bar () = { |
---|
| 13 | + | let foo = invoke(this, "foo", nil, nil) |
---|
| 14 | + | [IntegerEntry(key, 2)] |
---|
10 | 15 | | } |
---|
11 | 16 | | |
---|
12 | 17 | | |
---|