使用单体合约架构
This tutorial explores how making the architecture of your smart contracts monolithic, rather than having several contracts that communicate with each other, can result in gas savings. 合约间的调用可能会非常昂贵,通过将逻辑整合到单个合约中,可以避免这些成本,尽管在复杂性和模块化方面会有一些权衡。