func StructureToBytes(structure interface{}) []byte {
	var network bytes.Buffer
	enc := gob.NewEncoder(&network)
	enc.Encode(structure)
	return network.Bytes()
}
StructureToBytes allows to convert structure into bytes array
package utils
import (
	"bytes"
	"context"
	"crypto/ecdsa"
	"encoding/gob"
	"encoding/hex"
	"math/big"
	"github.com/ethereum/go-ethereum/accounts/abi/bind"
	"github.com/ethereum/go-ethereum/crypto"
	"github.com/ethereum/go-ethereum/rlp"
	"github.com/gin-gonic/contrib/cors"
	"github.com/gin-gonic/gin"
)