...ready the current contract
// we just change its state and start the auction
if tmg_owner == exec::program_id() {
self.tamagotchi_id = *tamagotchi_id;
self.status = Status::InProcess;
...
...ss than 31 bytes";
string public text2 = "I am greater than 31 bytes, and the storage space I occupy has exceeded the maximum value that can be stored in a single storage slot";
function getSlotIndex() public pure returns (uint256) {
return uint256(keccak256(abi.encode(1)));
...
...nsform binary data to types which the Solidity programming language understands.
> 小 Tips:
>
> ABI 是与 EVM 上的合约进行交互的标准方法,`.abi`文件中包含了函数接口描述与事件描述,呈现方式为`json`。
>
> Hello World 合约的 ABI 如下:
>
> ```...
...6fbf765f433360fad098a0c5a910aaf8758c68611b898b8 doesn't exist, creating it and funding it with 100000000 Octas
Account 0xfc990a9602f8874456fbf765f433360fad098a0c5a910aaf8758c68611b898b8 funded successfully
---
Aptos CLI is now set up for account 0xfc990a9602f8874456fbf765f433360fad098a0c5a910aa...