tx · 416MRowN5PnPmFZftVBWWgMcsXsqNoKBwxWsH6nDek6w
3NAfrN5xp6G6o34pzEhDwKDjz37NUaEpi8E: -0.00100000 Waves
2024.11.11 06:11 [3366219] smart account 3NAfrN5xp6G6o34pzEhDwKDjz37NUaEpi8E > SELF 0.00000000 Waves
{
"type": 13,
"id": "416MRowN5PnPmFZftVBWWgMcsXsqNoKBwxWsH6nDek6w",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1731294755675,
"version": 1,
"sender": "3NAfrN5xp6G6o34pzEhDwKDjz37NUaEpi8E",
"senderPublicKey": "4Hyg7NjV4cswejcnGeMvk6x68P2RLt9Y1ontHkWtTcEQ",
"proofs": [
"3wVb6CrgEenirx3Qpzj9AeFbA2id6agX2rmkMCHBy2FGMx9fUMBNWxb1dQAXHboEnofCn99GBGisBEz7JJj5DCXF"
],
"script": "base64:CAIECAISAAABAWkBD2ludm9rZVNldFNjcmlwdAAEDXRhcmdldEFkZHJlc3MJAQdBZGRyZXNzAQEaAVSZx0WtDDWpI1sWB5nq1bjUgLNfB2OnQhUECW5ld1NjcmlwdAIABAJ0eAkA/AcEBQ10YXJnZXRBZGRyZXNzAglzZXRTY3JpcHQJAMwIAgUJbmV3U2NyaXB0BQNuaWwFA25pbAMJAAACBQJ0eAUCdHgFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgDvczxz",
"chainId": 84,
"height": 3366219,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: mzVHyT7uHpWxPzc1HnJ9WdJrNLYZN8zrCdu5LAsyUwP
Next: 2hMHu8oBKBMQEQhsZoBMEN8MuAv4nieLz5Tof7o3DDgB
Diff:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 6 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 8 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func nullifyScript () = { |
---|
| 7 | + | func invokeSetScript () = { |
---|
8 | 8 | | let targetAddress = Address(base58'3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx') |
---|
9 | | - | let scriptTx = invoke(targetAddress, "setScript", nil, nil) |
---|
10 | | - | if ((scriptTx == scriptTx)) |
---|
| 9 | + | let newScript = "" |
---|
| 10 | + | let tx = invoke(targetAddress, "setScript", [newScript], nil) |
---|
| 11 | + | if ((tx == tx)) |
---|
11 | 12 | | then nil |
---|
12 | 13 | | else throw("Strict value is not equal to itself.") |
---|
13 | 14 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 6 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 8 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func nullifyScript () = { |
---|
| 7 | + | func invokeSetScript () = { |
---|
8 | 8 | | let targetAddress = Address(base58'3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx') |
---|
9 | | - | let scriptTx = invoke(targetAddress, "setScript", nil, nil) |
---|
10 | | - | if ((scriptTx == scriptTx)) |
---|
| 9 | + | let newScript = "" |
---|
| 10 | + | let tx = invoke(targetAddress, "setScript", [newScript], nil) |
---|
| 11 | + | if ((tx == tx)) |
---|
11 | 12 | | then nil |
---|
12 | 13 | | else throw("Strict value is not equal to itself.") |
---|
13 | 14 | | } |
---|
14 | 15 | | |
---|
15 | 16 | | |
---|