CompilerError: Stack too deep, try removing local variables. 大多数是因为函数内局部变量(包括入参和返回值)定义过多,应该小于16个。解决方法是拆分函数。 参考:https://github.com/ethereum/solidity/blob/930ce34953d7b42df95d309386258a322b3ca558/libsolidity/codegen/CompilerUtils.cpp#L435constant、view 和 pure 的区别 这三个关键词有什么区别和联系,简单来说,在Solidity v4.17之前,只有constant,后来有人嫌constant这个词本身代表变量中的常量,不适合用来修饰函数,所以将constant拆成了view和pure。view的作用和constant一模一样,可以读取状态变量但是不能改;pure则更为严格,pure修饰的函数不能改也不能读状态变量。Transaction was not mined within 750 seconds, please make sure your transaction was properly sent. 燃料不足Error! Invalid constructor arguments provided. Please verify that they are in ABI-encoded format