tx · E3ywmbomaigAVrnHk1NxYGXNCiZwC8UpN7p18kbWhoMx
3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa: -0.00100000 Waves
2022.09.07 18:10 [2218863] smart account 3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa > SELF 0.00000000 Waves
{
"type": 13,
"id": "E3ywmbomaigAVrnHk1NxYGXNCiZwC8UpN7p18kbWhoMx",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1662563489695,
"version": 2,
"chainId": 84,
"sender": "3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa",
"senderPublicKey": "uabndDFnsGq9PjWSXCTHbtJ6qRyJrTnAiV1p3iLLEBf",
"proofs": [
"3DQuk8pdc3qaZmPLVNAeK9Ff4s5jnM4ttEa3uzQXihGQFrV4H9Q9sD4X9zHJ4WTYPTdtV4jeyENZkUEsNYmyKuxk"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAADAAAAAARVU0ROAQAAACC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QAAAAALemVmdEFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRY2vGaOYstbjClKYntBJKB6k8Fq3GqdEwAAAAABldBVkVTMQIAAAAFV0FWRVMAAAACAAAAAWkBAAAACHVzZG5fMTAwAAAAAAQAAAAFYWRtaW4CAAAAIzNNeDF1WEhFY0VIV1lVTDh6UlY4ZGdWYUNUcnczS2RqZzZYAwkBAAAAAiE9AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAABWFkbWluCQAAAgAAAAECAAAAEW9ubHkgYWRtaW4gY2FuIGRvCQAAAgAAAAECAAAADGFjYzMgc3VjZXNzMwAAAAFpAQAAAAh1c2RuXzMwMAAAAAAEAAAABWFkbWluAgAAACMzTXgxdVhIRWNFSFdZVUw4elJWOGRnVmFDVHJ3M0tkamc2WAMJAQAAAAIhPQAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAAAVhZG1pbgkAAAIAAAABAgAAABFvbmx5IGFkbWluIGNhbiBkbwkAAAIAAAABAgAAAAxhY2MzIHN1Y2VzczMAAAAAJlVvnA==",
"height": 2218863,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: AV4HqVVf2sm8uic2AspYair65zJtTxSxqT15LGzBsUKL
Next: HAuSwvWmk6uCN4bLZX6aAdUgibJXe11fDTXz27Dvpn6G
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
5 | 5 | | |
---|
6 | | - | let zeftAddress = Address(base58'3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox') |
---|
| 6 | + | let zeftAddress = Address(base58'3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X') |
---|
7 | 7 | | |
---|
8 | | - | let admin = "3Mqj5BT9s6n6g94mxD9mqAEFxADp84g6A3s" |
---|
| 8 | + | let WAVES1 = "WAVES" |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func J1 (myaddress) = if ((toString(i.caller) != admin)) |
---|
12 | | - | then throw("only admin can do") |
---|
13 | | - | else { |
---|
14 | | - | let inv = invoke(addressFromStringValue(myaddress), "usdn_100", nil, nil) |
---|
15 | | - | if ((inv == inv)) |
---|
16 | | - | then nil |
---|
17 | | - | else throw("Strict value is not equal to itself.") |
---|
18 | | - | } |
---|
| 11 | + | func usdn_100 () = { |
---|
| 12 | + | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
| 13 | + | if ((toString(i.caller) != admin)) |
---|
| 14 | + | then throw("only admin can do") |
---|
| 15 | + | else throw("acc3 sucess3") |
---|
| 16 | + | } |
---|
19 | 17 | | |
---|
20 | 18 | | |
---|
21 | 19 | | |
---|
22 | 20 | | @Callable(i) |
---|
23 | | - | func J2 (myaddress) = if ((toString(i.caller) != admin)) |
---|
24 | | - | then throw("only admin can do") |
---|
25 | | - | else { |
---|
26 | | - | let inv = invoke(addressFromStringValue(myaddress), "usdn_300", nil, nil) |
---|
27 | | - | if ((inv == inv)) |
---|
28 | | - | then nil |
---|
29 | | - | else throw("Strict value is not equal to itself.") |
---|
30 | | - | } |
---|
| 21 | + | func usdn_300 () = { |
---|
| 22 | + | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
| 23 | + | if ((toString(i.caller) != admin)) |
---|
| 24 | + | then throw("only admin can do") |
---|
| 25 | + | else throw("acc3 sucess3") |
---|
| 26 | + | } |
---|
31 | 27 | | |
---|
32 | 28 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
5 | 5 | | |
---|
6 | | - | let zeftAddress = Address(base58'3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox') |
---|
| 6 | + | let zeftAddress = Address(base58'3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X') |
---|
7 | 7 | | |
---|
8 | | - | let admin = "3Mqj5BT9s6n6g94mxD9mqAEFxADp84g6A3s" |
---|
| 8 | + | let WAVES1 = "WAVES" |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func J1 (myaddress) = if ((toString(i.caller) != admin)) |
---|
12 | | - | then throw("only admin can do") |
---|
13 | | - | else { |
---|
14 | | - | let inv = invoke(addressFromStringValue(myaddress), "usdn_100", nil, nil) |
---|
15 | | - | if ((inv == inv)) |
---|
16 | | - | then nil |
---|
17 | | - | else throw("Strict value is not equal to itself.") |
---|
18 | | - | } |
---|
| 11 | + | func usdn_100 () = { |
---|
| 12 | + | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
| 13 | + | if ((toString(i.caller) != admin)) |
---|
| 14 | + | then throw("only admin can do") |
---|
| 15 | + | else throw("acc3 sucess3") |
---|
| 16 | + | } |
---|
19 | 17 | | |
---|
20 | 18 | | |
---|
21 | 19 | | |
---|
22 | 20 | | @Callable(i) |
---|
23 | | - | func J2 (myaddress) = if ((toString(i.caller) != admin)) |
---|
24 | | - | then throw("only admin can do") |
---|
25 | | - | else { |
---|
26 | | - | let inv = invoke(addressFromStringValue(myaddress), "usdn_300", nil, nil) |
---|
27 | | - | if ((inv == inv)) |
---|
28 | | - | then nil |
---|
29 | | - | else throw("Strict value is not equal to itself.") |
---|
30 | | - | } |
---|
| 21 | + | func usdn_300 () = { |
---|
| 22 | + | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
| 23 | + | if ((toString(i.caller) != admin)) |
---|
| 24 | + | then throw("only admin can do") |
---|
| 25 | + | else throw("acc3 sucess3") |
---|
| 26 | + | } |
---|
31 | 27 | | |
---|
32 | 28 | | |
---|