Files
herolib/examples/threefold/gridproxy/bill.vsh
2025-03-07 16:00:15 -08:00

11 lines
357 B
GLSL
Executable File

#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.threefold.grid3.gridproxy
import freeflowuniverse.herolib.ui.console
contract_id := u64(119450)
mut gp_client := gridproxy.new(net: .dev, cache: false)!
bills := gp_client.get_contract_hourly_bill(contract_id)!
console.print_debug('${bills}')