Loading
[ { "inputs": [ { "internalType": "contract IBaseWorld", "name": "_world", "type": "address" }, { "internalType": "ResourceId", "name": "_systemId", "type": "bytes32" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "Puppet_AccessDenied", "type": "error" }, { "stateMutability": "nonpayable", "type": "fallback" }, { "inputs": [ { "internalType": "bytes32", "name": "eventSignature", "type": "bytes32" }, { "internalType": "bytes32", "name": "topic1", "type": "bytes32" }, { "internalType": "bytes32", "name": "topic2", "type": "bytes32" }, { "internalType": "bytes32", "name": "topic3", "type": "bytes32" }, { "internalType": "bytes", "name": "eventData", "type": "bytes" } ], "name": "log", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "eventSignature", "type": "bytes32" }, { "internalType": "bytes32", "name": "topic1", "type": "bytes32" }, { "internalType": "bytes32", "name": "topic2", "type": "bytes32" }, { "internalType": "bytes", "name": "eventData", "type": "bytes" } ], "name": "log", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "eventSignature", "type": "bytes32" }, { "internalType": "bytes", "name": "eventData", "type": "bytes" } ], "name": "log", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "eventSignature", "type": "bytes32" }, { "internalType": "bytes32", "name": "topic1", "type": "bytes32" }, { "internalType": "bytes", "name": "eventData", "type": "bytes" } ], "name": "log", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "systemId", "outputs": [ { "internalType": "ResourceId", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "world", "outputs": [ { "internalType": "contract IBaseWorld", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]
60c060405234801561001057600080fd5b50604051610fc9380380610fc983398101604081905261002f9161007c565b6001600160a01b038216608081905260a08290527f629a4c26e296b22a8e0856e9f6ecb2d1008d7e00081111962cd175fa7488e17580546001600160a01b031916909117905550506100b6565b6000806040838503121561008f57600080fd5b82516001600160a01b03811681146100a657600080fd5b6020939093015192949293505050565b60805160a051610ec66101036000396000818160e1015281816101b401528181610239015281816102b70152818161032e01526103a101526000818160b201526101630152610ec66000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063c9a34acd11610050578063c9a34acd146101f9578063d72a26651461020c578063e2ed58bd1461021f57610072565b806330b67baa1461015e57806339f898bc146101af57806366c93bdb146101e4575b6040517f894ecc5800000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063894ecc589061010d9033907f000000000000000000000000000000000000000000000000000000000000000090869036906004016109e7565b6000604051808303816000875af115801561012c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101549190810190610b17565b9050805160208201f35b6101857f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101a6565b6101f76101f2366004610ba5565b610232565b005b6101f7610207366004610c09565b6102b0565b6101f761021a366004610c63565b610327565b6101f761022d366004610caa565b61039a565b600061025d7f000000000000000000000000000000000000000000000000000000000000000061040f565b5090503373ffffffffffffffffffffffffffffffffffffffff82161461029d576040516398d49b0360e01b81523360048201526024015b60405180910390fd5b82848688855160208701a4505050505050565b60006102db7f000000000000000000000000000000000000000000000000000000000000000061040f565b5090503373ffffffffffffffffffffffffffffffffffffffff821614610316576040516398d49b0360e01b8152336004820152602401610294565b828486845160208601a35050505050565b60006103527f000000000000000000000000000000000000000000000000000000000000000061040f565b5090503373ffffffffffffffffffffffffffffffffffffffff82161461038d576040516398d49b0360e01b8152336004820152602401610294565b82825160208401a1505050565b60006103c57f000000000000000000000000000000000000000000000000000000000000000061040f565b5090503373ffffffffffffffffffffffffffffffffffffffff821614610400576040516398d49b0360e01b8152336004820152602401610294565b8284835160208501a250505050565b6040805160018082528183019092526000918291829160208083019080368337019050509050838160008151811061044957610449610cfa565b6020908102919091010152600080806104a27f7462776f726c6400000000000000000053797374656d73000000000000000000857e150200140100000000000000000000000000000000000000000000000000006104c7565b5050602081015160349091015160609190911c9860f89190911c975095505050505050565b60606000606060006104d76105b1565b90503073ffffffffffffffffffffffffffffffffffffffff82160361050d576105018787876105fd565b935093509350506105a8565b6040517f419b58fd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063419b58fd90610563908a908a908a90600401610d10565b600060405180830381865afa158015610580573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105019190810190610d69565b93509350939050565b7f629a4c26e296b22a8e0856e9f6ecb2d1008d7e00081111962cd175fa7488e1755460009073ffffffffffffffffffffffffffffffffffffffff16806105f8573391505090565b919050565b606060006060600061060e85610705565b905061061b878783610728565b935060006106288661076c565b905080156106fa5761063a88886107a9565b935066ffffffffffffff841667ffffffffffffffff81111561065e5761065e610a3a565b6040519080825280601f01601f191660200182016040528015610688576020820181803683370190505b5092506020830160005b828160ff1610156106f75760006106aa8b8b846107c5565b905060006106c7888460ff166028026038011c64ffffffffff1690565b90506106d68260008387610845565b6106e08185610de2565b9350505080806106ef90610df5565b915050610692565b50505b505093509350939050565b6000600861071560026020610e14565b61071f9190610e27565b9190911c919050565b6060816000036107475750604080516020810190915260008152610765565b60006107538585610910565b905061076181600085610966565b9150505b9392505050565b6000600860018061077f60026020610e14565b6107899190610e14565b6107939190610e14565b61079d9190610e27565b8260ff911c1692915050565b60006107bc6107b88484610991565b5490565b90505b92915050565b600083836040516020016107da929190610e3e565b604051602081830303815290604052805190602001208260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f3b4102da22e32d82fc925482184f16c09fd4281692720b87d124aef6da48a0f1181860001c90509392505050565b82156108cc576020831061086f5760208304840193506020838161086b5761086b610e7a565b0692505b82156108cc5760208390036000818410156108925750600019600884021c61089c565b50600019600882021c5b8554600886021b8184511682198216178452508184116108bd57505061090a565b50600194909401939182900391015b5b602082106108ee5783548152600190930192601f19909101906020016108cd565b811561090a5780518454600019600885021c9182169119161781525b50505050565b60008282604051602001610925929190610e3e565b60408051601f1981840301815291905280516020909101207f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9189392505050565b60405160208101601f19603f848401011660405282825261098985858584610845565b509392505050565b600082826040516020016109a6929190610e3e565b60408051601f1981840301815291905280516020909101207f14e2fcc58e58e68ec7edc30c8d50dccc3ce2714a623ec81f46b6a63922d76569189392505050565b73ffffffffffffffffffffffffffffffffffffffff8516815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f909201601f191601019392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a7957610a79610a3a565b604052919050565b600067ffffffffffffffff821115610a9b57610a9b610a3a565b50601f01601f191660200190565b600082601f830112610aba57600080fd5b8151610acd610ac882610a81565b610a50565b8181526020856020848701011115610ae457600080fd5b60005b83811015610b02578581018201518382018301528101610ae7565b50506000918101602001919091529392505050565b600060208284031215610b2957600080fd5b815167ffffffffffffffff811115610b4057600080fd5b610b4c84828501610aa9565b949350505050565b600082601f830112610b6557600080fd5b8135610b73610ac882610a81565b818152846020838601011115610b8857600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215610bbd57600080fd5b85359450602086013593506040860135925060608601359150608086013567ffffffffffffffff811115610bf057600080fd5b610bfc88828901610b54565b9150509295509295909350565b60008060008060808587031215610c1f57600080fd5b843593506020850135925060408501359150606085013567ffffffffffffffff811115610c4b57600080fd5b610c5787828801610b54565b91505092959194509250565b60008060408385031215610c7657600080fd5b82359150602083013567ffffffffffffffff811115610c9457600080fd5b610ca085828601610b54565b9150509250929050565b600080600060608486031215610cbf57600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610ce457600080fd5b610cf086828701610b54565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b60006060820185835260206060602085015281865180845260808601915060208801935060005b81811015610d5357845183529383019391830191600101610d37565b5050809350505050826040830152949350505050565b600080600060608486031215610d7e57600080fd5b835167ffffffffffffffff80821115610d9657600080fd5b610da287838801610aa9565b9450602086015193506040860151915080821115610dbf57600080fd5b50610cf086828701610aa9565b634e487b7160e01b600052601160045260246000fd5b808201808211156107bf576107bf610dcc565b600060ff821660ff8103610e0b57610e0b610dcc565b60010192915050565b818103818111156107bf576107bf610dcc565b80820281158282048414176107bf576107bf610dcc565b8281526000602080830184516020860160005b82811015610e6d57815184529284019290840190600101610e51565b5091979650505050505050565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220c616db1dac77f6560a6ec5056363bfdb947a37db424f5ba0b372c5ad7280753064736f6c63430008180033000000000000000000000000df2332face5011cf84e9a97e3903ab786cd2ac6e7379476f6c6400000000000000000000455243323053797374656d0000000000