tx · 3d5Jjt1EhmSYsvb6AitDX5wMZEEYMTikNTLY7CyMWCbx 3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE: -0.05000000 Waves 2019.11.23 19:23 [778094] smart account 3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE > SELF 0.00000000 Waves
{ "type": 13, "id": "3d5Jjt1EhmSYsvb6AitDX5wMZEEYMTikNTLY7CyMWCbx", "fee": 5000000, "feeAssetId": null, "timestamp": 1574526329013, "version": 1, "sender": "3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE", "senderPublicKey": "FEmBffz5oKcY5pLrHbwcj8jxovWVvTYCeNRzNT6uHBJc", "proofs": [ "q9eh8DXccZa7oDrCmWryAePSvyUa6BNcD6y5bGF3opQMXRFLhFMBncpRsEG8VNbRpnfZrxi9tefd6XCRG2cKVdF" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAADwAAAAAJUlNBUFVCTElDCQACWwAAAAECAAABj2Jhc2U2NDpNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQWc0ZEFSNlhiQkRBUzloci9FajNkSnY2RmZjNDY2eC9tT0dNV1UzbHJBQnMzcWE4QkhtdUpHbmtmYnBFZjJ2QXdZVE9XUHZ2emZNMTBPQmJmbG9TeXEzYzlNS3Z5VGUxbHVCTEdxVzR2WlVYSXl2U2d6MWxpeVVWZWZJUXkzZHlGOWpiZVRaYkMwYmJjVC83TzNERUwrMDF6NkErckRDYWNTWjBsR29sU1E2QW5oTHh6SWtWcE9RSmJyQm1DK3grWnVaUENNV3pKeW5kNWFlT243amFqL21rUlZ5eGU2Zy8wT2hXejROaWlaWGV1TVJCKzhtS3kwZldEL1VsSWxaV0hzQVMyWm1ya1hLcWpMcTAvMHdyOElMSmt6bmpTcWRuSTVJYmpnM3VRcmovNEFOK2k5cjI4YVE3My9aa1B0WTVTYncwQU9pQUJCdTdnSG1xOWF5VnhaUUlEQVFBQgAAAAAPR0FNRVNDT1VOVEVSS0VZAgAAAAkkR0FNRV9OVU0AAAAADlJFU0VSVkFUSU9OS0VZAgAAABAkUkVTRVJWRURfQU1PVU5UAAAAAARXQkVUAQAAACCGtDaoeNMOzNjwF61LLiwEHwefusq5FqlK128lrZvQdgAAAAAOV0FMTEVUV0FWRVNCRVQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVQvEfB4Tq/Wk5+pbiIrZrUfslPXeM87aPsAAAAADFdBTExFVE1DQUZFRQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVC8R8HhOr9aTn6luIitmtR+yU9d4zzto+wAAAAAHV0FWRUxFVAAAAAAABfXhAAAAAAALRkVFV0FWRVNCRVQAAAAAAAAAAAQAAAAACUZFRU1DQUZFRQAAAAAAAAAAAgAAAAAOU1RBVEVTVUJNSVRURUQCAAAACVNVQk1JVFRFRAAAAAAIU1RBVEVXT04CAAAAA1dPTgAAAAAJU1RBVEVMT1NUAgAAAARMT1NUAAAAAAZCRVRNSU4JAABoAAAAAgAAAAAAAAAAAQUAAAAHV0FWRUxFVAAAAAAGQkVUTUFYCQAAaAAAAAIAAAAAAAExLQAFAAAAB1dBVkVMRVQBAAAADHZhbGlkYXRlQmV0cwAAAAIAAAAEYmV0cwAAAANwb3MEAAAAA2JldAkAAZEAAAACBQAAAARiZXRzBQAAAANwb3MJAAACAAAAAQUAAAADYmV0AAAAAQAAAAFpAQAAAAxwbGF5Um91bGxldGUAAAABAAAABGJldHMEAAAACGJldHNMaXN0CQAEtQAAAAIFAAAABGJldHMCAAAAAXwJAAACAAAAAQkAAaQAAAABCQABkAAAAAEFAAAACGJldHNMaXN0AAAAAOVAJmE=", "chainId": 84, "height": 778094, "spentComplexity": 0 } View: original | compacted Prev: 7gU14TdQ5xE3X4sJTc7uwc2sTj6zeQe2yQ4u7dhDJ9qc Next: 22w5MMJe7WqQSHYtBDWv9Km2ZDReRBtBgjvmNtn7rd3v Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg4dAR6XbBDAS9hr/Ej3dJv6Ffc466x/mOGMWU3lrABs3qa8BHmuJGnkfbpEf2vAwYTOWPvvzfM10OBbfloSyq3c9MKvyTe1luBLGqW4vZUXIyvSgz1liyUVefIQy3dyF9jbeTZbC0bbcT/7O3DEL+01z6A+rDCacSZ0lGolSQ6AnhLxzIkVpOQJbrBmC+x+ZuZPCMWzJynd5aeOn7jaj/mkRVyxe6g/0OhWz4NiiZXeuMRB+8mKy0fWD/UlIlZWHsAS2ZmrkXKqjLq0/0wr8ILJkznjSqdnI5Ibjg3uQrj/4AN+i9r28aQ73/ZkPtY5Sbw0AOiABBu7gHmq9ayVxZQIDAQAB") | |
5 | 5 | ||
6 | 6 | let GAMESCOUNTERKEY = "$GAME_NUM" | |
7 | 7 | ||
8 | 8 | let RESERVATIONKEY = "$RESERVED_AMOUNT" | |
9 | 9 | ||
10 | 10 | let WBET = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw' | |
11 | 11 | ||
12 | 12 | let WALLETWAVESBET = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8') | |
13 | 13 | ||
14 | 14 | let WALLETMCAFEE = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8') | |
15 | 15 | ||
16 | 16 | let WAVELET = 100000000 | |
17 | 17 | ||
18 | 18 | let FEEWAVESBET = 4 | |
19 | 19 | ||
20 | 20 | let FEEMCAFEE = 2 | |
21 | 21 | ||
22 | 22 | let STATESUBMITTED = "SUBMITTED" | |
23 | 23 | ||
24 | 24 | let STATEWON = "WON" | |
25 | 25 | ||
26 | 26 | let STATELOST = "LOST" | |
27 | 27 | ||
28 | 28 | let BETMIN = (1 * WAVELET) | |
29 | 29 | ||
30 | 30 | let BETMAX = (20000000 * WAVELET) | |
31 | 31 | ||
32 | 32 | func validateBets (bets,pos) = { | |
33 | 33 | let bet = bets[pos] | |
34 | 34 | throw(bet) | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | @Callable(i) | |
39 | 39 | func playRoullete (bets) = { | |
40 | 40 | let betsList = split(bets, "|") | |
41 | 41 | throw(toString(size(betsList))) | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 |
github/deemru/w8io/026f985 78.19 ms ◑