tx · 8yfjR4QLN48egy9BrkptFbcJGpRPpst6iTHc8v7hMraQ

3MvLoXwBdKy82DvUc18Bhtv4tcGhvNbJRte:  -0.00100000 Waves

2022.09.17 12:28 [2232927] smart account 3MvLoXwBdKy82DvUc18Bhtv4tcGhvNbJRte > SELF 0.00000000 Waves

{ "type": 13, "id": "8yfjR4QLN48egy9BrkptFbcJGpRPpst6iTHc8v7hMraQ", "fee": 100000, "feeAssetId": null, "timestamp": 1663406958025, "version": 2, "chainId": 84, "sender": "3MvLoXwBdKy82DvUc18Bhtv4tcGhvNbJRte", "senderPublicKey": "8kniNnhqS4yFAgjyL5p26FADdec1VLXx7SRcE3MHe5Km", "proofs": [ "3Fwqbw3fT5PyFWB43ARo5pWDET2AobqAcWzou5y463NWirjqQ2xHxm74MrMQ6isjkV8YJgzgiQnqnd23GP5YPj27" ], "script": "base64:BgIKCAISBgoECAgBAQABAWkBBnRlbGxtZQQEYWRkMQRhZGQyCmFkZDFBbW91bnQKYWRkMkFtb3VudAQFdGVzdEEJAPwHBAkBEUBleHRyTmF0aXZlKDEwNjIpAQIjM01yR3dZVVQ5VllBaHp4U1hUV0pOOWdhQzk1V3ZKV001ekcCBHRlc3QJAMwIAgUKYWRkMkFtb3VudAUDbmlsBQNuaWwDCQAAAgUFdGVzdEEFBXRlc3RBBANydDEJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBEUBleHRyTmF0aXZlKDEwNjIpAQUEYWRkMgUKYWRkMkFtb3VudAUEdW5pdAUDbmlsBAV0ZXN0QgkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTXJHd1lVVDlWWUFoenhTWFRXSk45Z2FDOTVXdkpXTTV6RwIEdGVzdAkAzAgCBQphZGQxQW1vdW50BQNuaWwFA25pbAMJAAACBQV0ZXN0QgUFdGVzdEIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBEUBleHRyTmF0aXZlKDEwNjIpAQUEYWRkMQUKYWRkMUFtb3VudAUEdW5pdAUDbmlsCQACAQINbm90IGFsbG93ZWRfMgkAAgECDW5vdCBhbGxvd2VkXzEARuBFiw==", "height": 2232927, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GUxLQfsNHx9jjcHWmF7n5B1sUcnHXdV9pn9CissR4Lsf Next: 6FvHTa1pryweZ6XtZSqbAvBRcQho7cNsZeTYzSDXJhWW Diff:
OldNewDifferences
55
66 @Callable(i)
77 func tellme (add1,add2,add1Amount,add2Amount) = {
8- let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil)
8+ let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil)
99 if ((testA == testA))
1010 then {
11- let rt1 = [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)]
12- let testB = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil)
11+ let rt1 = [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)]
12+ let testB = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil)
1313 if ((testB == testB))
14- then [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)]
14+ then [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)]
1515 else throw("not allowed_2")
1616 }
1717 else throw("not allowed_1")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func tellme (add1,add2,add1Amount,add2Amount) = {
8- let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil)
8+ let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil)
99 if ((testA == testA))
1010 then {
11- let rt1 = [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)]
12- let testB = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil)
11+ let rt1 = [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)]
12+ let testB = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil)
1313 if ((testB == testB))
14- then [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)]
14+ then [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)]
1515 else throw("not allowed_2")
1616 }
1717 else throw("not allowed_1")
1818 }
1919
2020

github/deemru/w8io/026f985 
27.02 ms