| 1 | [ |
| 2 | "autonomous agent", |
| 3 | { |
| 4 | "init": "{ |
| 5 | $aa = "ISOG77UIQW4DIDGENI7ZQSTCOUY34QDM"; |
| 6 | }", |
| 7 | "messages": { |
| 8 | "cases": [ |
| 9 | { |
| 10 | "if": "{ trigger.data.fe }", |
| 11 | "init": "{ |
| 12 | |
| 13 | }", |
| 14 | "messages": [ |
| 15 | { |
| 16 | "app": "data", |
| 17 | "payload": { |
| 18 | "short_name": "{"monkey ball(s) "||number_from_seed(timestamp,0,10000)}", |
| 19 | "name": "{'monkey ball(s) by heymonkey'}", |
| 20 | "ticker": "{'oo'}", |
| 21 | "decimals": "{0}", |
| 22 | "description": "{'monkey ball(s) by heymonkey and that s all'}" |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "app": "payment", |
| 27 | "payload": { |
| 28 | "asset": "{'base'}", |
| 29 | "outputs": [ |
| 30 | { |
| 31 | "address": "{$aa}", |
| 32 | "amount": "{trigger.output[[asset=base]] - 1000}" |
| 33 | } |
| 34 | ] |
| 35 | } |
| 36 | }, |
| 37 | { |
| 38 | "app": "state", |
| 39 | "state": "{ |
| 40 | }" |
| 41 | } |
| 42 | ] |
| 43 | }, |
| 44 | { |
| 45 | "if": "{ trigger.data.me }", |
| 46 | "init": "{ |
| 47 | |
| 48 | }", |
| 49 | "messages": [ |
| 50 | { |
| 51 | "app": "data", |
| 52 | "payload": { |
| 53 | "short_name": "{"monkey ball(s) "||number_from_seed(timestamp,0,10000)}", |
| 54 | "ticker": "{'oo'}", |
| 55 | "decimals": "{0}" |
| 56 | } |
| 57 | }, |
| 58 | { |
| 59 | "app": "payment", |
| 60 | "payload": { |
| 61 | "asset": "{'base'}", |
| 62 | "outputs": [ |
| 63 | { |
| 64 | "address": "{$aa}", |
| 65 | "amount": "{trigger.output[[asset=base]] - 1000}" |
| 66 | } |
| 67 | ] |
| 68 | } |
| 69 | }, |
| 70 | { |
| 71 | "app": "state", |
| 72 | "state": "{ |
| 73 | }" |
| 74 | } |
| 75 | ] |
| 76 | }, |
| 77 | { |
| 78 | "messages": [ |
| 79 | { |
| 80 | "app": "state", |
| 81 | "state": "{ |
| 82 | }" |
| 83 | } |
| 84 | ] |
| 85 | } |
| 86 | ] |
| 87 | } |
| 88 | } |
| 89 | ] |