From 2ae243a3327e908643a0adc9af31749a43acc231 Mon Sep 17 00:00:00 2001 From: Nicholas Shellabarger Date: Tue, 26 Nov 2024 08:09:33 -0700 Subject: [PATCH] batch 003 ambassador compensation --- src/scripts/program/compensation.ts | 7 ++++--- src/scripts/program/tmp/compensation/103.json | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/scripts/program/tmp/compensation/103.json diff --git a/src/scripts/program/compensation.ts b/src/scripts/program/compensation.ts index 88f3fcb..096a61a 100644 --- a/src/scripts/program/compensation.ts +++ b/src/scripts/program/compensation.ts @@ -367,12 +367,12 @@ program .option( "-f, --file ", "Path to the JSON file", - "tmp/compensation-102.csv" + "tmp/compensation-103.csv" ) .option( "-o, --file2 ", "Path to the error log file", - "tmp/compensation-102.csv.json" + "tmp/compensation-103.csv.json" ) .option("--apid ", "Application ID") .option("--sender
", "Sender address") @@ -418,7 +418,8 @@ program program .command("execute-pay") .description("Fill the contracts") - .option("--payid ", "Payment ID") + .requiredOption("--payid ", "Payment ID") + .requiredOption("--funding ", "Funding timestamp") .option("--sender
", "Sender address") .option("--nodryrun", "No dry run", false) .option("--delay ", "Delay in seconds", "0") diff --git a/src/scripts/program/tmp/compensation/103.json b/src/scripts/program/tmp/compensation/103.json new file mode 100644 index 0000000..6c7df4b --- /dev/null +++ b/src/scripts/program/tmp/compensation/103.json @@ -0,0 +1,20 @@ +[ + { + "contractId": "456668", + "sender": "62TIVJSZOS4DRSSYYDDZELQAGFYQC5JWKCHRBPPYKTZN2OOOXTGLB5ZJ4E", + "address": "KIO5TCMY4EIXIVHMMU5BTIZXP6DM4XGS35LZUWGFR3FMM7NOFPDNHQTQMY", + "amount": 36832.28 + }, + { + "contractId": "456668", + "sender": "62TIVJSZOS4DRSSYYDDZELQAGFYQC5JWKCHRBPPYKTZN2OOOXTGLB5ZJ4E", + "address": "35MZ7ILM2RRPQJHRRUYUL3GSQXKS4DF44G6IBZFGW4TF2AXH337XRXV5AA", + "amount": 37466.69 + }, + { + "contractId": "456668", + "sender": "62TIVJSZOS4DRSSYYDDZELQAGFYQC5JWKCHRBPPYKTZN2OOOXTGLB5ZJ4E", + "address": "VGOZ5I43XKVKGPEJCOKE3FAC54UGOZH6NL2GECUOCSEWHXBNVHF6WTMDKU", + "amount": 27442.95 + } +] \ No newline at end of file