tx · 2dVDfGFKcpV83MNrpv65hE9AbVfmdG692ekJi74UxE78

3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep:  -0.01400000 Waves

2019.07.11 12:31 [580854] smart account 3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep > SELF 0.00000000 Waves

{ "type": 13, "id": "2dVDfGFKcpV83MNrpv65hE9AbVfmdG692ekJi74UxE78", "fee": 1400000, "feeAssetId": null, "timestamp": 1562837459989, "version": 1, "sender": "3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep", "senderPublicKey": "BJAeTqNbDSA5FiYihZZaSWvD6XL5XjpqVXbTGerBJjRK", "proofs": [ "2Un8tSTS8fjd591qCXadkBQ4gF3cSJ22sX2cTkEAdfu4iCPD3FLi3wjbzBv4uZiTW7wXP1pB1hTs97zbHrKGhiPT" ], "script": "base64:AAIDAAAAAAAAAAAAAAABAQAAABJ1c2VySGFzQWRtaW5BY2Nlc3MAAAABAAAAB2FkZHJlc3MJAAAAAAAAAgUAAAAHYWRkcmVzcwUAAAAEdGhpcwAAAAIAAAABaQEAAAADYmV0AAAAAQAAAAVwcmljZQQAAAAWc3RhcnRUcmFuc2FjdGlvbkhlaWdodAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAFc3RhcnQEAAAACXRpbWVEZWx0YQkAAGUAAAACBQAAAAZoZWlnaHQFAAAAFnN0YXJ0VHJhbnNhY3Rpb25IZWlnaHQEAAAABm1heEJldAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMCAAAABm1heEJldAkAAAIAAAABAgAAAAZoZXJlIDIAAAABaQEAAAAFc3RhcnQAAAABAAAACnN0YXJ0UHJpY2UDCQEAAAABIQAAAAEJAQAAABJ1c2VySGFzQWRtaW5BY2Nlc3MAAAABCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAATWW91IGhhdmUgbm8gYWNjZXNzIQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAFc3RhcnQFAAAABmhlaWdodAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAGbWF4QmV0BQAAAApzdGFydFByaWNlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAttYXhCZXRPd25lcgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAAA25pbAAAAACNdhPc", "chainId": 84, "height": 580854, "spentComplexity": 0 } View: original | compacted Prev: E4LUf4BmAiqYXe2aXBFuErcTSqLhfTwXpfSv1meVNxWU Next: Bbc39BiVzVj5vuECz2BDtg2e9WPzyo56ZFfUdZcZMhak Diff:
OldNewDifferences
88 func bet (price) = {
99 let startTransactionHeight = getIntegerValue(this, "start")
1010 let timeDelta = (height - startTransactionHeight)
11- throw("here")
11+ let maxBet = extract(getInteger(this, "maxBet"))
12+ throw("here 2")
1213 }
1314
1415
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func userHasAdminAccess (address) = (address == this)
55
66
77 @Callable(i)
88 func bet (price) = {
99 let startTransactionHeight = getIntegerValue(this, "start")
1010 let timeDelta = (height - startTransactionHeight)
11- throw("here")
11+ let maxBet = extract(getInteger(this, "maxBet"))
12+ throw("here 2")
1213 }
1314
1415
1516
1617 @Callable(i)
1718 func start (startPrice) = if (!(userHasAdminAccess(i.caller)))
1819 then throw("You have no access!")
1920 else WriteSet([DataEntry("start", height), DataEntry("maxBet", startPrice), DataEntry("maxBetOwner", toBase58String(i.callerPublicKey))])
2021
2122

github/deemru/w8io/169f3d6 
20.74 ms