The following is a simple example of a contract which implements a counter. Both the initialize_counter() and increment_counter() ABI methods return the currently set value.
以下是一个实现计数器的合约的简单示例。 initialize_counter() 和 increment_counter() ABI 方法都返回当前设置的值。