I hereby claim:
- I am t8 on github.
- I am tbaumer2 (https://keybase.io/tbaumer2) on keybase.
- I have a public key ASA-Eaoa6_knp7gcf88yhMJ8ElD1mpoA-EnjhzjeN99egwo
To claim this, I am signing this object:
export function handle (state, action) { | |
let owner = state.owner | |
const input = action.input | |
const caller = action.caller | |
const contact = action.contact | |
if (input.function === 'transfer') { | |
const target = input.target | |
if (!target || (caller === target)) { |
fn handle(state, action): | |
let input = action["input"] | |
let caller = action["caller"] | |
if (input["function"] == "transfer"): | |
let target = input.target | |
let quantity = input.quantity | |
let balances = state.balances | |
if (!target): | |
return 0 |
export async function handle (state, action) { | |
const owner = state.owner; | |
const balances = state.balances; | |
const invocations = state.invocations; | |
const input = action.input; | |
const caller = action.caller; | |
if (input.function == "transfer") { | |
const target = input.target; | |
const qty = input.qty; |
export function handle(state, action) { | |
const authors = state.authors; | |
const deployments = state.deployments; | |
const input = action.input; | |
const caller = action.caller; | |
if (input.function === "deploy") { | |
const deployment = input.deployment; | |
if (!authors.includes(caller)) { | |
throw new ContractError(`${caller} is not an author and cannot deploy`); |
I hereby claim:
To claim this, I am signing this object: