additional bonus during data collection
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
241907bc62
commit
33161daa00
2
.gitignore
vendored
2
.gitignore
vendored
@ -96,6 +96,8 @@ Desktop.ini
|
||||
*.temp
|
||||
|
||||
# Project specific (for your snapshot collector)
|
||||
preclaims/*json
|
||||
!preclaims/.gitkeep
|
||||
snapshots/*.json
|
||||
!snapshots/.gitkeep # Optional: keep the directory but not the files
|
||||
|
||||
|
||||
@ -12,6 +12,7 @@ GMV_ADDRESS = "0x7EF911f8ef130F73D166468c0068753932357B17"
|
||||
def parse_arguments():
|
||||
parser = argparse.ArgumentParser(description="EVM NFT Snapshot Collector for Ghostchain Preclaims")
|
||||
parser.add_argument("--rpc", required=True, help="EVM JSON-RPC Node URL")
|
||||
parser.add_argument("--bonus", default=6900000000000000000, help="Additional JML ownership amounton top of the collateral (default: 6.9 CSPR)")
|
||||
parser.add_argument("--delay", type=float, default=0.3, help="Delay between RPC requests in seconds (default: 0.3)")
|
||||
return parser.parse_args()
|
||||
|
||||
@ -101,7 +102,7 @@ def main():
|
||||
"index": current_index,
|
||||
"token_id": token_id,
|
||||
"address": owner,
|
||||
"shares": shares
|
||||
"shares": shares + args.bonus
|
||||
})
|
||||
|
||||
current_index += 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user