This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Initializing global variables to store the latest game state and game host process. | |
LatestGameState = LatestGameState or nil | |
-- Prevents the agent from taking multiple actions at once. | |
InAction = InAction or false | |
Logs = Logs or {} | |
colors = { | |
red = "\27[31m", | |
green = "\27[32m", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Key the Proposals table by the name so that any process can propose multiple handlers | |
Proposals = Proposals or { | |
["init"] = { | |
stake = 0, | |
pattern = "none", | |
handle = "test", | |
stakers = {} -- Track stakers and their individual stakes for later unstaking | |
} | |
} | |
-- Keep track of which community-proposed handlers are currently active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- import the necessaries | |
local json = require('json') | |
CRED = "Sa0iBLPNyJQrwpTTG-tWLQU-1QeUAJA73DdxGGiKoJc" | |
if not Balances then Balances = { [ao.id] = 0 } end | |
if not CredSent then CredSent = { [ao.id] = 0 } end | |
if Name ~= 'aoWifHat' then Name = 'aoWifHat' end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Initializing global variables to store the latest game state and game host process. | |
LatestGameState = LatestGameState or nil | |
-- Prevents the agent from taking multiple actions at once. | |
InAction = InAction or false | |
Logs = Logs or {} | |
colors = { | |
red = "\27[31m", | |
green = "\27[32m", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
("`-''-/").___..--''"`-._ | |
`6_ 6 ) `-. ( ).`-.__.`) | |
(_Y_.)' ._ ) `._ `. ``-..-` | |
_..`--'_..-_/ /--'_.' ,' | |
(il),-'' (li),' ((!.-' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{meta {:name "Test" | |
:description "Demonstration of collectible command" | |
:documentation ""} | |
views/preview | |
(let [{{{symbol :symbol token :token tx-hash :tx-hash} :params} :content outgoing :outgoing timestamp-str :timestamp-str} @properties] | |
(let [collectible-token (query [:get-collectible-token symbol token])] | |
[view {:flex-direction :column | |
:align-items :flex-start} | |
[nft-token collectible-token] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { | |
return typeof e | |
} : function(e) { | |
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
}; | |
! function e(t, n, r) { | |
function i(a, u) { | |
if (!n[a]) { | |
if (!t[a]) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns status-im.i18n | |
(:require | |
[cljs.spec.alpha :as spec] | |
[status-im.react-native.js-dependencies :as rn-dependencies] | |
[status-im.translations.af :as af] | |
[status-im.translations.ar :as ar] | |
[status-im.translations.bel :as be] | |
[status-im.translations.cs :as cs] | |
[status-im.translations.da :as da] | |
[status-im.translations.de :as de] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var price = 50000000000000000; | |
status.command({ | |
name: 'hours', | |
description: 'How many hours do you want to book the ...?', | |
color: '#CCCCCC', | |
sequentialParams: true, | |
params: [{ | |
name: 'hours', | |
type: status.types.NUMBER, |
NewerOlder