# Contract
创建 Contract 模块对象
func NewContractApi(c *rpc.Client) *ContractApi
# ContractAddressList
获取链上所有合约地址
func (c *ContractApi) ContractAddressList() []types.Address
# GetAbiByContractAddress
根据合约地址获取合约 abi
func (c *ContractApi) GetAbiByContractAddress(address types.Address) (string, error)
# PackContractData
根据 ABI 打包指定的方法
func (c *ContractApi) PackContractData(abiStr string, methodName string, params []string) ([]byte, error)