Invoke neo vm smart contract. if isPreExec is true, the invoke will not really execute
(
gasPrice,
gasLimit uint64,
signer *account.Account,
smartcodeAddress common.Address,
params []interface{})
| 637 | |
| 638 | //Invoke neo vm smart contract. if isPreExec is true, the invoke will not really execute |
| 639 | func InvokeNeoVMContract( |
| 640 | gasPrice, |
| 641 | gasLimit uint64, |
| 642 | signer *account.Account, |
| 643 | smartcodeAddress common.Address, |
| 644 | params []interface{}) (string, error) { |
| 645 | tx, err := httpcom.NewNeovmInvokeTransaction(gasPrice, gasLimit, smartcodeAddress, params) |
| 646 | if err != nil { |
| 647 | return "", err |
| 648 | } |
| 649 | return InvokeSmartContract(signer, tx) |
| 650 | } |
| 651 | |
| 652 | //Invoke wasm vm smart contract. if isPreExec is true, the invoke will not really execute |
| 653 | func InvokeWasmVMContract( |
no test coverage detected