msg=`\tThe transaction has been reverted to the initial state.\nReason provided by the contract: "${reason}".`
msg=`\tThe transaction has been reverted to the initial state.\nReason provided by the contract: "${reason}".`
}else{
}else{
msg='\tThe transaction has been reverted to the initial state.\nNote: The called function should be payable if you send value and the value you send should be less than your current balance.'
msg='\tThe transaction has been reverted to the initial state.\nNote: The called function should be payable if you send value and the value you send should be less than your current balance.'
returnfullType.replace(/tuple/g,'')// return of makeFullTypeDefinition might contain `tuple`, need to remove it cause `methodIdentifier` (fnName) does not include `tuple` keyword
returnfullType.replace(/tuple/g,'')// return of makeFullTypeDefinition might contain `tuple`, need to remove it cause `methodIdentifier` (fnName) does not include `tuple` keyword
...
@@ -114,6 +123,11 @@ export function getFunction (abi, fnName) {
...
@@ -114,6 +123,11 @@ export function getFunction (abi, fnName) {