Transaction
778C7FFB24C7EC…DBEF0002E65F
Block 25,914 · index 0 · indexed
Summary
- Hash
- 778C7FFB24C7EC061C60F573E32659B81D3A687A2B59548CE962DBEF0002E65F
- Block
- 25,914
- Size
- 2691 bytes
- Gas used
- 7,644,575 / 9,173,550
- Fee
- 1000000ugnot
- Memo
- gnopublish
- Status
- success
Messages
Arguments · 11
- #1printfdebugging
- #2README.md
- #3# `gno.land/p/moul/printfdebugging/v0` _TODO: describe this package._ <!-- BEGIN GNOCONTRACTS FOOTER (generated by `make readmes`; do not edit below) --> --- Part of **[moul/gno-contracts](https://github.com/moul/gno-contracts)** — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage. **Dependency graph:**  > ⚠️ **Disclaimer:** provided as-is, without warranty; not security-audited. Full disclaimer: [DISCLAIMER](https://github.com/moul/gno-contracts/blob/main/DISCLAIMER.md). <!-- END GNOCONTRACTS FOOTER -->
- #4color.gno
- #5package printfdebugging // consts copied from https://github.com/fatih/color/blob/main/color.go // Attribute defines a single SGR Code type Attribute int const Escape = "\x1b" // Base attributes const ( Reset Attribute = iota Bold Faint Italic Underline BlinkSlow BlinkRapid ReverseVideo Concealed CrossedOut ) const ( ResetBold Attribute = iota + 22 ResetItalic ResetUnderline ResetBlinking _ ResetReversed ResetConcealed ResetCrossedOut ) // Foreground text colors const ( FgBlack Attribute = iota + 30 FgRed FgGreen FgYellow FgBlue FgMagenta FgCyan FgWhite ) // Foreground Hi-Intensity text colors const ( FgHiBlack Attribute = iota + 90 FgHiRed FgHiGreen FgHiYellow FgHiBlue FgHiMagenta FgHiCyan FgHiWhite ) // Background text colors const ( BgBlack Attribute = iota + 40 BgRed BgGreen BgYellow BgBlue BgMagenta BgCyan BgWhite ) // Background Hi-Intensity text colors const ( BgHiBlack Attribute = iota + 100 BgHiRed BgHiGreen BgHiYellow BgHiBlue BgHiMagenta BgHiCyan BgHiWhite )
- #6gnomod.toml
- #7module = "gno.land/p/moul/printfdebugging/v0" gno = "0.9"
- #8printfdebugging.gno
- #9// this package is a joke... or not. package printfdebugging import ( "strings" "gno.land/p/nt/ufmt/v0" ) func BigRedLine(args ...string) { println(ufmt.Sprintf("%s[%dm####################################%s[%dm %s", Escape, int(BgRed), Escape, int(Reset), strings.Join(args, " "), )) } func Success() { println(" \033[31mS\033[33mU\033[32mC\033[36mC\033[34mE\033[35mS\033[31mS\033[0m ") }
- #10/gno.MemPackageType
- #11 MPUserProd
Result log
msg:0,success:true,log:,events:[]