tx · 8xuvB84GiyhToGqbiqnzneqWyWmbhQT437RH4nnoRDm6

3Msughfkwji8uccY4RAxuKWvNpnEscWyhHK:  -0.01400000 Waves

2019.07.02 16:42 [567846] smart account 3Msughfkwji8uccY4RAxuKWvNpnEscWyhHK > SELF 0.00000000 Waves

{ "type": 13, "id": "8xuvB84GiyhToGqbiqnzneqWyWmbhQT437RH4nnoRDm6", "fee": 1400000, "feeAssetId": null, "timestamp": 1562074963756, "version": 1, "sender": "3Msughfkwji8uccY4RAxuKWvNpnEscWyhHK", "senderPublicKey": "AzyC6W7iD5HYehj2xef6xWKogmxDC6RaX9N1ST8P39bn", "proofs": [ "ZKgPBZN7PTVKs2WLn7Kpq1Qtuoe5WUeGAHNE2Krspq3s84ckAcoTXLmU3fU4nvipms1MQMAEGPTR77vcyx3Ck6W" ], "script": "base64:AAIDAAAAAAAAAAAAAAALAAAAAAZsZXZlbDEAAAAAAAAAAPoAAAAABmxldmVsMgAAAAAAAAAA+gAAAAAGbGV2ZWwzAAAAAAAAAAD6AAAAAAhjYXNoQmFjawAAAAAAAAAA+gAAAAAGbWF4RmVlAAAAAAAATEtAAAAAAA5jaGFuZ2VPd25lcktleQIAAAAsQUQydmJ6cFIzWk1YaVkxWmhCZHE0aUgxd3o1dzZ0VUNIUHoxdnZOZnlDcUUBAAAAEGJhbGFuY2VJbmNyZW1lbnQAAAACAAAAB2FkZHJlc3MAAAADaW5jBAAAAApiYWxhbmNlS2V5CQABLAAAAAIFAAAAB2FkZHJlc3MCAAAACF9iYWxhbmNlCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAKYmFsYW5jZUtleQkAAGQAAAACBQAAAANpbmMEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAAKYmFsYW5jZUtleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAAAAAAAAAAAAAQAAABVpbmRleEJhbGFuY2VJbmNyZW1lbnQA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GNoMQkAASwAAAACAgAAAAEsBQAAAAhyZWZlcmVyMwIAAAAAAgAAAAAJAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABW93bmVyAgAAAAhfcmVmZXJlcgUAAAAHcmVmZXJlcgkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAALcmVmZXJhbHNLZXkFAAAACHJlZmVyYWxzCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABW93bmVyAgAAAA1fcmVmc3RydWN0dXJlBQAAAAxyZWZTdHJ1Y3R1cmUFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIIBQAAAAFpAAAAA2ZlZQUAAAAEdW5pdAUAAAADbmlsAAAAAEWSj08=", "chainId": 84, "height": 567846, "spentComplexity": 0 } View: original | compacted Prev: AwPXVTnwBa6LetodXsdtp9SGyNvvcZnLiWTqhHd8wyDg Next: none Diff:
OldNewDifferences
5353 @Callable(i)
5454 func fund () = {
5555 let owner = toBase58String(i.callerPublicKey)
56- let ownerColon = ((owner + ":") + getTimestamp())
56+ let ownerColon = (((owner + ":") + getTimestamp()) + ":")
5757 let amount = extract(i.payment).amount
5858 let cf = checkFee(i)
5959 ScriptResult(WriteSet( match getString(this, (owner + "_refstructure")) {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let level1 = 250
55
66 let level2 = 250
77
88 let level3 = 250
99
1010 let cashBack = 250
1111
1212 let maxFee = 5000000
1313
1414 let changeOwnerKey = "AD2vbzpR3ZMXiY1ZhBdq4iH1wz5w6tUCHPz1vvNfyCqE"
1515
1616 func balanceIncrement (address,inc) = {
1717 let balanceKey = (address + "_balance")
1818 DataEntry(balanceKey, (inc + match getInteger(this, balanceKey) {
1919 case b: Int =>
2020 b
2121 case _ =>
2222 0
2323 }))
2424 }
2525
2626
2727 func indexBalanceIncrement (address,owner,inc,level) = {
2828 let logKey = (address + level)
2929 let recordData = (owner + toString(inc))
3030 match getString(this, logKey) {
3131 case prev: String =>
3232 DataEntry(logKey, ((prev + ",") + recordData))
3333 case _ =>
3434 DataEntry(logKey, recordData)
3535 }
3636 }
3737
3838
3939 func getReferer (user) = getString(this, (user + "_referer"))
4040
4141
4242 func checkFee (i) = if ((i.fee > maxFee))
4343 then throw("unreasonable large fee")
4444 else true
4545
4646
4747 func getTimestamp () = {
4848 let block = extract(blockInfoByHeight(height))
4949 toString(block.timestamp)
5050 }
5151
5252
5353 @Callable(i)
5454 func fund () = {
5555 let owner = toBase58String(i.callerPublicKey)
56- let ownerColon = ((owner + ":") + getTimestamp())
56+ let ownerColon = (((owner + ":") + getTimestamp()) + ":")
5757 let amount = extract(i.payment).amount
5858 let cf = checkFee(i)
5959 ScriptResult(WriteSet( match getString(this, (owner + "_refstructure")) {
6060 case refListS: String =>
6161 let refList = split(refListS, ",")
6262 let refListSize = size(refList)
6363 let incLevel1 = ((amount * level1) / 1000)
6464 let incCashBack = ((amount * cashBack) / 1000)
6565 [balanceIncrement(owner, incCashBack), indexBalanceIncrement(owner, ownerColon, incCashBack, "_txs_cashback"), balanceIncrement(refList[0], incLevel1), indexBalanceIncrement(refList[0], ownerColon, incLevel1, "_txs_l1"), if ((refListSize >= 2))
6666 then {
6767 let incLevel2 = ((amount * level2) / 1000)
6868 [balanceIncrement(refList[1], incLevel2), indexBalanceIncrement(refList[1], ownerColon, incLevel2, "_txs_l2"), if ((refListSize >= 3))
6969 then {
7070 let incLevel3 = ((amount * level3) / 1000)
7171 [balanceIncrement(refList[2], incLevel3), indexBalanceIncrement(refList[2], ownerColon, incLevel3, "_txs_l3"), balanceIncrement(changeOwnerKey, (((amount - incLevel1) - incLevel2) - incLevel3)), indexBalanceIncrement(changeOwnerKey, ownerColon, (((amount - incLevel1) - incLevel2) - incLevel3), "_txs_change")]
7272 }
7373 else [balanceIncrement(changeOwnerKey, ((amount - incLevel1) - incLevel2)), indexBalanceIncrement(changeOwnerKey, ownerColon, ((amount - incLevel1) - incLevel2), "_txs_change")]]
7474 }
7575 else [balanceIncrement(changeOwnerKey, (amount - incLevel1)), indexBalanceIncrement(changeOwnerKey, ownerColon, (amount - incLevel1), "_txs_change")]]
7676 case _ =>
7777 [balanceIncrement(changeOwnerKey, amount), indexBalanceIncrement(changeOwnerKey, ownerColon, amount, "_txs_change")]
7878 }), TransferSet([ScriptTransfer(i.caller, i.fee, unit)]))
7979 }
8080
8181
8282
8383 @Callable(i)
8484 func withdraw () = {
8585 let cf = checkFee(i)
8686 let owner = toBase58String(i.callerPublicKey)
8787 let balanceKey = (owner + "_balance")
8888 let amount = match getInteger(this, balanceKey) {
8989 case b: Int =>
9090 b
9191 case _ =>
9292 0
9393 }
9494 let withdrawTxKey = (owner + "_withdraw_txs")
9595 let record = ((((toString(amount) + ":") + toBase58String(i.transactionId)) + ":") + getTimestamp())
9696 let withdrawTxList = match getString(this, withdrawTxKey) {
9797 case prevTxs: String =>
9898 ((prevTxs + ",") + record)
9999 case _ =>
100100 record
101101 }
102102 ScriptResult(WriteSet([DataEntry(balanceKey, 0), DataEntry(withdrawTxKey, withdrawTxList)]), TransferSet([ScriptTransfer(i.caller, (amount + i.fee), unit)]))
103103 }
104104
105105
106106
107107 @Callable(i)
108108 func register (referer,salt) = {
109109 let cf = checkFee(i)
110110 if ((take(toBase58String(i.transactionId), 3) != "123"))
111111 then throw("proof of work failed")
112112 else {
113113 let owner = toBase58String(i.callerPublicKey)
114114 if (isDefined(getReferer(owner)))
115115 then throw("Already registered")
116116 else {
117117 let referalsKey = (referer + "_referrals")
118118 let referals = match getString(this, referalsKey) {
119119 case oldRefs: String =>
120120 ((oldRefs + ",") + owner)
121121 case _ =>
122122 owner
123123 }
124124 let refStructure = (referer + match getReferer(referer) {
125125 case referer2: String =>
126126 (("," + referer2) + match getReferer(referer2) {
127127 case referer3: String =>
128128 ("," + referer3)
129129 case _ =>
130130 ""
131131 })
132132 case _ =>
133133 ""
134134 })
135135 ScriptResult(WriteSet([DataEntry((owner + "_referer"), referer), DataEntry(referalsKey, referals), DataEntry((owner + "_refstructure"), refStructure)]), TransferSet([ScriptTransfer(i.caller, i.fee, unit)]))
136136 }
137137 }
138138 }
139139
140140

github/deemru/w8io/169f3d6 
40.13 ms