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:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func tellme (add1,add2,add1Amount,add2Amount) = { |
---|
8 | | - | let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil) |
---|
| 8 | + | let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil) |
---|
9 | 9 | | if ((testA == testA)) |
---|
10 | 10 | | 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) |
---|
13 | 13 | | if ((testB == testB)) |
---|
14 | | - | then [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)] |
---|
| 14 | + | then [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)] |
---|
15 | 15 | | else throw("not allowed_2") |
---|
16 | 16 | | } |
---|
17 | 17 | | else throw("not allowed_1") |
---|
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 | 7 | | func tellme (add1,add2,add1Amount,add2Amount) = { |
---|
8 | | - | let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add1Amount], nil) |
---|
| 8 | + | let testA = invoke(addressFromStringValue("3MrGwYUT9VYAhzxSXTWJN9gaC95WvJWM5zG"), "test", [add2Amount], nil) |
---|
9 | 9 | | if ((testA == testA)) |
---|
10 | 10 | | 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) |
---|
13 | 13 | | if ((testB == testB)) |
---|
14 | | - | then [ScriptTransfer(addressFromStringValue(add2), add2Amount, unit)] |
---|
| 14 | + | then [ScriptTransfer(addressFromStringValue(add1), add1Amount, unit)] |
---|
15 | 15 | | else throw("not allowed_2") |
---|
16 | 16 | | } |
---|
17 | 17 | | else throw("not allowed_1") |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|