tx · HT3wN7tuiqSJRLe3FjEq8NvWuZKvU85rfwiiiaJHjDt9
3Mu3Tw8XEgPpWs3wvWZdyESjYgVHfzUzmvz: -0.01000000 Waves
2022.11.10 15:31 [2311051] smart account 3Mu3Tw8XEgPpWs3wvWZdyESjYgVHfzUzmvz > SELF 0.00000000 Waves
{
"type": 13,
"id": "HT3wN7tuiqSJRLe3FjEq8NvWuZKvU85rfwiiiaJHjDt9",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1668083494135,
"version": 2,
"chainId": 84,
"sender": "3Mu3Tw8XEgPpWs3wvWZdyESjYgVHfzUzmvz",
"senderPublicKey": "7WoBmFF8WKCHBqAkUSSMQvUP5WhiTg7CHXb6AaYWdxSt",
"proofs": [
"36x7bCZUD6tGdvVkjkdmCNarTBDLwS3SvfXUptBcjoWYDdRZnHRPFyuP1KRpCCtAXEWwDseFV2YVzH1ydLWxpmUH"
],
"script": "base64:BgIECAISAAEADGFkbWluQWRkcmVzcwkBB0FkZHJlc3MBARoBVLk28D3CFViF+t3rDgthECnj+6XhskHmJgEBaQEId2l0aGRyYXcAAwkAAAIIBQFpBmNhbGxlcgUMYWRtaW5BZGRyZXNzBAVibG9jawUJbGFzdEJsb2NrBAl0aW1lc3RhbXAIBQlsYXN0QmxvY2sJdGltZXN0YW1wCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgVfdGltZQUJdGltZXN0YW1wCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJAKUIAQgFAWkGY2FsbGVyAgpfZGVwb3NpdGVkCAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAUDbmlsCQACAQIFRXJyb3IARya+Eg==",
"height": 2311051,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: HEjubxDaWDHaAocGUCR4hTXiqtuKX1thbHgaemDCaw17
Next: none
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let adminAddress = Address(base58'3Psdsdsfsdfsdfdsfsdfsdfdsf') |
---|
| 4 | + | let adminAddress = Address(base58'3N6oQbbhWEg3BetWRgj59MBnQQuXcYyarRB') |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func withdraw () = if ((i.caller == adminAddress)) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let adminAddress = Address(base58'3Psdsdsfsdfsdfdsfsdfsdfdsf') |
---|
| 4 | + | let adminAddress = Address(base58'3N6oQbbhWEg3BetWRgj59MBnQQuXcYyarRB') |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func withdraw () = if ((i.caller == adminAddress)) |
---|
8 | 8 | | then { |
---|
9 | 9 | | let block = lastBlock |
---|
10 | 10 | | let timestamp = lastBlock.timestamp |
---|
11 | 11 | | [IntegerEntry("_time", timestamp), IntegerEntry((toString(i.caller) + "_deposited"), i.payments[0].amount)] |
---|
12 | 12 | | } |
---|
13 | 13 | | else throw("Error") |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|