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
}else{
}else{
returnvalue.type
returnvalue.type
...
@@ -136,8 +136,8 @@ export function getReceiveInterface (abi) {
...
@@ -136,8 +136,8 @@ export function getReceiveInterface (abi) {
* @param {String} name - contract name
* @param {String} name - contract name
* @returns contract obj and associated file: { contract, file } or null
* @returns contract obj and associated file: { contract, file } or null