SetDistributionStartTime
SetDistributionStartTime sets the timestamp when emission distribution starts.
This function controls when GNS emission begins. Before the configured timestamp is reached, an admin or governance caller may reschedule it. Once the timestamp is reached, the start time is immutable.
Parameters:
- cur: Current realm context; callers use cross(cur) when crossing into this realm.
- startTimestamp: positive future Unix timestamp when emission should begin.
Requirements:
- Must be called before distribution starts.
- Timestamp must be in the future and leave room for the 12-year schedule.
Effects:
- Sets global distribution start time.
- Initializes GNS emission state if not already started.
- Emission begins automatically when timestamp is reached.
Only callable by admin or governance.
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/gnoswap/emission" -func "SetDistributionStartTime" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "http://127.0.0.1:26657" ADDRESSgnokey query -remote "http://127.0.0.1:26657" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnoswap/emission" -func "SetDistributionStartTime" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "http://127.0.0.1:26657" call.tx