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