tx · 9g46q4D4aYAQbTgQsxiGxPaYsUuyEvjPTkeJ5CgVsSqA

3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep:  -0.01400000 Waves

2019.07.11 12:34 [580859] smart account 3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep > SELF 0.00000000 Waves

{ "type": 13, "id": "9g46q4D4aYAQbTgQsxiGxPaYsUuyEvjPTkeJ5CgVsSqA", "fee": 1400000, "feeAssetId": null, "timestamp": 1562837677993, "version": 1, "sender": "3N2icgpJnXhcYab7KQrwqWsV4LwSF25C1Ep", "senderPublicKey": "BJAeTqNbDSA5FiYihZZaSWvD6XL5XjpqVXbTGerBJjRK", "proofs": [ "ygW8uznDZ7WGsqtkAtU3gDZxLNyVjP2LQNjxc9rBZLmRWckbVKUF7sezCHY4W2qDUkt3HYzorGYDE8KGxjmLXqq" ], "script": "base64:AAIDAAAAAAAAAAAAAAABAQAAABJ1c2VySGFzQWRtaW5BY2Nlc3MAAAABAAAAB2FkZHJlc3MJAAAAAAAAAgUAAAAHYWRkcmVzcwUAAAAEdGhpcwAAAAIAAAABaQEAAAADYmV0AAAAAQAAAAVwcmljZQQAAAAWc3RhcnRUcmFuc2FjdGlvbkhlaWdodAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAFc3RhcnQEAAAACXRpbWVEZWx0YQkAAGUAAAACBQAAAAZoZWlnaHQFAAAAFnN0YXJ0VHJhbnNhY3Rpb25IZWlnaHQEAAAABm1heEJldAkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABHRoaXMCAAAABm1heEJldAQAAAALbWF4QmV0T3duZXIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEJAQAAAAdleHRyYWN0AAAAAQkABBwAAAACBQAAAAR0aGlzAgAAAAttYXhCZXRPd25lcgkAAAIAAAABAgAAAAZoZXJlIDMAAAABaQEAAAAFc3RhcnQAAAABAAAACnN0YXJ0UHJpY2UDCQEAAAABIQAAAAEJAQAAABJ1c2VySGFzQWRtaW5BY2Nlc3MAAAABCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAATWW91IGhhdmUgbm8gYWNjZXNzIQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAFc3RhcnQFAAAABmhlaWdodAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAGbWF4QmV0BQAAAApzdGFydFByaWNlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAttYXhCZXRPd25lcgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkFAAAAA25pbAAAAADM4jnh", "chainId": 84, "height": 580859, "spentComplexity": 0 } View: original | compacted Prev: Bbc39BiVzVj5vuECz2BDtg2e9WPzyo56ZFfUdZcZMhak Next: 8BVesQFnay93umwhLmCvdy1bjerAMTBbDBHpZ5gjNxvT Diff:
OldNewDifferences
99 let startTransactionHeight = getIntegerValue(this, "start")
1010 let timeDelta = (height - startTransactionHeight)
1111 let maxBet = extract(getInteger(this, "maxBet"))
12- throw("here 2")
12+ let maxBetOwner = addressFromPublicKey(extract(getBinary(this, "maxBetOwner")))
13+ throw("here 3")
1314 }
1415
1516
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)
1111 let maxBet = extract(getInteger(this, "maxBet"))
12- throw("here 2")
12+ let maxBetOwner = addressFromPublicKey(extract(getBinary(this, "maxBetOwner")))
13+ throw("here 3")
1314 }
1415
1516
1617
1718 @Callable(i)
1819 func start (startPrice) = if (!(userHasAdminAccess(i.caller)))
1920 then throw("You have no access!")
2021 else WriteSet([DataEntry("start", height), DataEntry("maxBet", startPrice), DataEntry("maxBetOwner", toBase58String(i.callerPublicKey))])
2122
2223

github/deemru/w8io/169f3d6 
37.97 ms