tx · EH6VowdqZH1aH41qamJ1goQsFSqmVJ3FdCekVfCy4oxC 3Mv8ZCtmGt2mkm6YZzg2pBcYJEoRNZkJiZe: -0.01000000 Waves 2023.01.11 16:40 [2400366] smart account 3Mv8ZCtmGt2mkm6YZzg2pBcYJEoRNZkJiZe > SELF 0.00000000 Waves
{ "type": 13, "id": "EH6VowdqZH1aH41qamJ1goQsFSqmVJ3FdCekVfCy4oxC", "fee": 1000000, "feeAssetId": null, "timestamp": 1673444477578, "version": 2, "chainId": 84, "sender": "3Mv8ZCtmGt2mkm6YZzg2pBcYJEoRNZkJiZe", "senderPublicKey": "HZCdWFmN7ku5dEQkeiHsP2k2BkNDCck5pcq6g7FLCZXq", "proofs": [ "3LxJAp41N6oE4PxPM8avNq5Eq2omWW7wG18rNgxWq8XUAKKGnT98g2rm1T1FxvD4cx2pXMa48LJiHL2XUrBDrGTc" ], "script": "base64:BgIECAISAAABAWkBBHRlc3QABA9zdGFraW5nQ29udHJhY3QJAQdBZGRyZXNzAQEaAVRZQCeTa0sp7r6xoQ7m3EC4z6SNegzrtQ8EFmxwU3Rha2luZ1Bvb2xzQ29udHJhY3QJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQ9zdGFraW5nQ29udHJhY3QJALkJAgkAzAgCAgIlcwkAzAgCAhZscFN0YWtpbmdQb29sc0NvbnRyYWN0BQNuaWwCAl9fAi5scF9zdGFraW5nX3Bvb2xzIGNvbnRyYWN0IGFkZHJlc3MgaXMgdW5kZWZpbmVkAwYJAAIBBRZscFN0YWtpbmdQb29sc0NvbnRyYWN0BQNuaWwAuOCJ/A==", "height": 2400366, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7PzrgyrkgRGQ4vmL5S1czrGsdaCrvgF2tU2gybwVtuaa Next: EgQP5ptxVtZZKdGYKupbGsXWj4nUF46m18mpDcxwW8zT Full:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func str () = $Tuple2(nil, "test") | |
5 | 4 | ||
6 | 5 | ||
7 | - | func int () = $Tuple2(nil, 123) | |
8 | - | ||
9 | - | ||
10 | - | func list () = $Tuple2(nil, [1, "2", 3]) | |
11 | - | ||
12 | - | ||
13 | - | func tuple () = $Tuple2(nil, $Tuple3(1, 2, 3)) | |
14 | - | ||
15 | - | ||
16 | - | func listTuple () = $Tuple2(nil, [$Tuple2(1, 2), $Tuple2(2, 3)]) | |
17 | - | ||
18 | - | ||
19 | - | func test () = $Tuple2(nil, $Tuple3(ScriptTransfer(this, 1, unit), wavesBalance(this), lastBlock)) | |
20 | - | ||
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 | |
13 | + | } | |
21 | 14 | ||
22 | 15 |
github/deemru/w8io/169f3d6 27.92 ms ◑