tx · FA8VMsWMtMDVNqo22HmMLWfxkUzQCqWJUBrgqqF2DNhD
3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h: -0.01000000 Waves
2023.05.22 10:49 [2588896] smart account 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h > SELF 0.00000000 Waves
{
"type": 13,
"id": "FA8VMsWMtMDVNqo22HmMLWfxkUzQCqWJUBrgqqF2DNhD",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684741777536,
"version": 2,
"chainId": 84,
"sender": "3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h",
"senderPublicKey": "3z8Q6Zu3KppVmn6fJJvrLc1Wo3krVHSvfaNcerm82md2",
"proofs": [
"3yHhVnAYQzEw1tKDyRyKsHYYi7fAZAKp3EXbC2PrLZVHc54PdoUvPuc4uGaCmWd9jr6buT1TbLnBLWEMg6GH9VdQ"
],
"script": "base64:BgIHCAISAwoBAQABAWkBA2ZvbwEBbgQOc2V0dGVyQ29udHJhY3QJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNNdTVrYXNaODVWWTV4VUNwUFlvV3I2ZkJ6aDZlR1p3Y250BANudW0JARFAZXh0ck5hdGl2ZSgxMDUwKQIFDnNldHRlckNvbnRyYWN0AghudW1WYWx1ZQQCc2kJAPwHBAUOc2V0dGVyQ29udHJhY3QCCmNoYW5nZVJhdGUJAMwIAgkAZAIFA251bQUBbgUDbmlsBQNuaWwDCQAAAgUCc2kFAnNpBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4A6Pgmig==",
"height": 2588896,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7YJJ2ukviDiUpLVaMDNHdLBGfmqzYpHfP4EAj9H9u4t9
Next: 7rMbGGt5aktHCTVDbvEGLwVXvDVt1K95jzwkRHdgF59N
Diff:
Old | New | | Differences |
---|
7 | 7 | | func foo (n) = { |
---|
8 | 8 | | let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt") |
---|
9 | 9 | | let num = getIntegerValue(setterContract, "numValue") |
---|
10 | | - | let si = invoke(setterContract, "setter", [(num + n)], nil) |
---|
| 10 | + | let si = invoke(setterContract, "changeRate", [(num + n)], nil) |
---|
11 | 11 | | if ((si == si)) |
---|
12 | 12 | | then nil |
---|
13 | 13 | | else throw("Strict value is not equal to itself.") |
---|
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 | 7 | | func foo (n) = { |
---|
8 | 8 | | let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt") |
---|
9 | 9 | | let num = getIntegerValue(setterContract, "numValue") |
---|
10 | | - | let si = invoke(setterContract, "setter", [(num + n)], nil) |
---|
| 10 | + | let si = invoke(setterContract, "changeRate", [(num + n)], nil) |
---|
11 | 11 | | if ((si == si)) |
---|
12 | 12 | | then nil |
---|
13 | 13 | | else throw("Strict value is not equal to itself.") |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|