tx · ER8yuxwBhxJYiRRtTnTgperZtvoBYX6zXM2KVaiMLDvB
3Mv8ZCtmGt2mkm6YZzg2pBcYJEoRNZkJiZe: -0.01000000 Waves
2023.01.13 12:00 [2402968] smart account 3Mv8ZCtmGt2mkm6YZzg2pBcYJEoRNZkJiZe > SELF 0.00000000 Waves
{
"type": 13,
"id": "ER8yuxwBhxJYiRRtTnTgperZtvoBYX6zXM2KVaiMLDvB",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1673600422010,
"version": 2,
"chainId": 84,
"sender": "3Mv8ZCtmGt2mkm6YZzg2pBcYJEoRNZkJiZe",
"senderPublicKey": "HZCdWFmN7ku5dEQkeiHsP2k2BkNDCck5pcq6g7FLCZXq",
"proofs": [
"tStL6s8aHKZwASyZSzrsT6fbCAa2tq77aTfAm7EQsCTaBc5WfzU8sk6SngNGYfmP3LU4GWSSmKcBdzydf83oVBY"
],
"script": "base64:BgIHCAISAwoBCAABAWkBA2ZvbwEEbmFtZQQEdGVzdAYDCQAAAgUEdGVzdAUEdGVzdAkAlAoCBQNuaWwFBHVuaXQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AD+JLlQ==",
"height": 2402968,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EgQP5ptxVtZZKdGYKupbGsXWj4nUF46m18mpDcxwW8zT
Next: 3LVb4yzL3JtEwvxhMyg62Lk813bUEfV7o37DZZCRj2dx
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func test () = { |
---|
8 | | - | let stakingContract = Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz') |
---|
9 | | - | let lpStakingPoolsContract = valueOrErrorMessage(getString(stakingContract, makeString(["%s", "lpStakingPoolsContract"], "__")), "lp_staking_pools contract address is undefined") |
---|
10 | | - | if (true) |
---|
11 | | - | then throw(lpStakingPoolsContract) |
---|
12 | | - | else nil |
---|
| 7 | + | func foo (name) = { |
---|
| 8 | + | let test = true |
---|
| 9 | + | if ((test == test)) |
---|
| 10 | + | then $Tuple2(nil, unit) |
---|
| 11 | + | else throw("Strict value is not equal to itself.") |
---|
13 | 12 | | } |
---|
14 | | - | |
---|
15 | | - | |
---|
16 | | - | |
---|
17 | | - | @Callable(i) |
---|
18 | | - | func test1 () = $Tuple2(nil, invoke(this, "test", nil, nil)) |
---|
19 | | - | |
---|
20 | | - | |
---|
21 | | - | |
---|
22 | | - | @Callable(i) |
---|
23 | | - | func test2 () = $Tuple2(nil, invoke(this, "test1", nil, nil)) |
---|
24 | 13 | | |
---|
25 | 14 | | |
---|
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 test () = { |
---|
8 | | - | let stakingContract = Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz') |
---|
9 | | - | let lpStakingPoolsContract = valueOrErrorMessage(getString(stakingContract, makeString(["%s", "lpStakingPoolsContract"], "__")), "lp_staking_pools contract address is undefined") |
---|
10 | | - | if (true) |
---|
11 | | - | then throw(lpStakingPoolsContract) |
---|
12 | | - | else nil |
---|
| 7 | + | func foo (name) = { |
---|
| 8 | + | let test = true |
---|
| 9 | + | if ((test == test)) |
---|
| 10 | + | then $Tuple2(nil, unit) |
---|
| 11 | + | else throw("Strict value is not equal to itself.") |
---|
13 | 12 | | } |
---|
14 | | - | |
---|
15 | | - | |
---|
16 | | - | |
---|
17 | | - | @Callable(i) |
---|
18 | | - | func test1 () = $Tuple2(nil, invoke(this, "test", nil, nil)) |
---|
19 | | - | |
---|
20 | | - | |
---|
21 | | - | |
---|
22 | | - | @Callable(i) |
---|
23 | | - | func test2 () = $Tuple2(nil, invoke(this, "test1", nil, nil)) |
---|
24 | 13 | | |
---|
25 | 14 | | |
---|