tx · Cru8iLFZfjVH2HCoyqTMXJD1Jf8vY77mPE6LBR5CVGzZ
3N9yCRmNsLK2aPStjLBne3EUiPSKvVHYgKk: -0.01500000 Waves
2020.06.05 19:15 [1030185] smart account 3N9yCRmNsLK2aPStjLBne3EUiPSKvVHYgKk > SELF 0.00000000 Waves
{
"type": 13,
"id": "Cru8iLFZfjVH2HCoyqTMXJD1Jf8vY77mPE6LBR5CVGzZ",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1591373757867,
"version": 1,
"sender": "3N9yCRmNsLK2aPStjLBne3EUiPSKvVHYgKk",
"senderPublicKey": "7nLAwoiRA4fWF4VHd6gRsbwF2UFFmRADXHqRcgy3h27w",
"proofs": [
"5roZgJvQzGtPtJQ2H1DcjjuTTZY2ADYtSTptTszqVgwQf2xR241sxvzsikcAnSzT1jpoowJk9Y6rDmEPQtoNAS2E"
],
"script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAGZmF1Y2V0AAAAAAQAAAANaXNLbm93bkNhbGxlcgQAAAAHJG1hdGNoMAkABBsAAAACBQAAAAR0aGlzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAABGhpc3QFAAAAByRtYXRjaDAFAAAABGhpc3QHAwkBAAAAASEAAAABBQAAAA1pc0tub3duQ2FsbGVyCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBgUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAABfXhAAUAAAAEdW5pdAUAAAADbmlsCQEAAAAIV3JpdGVTZXQAAAABBQAAAANuaWwAAAAA0/kf1Q==",
"chainId": 84,
"height": 1030185,
"spentComplexity": 0
}
View: original | compacted
Prev: EhEZhawLYAdpgW3YVGQadGGeYvZ97ZJ7tGy1h9fgbtue
Next: 28hbeFhYBq6uir1bbjt2dxbpqxCM2B6GKq4c7zf7AbkX
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func faucet () = { |
---|
8 | 8 | | let isKnownCaller = match getBoolean(this, toBase58String(i.caller.bytes)) { |
---|
9 | 9 | | case hist: Boolean => |
---|
10 | 10 | | hist |
---|
11 | 11 | | case _ => |
---|
12 | 12 | | false |
---|
13 | 13 | | } |
---|
14 | 14 | | if (!(isKnownCaller)) |
---|
15 | 15 | | then ScriptResult(WriteSet([DataEntry(toBase58String(i.caller.bytes), true)]), TransferSet([ScriptTransfer(i.caller, 100000000, unit)])) |
---|
16 | 16 | | else WriteSet(nil) |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|