Search Apps Documentation Source Content File Folder Download Copy Actions Download

builders package

Functions

Approve

func Approve(_ realm, addr address, note string)

Params

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/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "Approve" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "Approve" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

MarkPaid

func MarkPaid(_ realm, addr address, note string)

Params

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/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "MarkPaid" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "MarkPaid" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

Reject

func Reject(_ realm, addr address, note string)

Params

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/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "Reject" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "Reject" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

Render

func Render(path string) string

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders.Render()"

Result

Submit

func Submit( _ realm, twitterHandle string, discordHandle string, githubURL string, requestType string, applicationDetails string, )

Params

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/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "Submit" -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "Submit" -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

TotalApproved

func TotalApproved() int

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders.TotalApproved()"

Result

TotalPaid

func TotalPaid() int

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders.TotalPaid()"

Result

TotalSubmissions

func TotalSubmissions() int

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders.TotalSubmissions()"

Result

TransferAdmin

func TransferAdmin(_ realm, newAdmin address)

Param

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/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "TransferAdmin" -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders" -func "TransferAdmin" -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

GetSubmission

func GetSubmission(addr address) *Submission

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders.GetSubmission()"

Result

MySubmission

func MySubmission() *Submission

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders.MySubmission()"

Result

SubmissionAt

func SubmissionAt(i int) *Submission

Param

Command

gnokey query vm/qeval -remote "https://rpc.test11.testnets.gno.land" -data "gno.land/r/g1778y2yphxs2wpuaflsy5y9qwcd4gttn4g5yjx5/builders.SubmissionAt()"

Result