// SPDX-License-Identifier: MPL-2.0 pragma solidity ^0.8.17; import "forge-std/Script.sol"; import "@le7el/web3_crs/contracts/registry/CRSRegistry.sol"; import {AvatarNFTV1} from "src/nft/AvatarNFTV1.sol"; import {IdentityNFTV1} from "src/nft/IdentityNFTV1.sol"; import {AvatarControllerV1} from "src/controller/AvatarControllerV1.sol"; import {LevelingResolver} from "src/resolver/LevelingResolver.sol"; contract DebugScript is Script { bytes32 internal l7lBasenode = 0xd0340a34011af087b374bbdc5136a48a841af1b55b0af1143ced23c89cf182c9; bytes32 internal avatarBasenode = 0x46f49b6a04b289d8ac4920f8a236e64e2689abdcf283566b399ff3bcfb6d967a; event Debug(bytes data); function setUp() public {} function run() public { bytes memory data = abi.encodeWithSignature( "setText(bytes32,string,string)", avatarBasenode, "L7L_REWARDS_DISTRIBUTOR", string(abi.encode(0x73A699D74734023aE4945FaE6205dfe383347f21)) ); emit Debug(data); } }