github.com/0xsequence/ethkit@v1.25.0/ethcoder/ethcoder_test.go (about) 1 package ethcoder 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/assert" 7 ) 8 9 func TestFunctionSignature(t *testing.T) { 10 fnsig := FunctionSignature("balanceOf(address,uint256)") 11 assert.Equal(t, "0x00fdd58e", fnsig) 12 }