tx · BBBC4nvE3APcWWnWR6vTr86vgdh7XkbaTa4eGCHZjT5k

3MvLoXwBdKy82DvUc18Bhtv4tcGhvNbJRte:  -0.00100000 Waves

2022.09.17 12:46 [2232943] smart account 3MvLoXwBdKy82DvUc18Bhtv4tcGhvNbJRte > SELF 0.00000000 Waves

{ "type": 13, "id": "BBBC4nvE3APcWWnWR6vTr86vgdh7XkbaTa4eGCHZjT5k", "fee": 100000, "feeAssetId": null, "timestamp": 1663407988209, "version": 2, "chainId": 84, "sender": "3MvLoXwBdKy82DvUc18Bhtv4tcGhvNbJRte", "senderPublicKey": "8kniNnhqS4yFAgjyL5p26FADdec1VLXx7SRcE3MHe5Km", "proofs": [ "2aisNLeynJKDFAgNSvNeZgdkSvAwpaAfdTnFoM8Sy549mQFvWQof7PLEMpEbp7d6kWsMMdrYaNJw5ySZbJBoK4ib" ], "script": "base64:BgIKCAISBgoECAgBAQEBCW9wQWxsb3dlZAEGYW1vdW50BAckbWF0Y2gwCQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNNckd3WVVUOVZZQWh6eFNYVFdKTjlnYUM5NVd2SldNNXpHAgR0ZXN0CQDMCAIFBmFtb3VudAUDbmlsBQNuaWwDCQABAgUHJG1hdGNoMAIHQm9vbGVhbgQBYgUHJG1hdGNoMAMFAWIGCQACAQILbm90IGFsbG93ZWQJAAIBAiFvcEFsbG93ZWQ6IHVuZXhwZWN0ZWQgcmVzdWx0IHR5cGUBAWkBBnRlbGxtZQQEYWRkMQRhZGQyCmFkZDFBbW91bnQKYWRkMkFtb3VudAQFdGVzdEEJAPwHBAkBEUBleHRyTmF0aXZlKDEwNjIpAQIjM01yR3dZVVQ5VllBaHp4U1hUV0pOOWdhQzk1V3ZKV001ekcCBHRlc3QJAMwIAgUKYWRkMkFtb3VudAUDbmlsBQNuaWwDAwkAAAIFBXRlc3RBBQV0ZXN0QQkAAAIFBXRlc3RBBgcEA3J0MQkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQERQGV4dHJOYXRpdmUoMTA2MikBBQRhZGQxBQphZGQxQW1vdW50BQR1bml0BQNuaWwEBXRlc3RCCQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNNckd3WVVUOVZZQWh6eFNYVFdKTjlnYUM5NVd2SldNNXpHAgR0ZXN0CQDMCAIFCmFkZDFBbW91bnQFA25pbAUDbmlsAwMJAAACBQV0ZXN0QgUFdGVzdEIJAAACBQV0ZXN0QgYHCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJARFAZXh0ck5hdGl2ZSgxMDYyKQEFBGFkZDIFCmFkZDJBbW91bnQFBHVuaXQFA25pbAkAAgECDW5vdCBhbGxvd2VkXzIJAAIBAg1ub3QgYWxsb3dlZF8xAEQCq2w=", "height": 2232943, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7J4LpHR23HrzjhUDC7Ai4aCYvRNgx7y3AxtExdZPHdZ5 Next: BCaTxDNe2fJugbn4wnEeTyJm69VxfCL1TrksCgAWqg9i Diff:
OldNewDifferences
1414 @Callable(i)
1515 func tellme (add1,add2,add1Amount,add2Amount) = {
1616 let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil)
17- if ((testA == true))
17+ if (if ((testA == testA))
18+ then (testA == true)
19+ else false)
1820 then {
1921 let rt1 = [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)]
2022 let testB = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil)
21- if ((testB == true))
23+ if (if ((testB == testB))
24+ then (testB == true)
25+ else false)
2226 then [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)]
2327 else throw("not allowed_2")
2428 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func opAllowed (amount) = match invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [amount], nil) {
55 case b: Boolean =>
66 if (b)
77 then true
88 else throw("not allowed")
99 case _ =>
1010 throw("opAllowed: unexpected result type")
1111 }
1212
1313
1414 @Callable(i)
1515 func tellme (add1,add2,add1Amount,add2Amount) = {
1616 let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil)
17- if ((testA == true))
17+ if (if ((testA == testA))
18+ then (testA == true)
19+ else false)
1820 then {
1921 let rt1 = [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)]
2022 let testB = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil)
21- if ((testB == true))
23+ if (if ((testB == testB))
24+ then (testB == true)
25+ else false)
2226 then [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)]
2327 else throw("not allowed_2")
2428 }
2529 else throw("not allowed_1")
2630 }
2731
2832

github/deemru/w8io/026f985 
23.48 ms