@latticexyz/world-consumer 2.2.23-a8c404b4b10462f5f390a82f9e40ceb80bc5eb23 → 2.2.23-b803eb1d495ce20f644a81c61473d0c33f9ecf54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/Base.sol/CommonBase.json +1 -1
- package/out/Base.sol/ScriptBase.json +1 -1
- package/out/Base.sol/TestBase.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/GasReporter.sol/GasReporter.json +1 -1
- package/out/IMulticall3.sol/IMulticall3.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/SimpleVault.sol/IERC20.json +1 -1
- package/out/SimpleVault.sol/SimpleVault.json +1 -1
- package/out/StdAssertions.sol/StdAssertions.json +1 -1
- package/out/StdChains.sol/StdChains.json +1 -1
- package/out/StdCheats.sol/StdCheats.json +1 -1
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
- package/out/StdConstants.sol/StdConstants.abi.json +1 -0
- package/out/StdConstants.sol/StdConstants.json +1 -0
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StdInvariant.sol/StdInvariant.json +1 -1
- package/out/StdJson.sol/stdJson.json +1 -1
- package/out/StdMath.sol/stdMath.json +1 -1
- package/out/StdStorage.sol/stdStorage.json +1 -1
- package/out/StdStorage.sol/stdStorageSafe.json +1 -1
- package/out/StdStyle.sol/StdStyle.json +1 -1
- package/out/StdToml.sol/stdToml.json +1 -1
- package/out/StdUtils.sol/StdUtils.json +1 -1
- package/out/StoreRead.sol/StoreRead.json +1 -1
- package/out/Test.sol/Test.json +1 -1
- package/out/Vm.sol/Vm.abi.json +1959 -218
- package/out/Vm.sol/Vm.abi.json.d.ts +1959 -218
- package/out/Vm.sol/Vm.json +1 -1
- package/out/Vm.sol/VmSafe.abi.json +1476 -258
- package/out/Vm.sol/VmSafe.abi.json.d.ts +1476 -258
- package/out/Vm.sol/VmSafe.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/WorldConsumer.sol/WorldConsumer.json +1 -1
- package/out/WorldConsumer.t.sol/MockWorldConsumer.json +1 -1
- package/out/WorldConsumer.t.sol/WorldConsumerTest.json +1 -1
- package/out/build-info/{600b66014edb701ee9dc6388b273946b.json → a289c37d0e0eae32bbc6d062caa9b525.json} +1 -1
- package/out/console.sol/console.json +1 -1
- package/out/safeconsole.sol/safeconsole.json +1 -1
- package/package.json +7 -7
- package/out/IERC20.sol/IERC20.abi.json +0 -224
- package/out/IERC20.sol/IERC20.abi.json.d.ts +0 -226
- package/out/IERC20.sol/IERC20.json +0 -1
- package/out/IERC721.sol/IERC721.abi.json +0 -287
- package/out/IERC721.sol/IERC721.abi.json.d.ts +0 -289
- package/out/IERC721.sol/IERC721.json +0 -1
- package/out/IERC721.sol/IERC721Enumerable.abi.json +0 -343
- package/out/IERC721.sol/IERC721Enumerable.abi.json.d.ts +0 -345
- package/out/IERC721.sol/IERC721Enumerable.json +0 -1
- package/out/IERC721.sol/IERC721Metadata.abi.json +0 -332
- package/out/IERC721.sol/IERC721Metadata.abi.json.d.ts +0 -334
- package/out/IERC721.sol/IERC721Metadata.json +0 -1
- package/out/IERC721.sol/IERC721TokenReceiver.abi.json +0 -36
- package/out/IERC721.sol/IERC721TokenReceiver.abi.json.d.ts +0 -38
- package/out/IERC721.sol/IERC721TokenReceiver.json +0 -1
- package/out/MockERC20.sol/MockERC20.abi.json +0 -322
- package/out/MockERC20.sol/MockERC20.abi.json.d.ts +0 -324
- package/out/MockERC20.sol/MockERC20.json +0 -1
- package/out/MockERC721.sol/MockERC721.abi.json +0 -350
- package/out/MockERC721.sol/MockERC721.abi.json.d.ts +0 -352
- package/out/MockERC721.sol/MockERC721.json +0 -1
- package/out/interfaces/IERC165.sol/IERC165.abi.json +0 -21
- package/out/interfaces/IERC165.sol/IERC165.abi.json.d.ts +0 -23
- package/out/interfaces/IERC165.sol/IERC165.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"a289c37d0e0eae32bbc6d062caa9b525","source_id_to_path":{"0":"node_modules/@latticexyz/gas-report/src/GasReporter.sol","1":"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol","2":"node_modules/@latticexyz/store/src/Bytes.sol","3":"node_modules/@latticexyz/store/src/EncodedLengths.sol","4":"node_modules/@latticexyz/store/src/FieldLayout.sol","5":"node_modules/@latticexyz/store/src/Hook.sol","6":"node_modules/@latticexyz/store/src/IERC165.sol","7":"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol","8":"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol","9":"node_modules/@latticexyz/store/src/ISchemaErrors.sol","10":"node_modules/@latticexyz/store/src/ISliceErrors.sol","11":"node_modules/@latticexyz/store/src/IStore.sol","12":"node_modules/@latticexyz/store/src/IStoreErrors.sol","13":"node_modules/@latticexyz/store/src/IStoreEvents.sol","14":"node_modules/@latticexyz/store/src/IStoreHook.sol","15":"node_modules/@latticexyz/store/src/IStoreKernel.sol","16":"node_modules/@latticexyz/store/src/IStoreRead.sol","17":"node_modules/@latticexyz/store/src/IStoreRegistration.sol","18":"node_modules/@latticexyz/store/src/IStoreWrite.sol","19":"node_modules/@latticexyz/store/src/Memory.sol","20":"node_modules/@latticexyz/store/src/ResourceId.sol","21":"node_modules/@latticexyz/store/src/Schema.sol","22":"node_modules/@latticexyz/store/src/Slice.sol","23":"node_modules/@latticexyz/store/src/Storage.sol","24":"node_modules/@latticexyz/store/src/Store.sol","25":"node_modules/@latticexyz/store/src/StoreCore.sol","26":"node_modules/@latticexyz/store/src/StoreKernel.sol","27":"node_modules/@latticexyz/store/src/StoreRead.sol","28":"node_modules/@latticexyz/store/src/StoreSwitch.sol","29":"node_modules/@latticexyz/store/src/codegen/index.sol","30":"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol","31":"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol","32":"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol","33":"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol","34":"node_modules/@latticexyz/store/src/constants.sol","35":"node_modules/@latticexyz/store/src/rightMask.sol","36":"node_modules/@latticexyz/store/src/storeHookTypes.sol","37":"node_modules/@latticexyz/store/src/storeResourceTypes.sol","38":"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol","39":"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol","40":"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol","41":"node_modules/@latticexyz/store/src/version.sol","42":"node_modules/@latticexyz/world/src/AccessControl.sol","43":"node_modules/@latticexyz/world/src/Delegation.sol","44":"node_modules/@latticexyz/world/src/ERC165Checker.sol","45":"node_modules/@latticexyz/world/src/IDelegationControl.sol","46":"node_modules/@latticexyz/world/src/IERC165.sol","47":"node_modules/@latticexyz/world/src/IModule.sol","48":"node_modules/@latticexyz/world/src/IModuleErrors.sol","49":"node_modules/@latticexyz/world/src/ISystemHook.sol","50":"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol","51":"node_modules/@latticexyz/world/src/IWorldErrors.sol","52":"node_modules/@latticexyz/world/src/IWorldEvents.sol","53":"node_modules/@latticexyz/world/src/IWorldKernel.sol","54":"node_modules/@latticexyz/world/src/Module.sol","55":"node_modules/@latticexyz/world/src/System.sol","56":"node_modules/@latticexyz/world/src/SystemCall.sol","57":"node_modules/@latticexyz/world/src/World.sol","58":"node_modules/@latticexyz/world/src/WorldContext.sol","59":"node_modules/@latticexyz/world/src/WorldResourceId.sol","60":"node_modules/@latticexyz/world/src/codegen/interfaces/IAccessManagementSystem.sol","61":"node_modules/@latticexyz/world/src/codegen/interfaces/IBalanceTransferSystem.sol","62":"node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol","63":"node_modules/@latticexyz/world/src/codegen/interfaces/IBatchCallSystem.sol","64":"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol","65":"node_modules/@latticexyz/world/src/codegen/interfaces/IRegistrationSystem.sol","66":"node_modules/@latticexyz/world/src/codegen/interfaces/IWorldRegistrationSystem.sol","67":"node_modules/@latticexyz/world/src/codegen/tables/Balances.sol","68":"node_modules/@latticexyz/world/src/codegen/tables/FunctionSelectors.sol","69":"node_modules/@latticexyz/world/src/codegen/tables/FunctionSignatures.sol","70":"node_modules/@latticexyz/world/src/codegen/tables/InitModuleAddress.sol","71":"node_modules/@latticexyz/world/src/codegen/tables/InstalledModules.sol","72":"node_modules/@latticexyz/world/src/codegen/tables/NamespaceDelegationControl.sol","73":"node_modules/@latticexyz/world/src/codegen/tables/NamespaceOwner.sol","74":"node_modules/@latticexyz/world/src/codegen/tables/ResourceAccess.sol","75":"node_modules/@latticexyz/world/src/codegen/tables/SystemHooks.sol","76":"node_modules/@latticexyz/world/src/codegen/tables/SystemRegistry.sol","77":"node_modules/@latticexyz/world/src/codegen/tables/Systems.sol","78":"node_modules/@latticexyz/world/src/codegen/tables/UserDelegationControl.sol","79":"node_modules/@latticexyz/world/src/constants.sol","80":"node_modules/@latticexyz/world/src/modules/init/InitModule.sol","81":"node_modules/@latticexyz/world/src/modules/init/LimitedCallContext.sol","82":"node_modules/@latticexyz/world/src/modules/init/RegistrationSystem.sol","83":"node_modules/@latticexyz/world/src/modules/init/constants.sol","84":"node_modules/@latticexyz/world/src/modules/init/functionSignatures.sol","85":"node_modules/@latticexyz/world/src/modules/init/implementations/AccessManagementSystem.sol","86":"node_modules/@latticexyz/world/src/modules/init/implementations/BalanceTransferSystem.sol","87":"node_modules/@latticexyz/world/src/modules/init/implementations/BatchCallSystem.sol","88":"node_modules/@latticexyz/world/src/modules/init/implementations/ModuleInstallationSystem.sol","89":"node_modules/@latticexyz/world/src/modules/init/implementations/StoreRegistrationSystem.sol","90":"node_modules/@latticexyz/world/src/modules/init/implementations/WorldRegistrationSystem.sol","91":"node_modules/@latticexyz/world/src/modules/init/implementations/createDelegation.sol","92":"node_modules/@latticexyz/world/src/modules/init/types.sol","93":"node_modules/@latticexyz/world/src/requireInterface.sol","94":"node_modules/@latticexyz/world/src/requireNamespace.sol","95":"node_modules/@latticexyz/world/src/requireValidNamespace.sol","96":"node_modules/@latticexyz/world/src/revertWithBytes.sol","97":"node_modules/@latticexyz/world/src/systemHookTypes.sol","98":"node_modules/@latticexyz/world/src/version.sol","99":"node_modules/@latticexyz/world/src/worldResourceTypes.sol","100":"node_modules/@latticexyz/world/test/createInitModule.sol","101":"node_modules/@latticexyz/world/test/createWorld.sol","102":"node_modules/forge-std/src/Base.sol","103":"node_modules/forge-std/src/StdAssertions.sol","104":"node_modules/forge-std/src/StdChains.sol","105":"node_modules/forge-std/src/StdCheats.sol","106":"node_modules/forge-std/src/StdConstants.sol","107":"node_modules/forge-std/src/StdError.sol","108":"node_modules/forge-std/src/StdInvariant.sol","109":"node_modules/forge-std/src/StdJson.sol","110":"node_modules/forge-std/src/StdMath.sol","111":"node_modules/forge-std/src/StdStorage.sol","112":"node_modules/forge-std/src/StdStyle.sol","113":"node_modules/forge-std/src/StdToml.sol","114":"node_modules/forge-std/src/StdUtils.sol","115":"node_modules/forge-std/src/Test.sol","116":"node_modules/forge-std/src/Vm.sol","117":"node_modules/forge-std/src/console.sol","118":"node_modules/forge-std/src/console2.sol","119":"node_modules/forge-std/src/interfaces/IMulticall3.sol","120":"node_modules/forge-std/src/safeconsole.sol","121":"src/examples/SimpleVault.sol","122":"src/experimental/WorldConsumer.sol","123":"test/WorldConsumer.t.sol"},"language":"Solidity"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"66:69203:
|
|
1
|
+
{"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"66:69203:117:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;66:69203:117;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"66:69203:117:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/forge-std/src/console.sol\":\"console\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/forge-std/src/console.sol\":{\"keccak256\":\"0x4bbf47eb762cef93729d6ef15e78789957147039b113e5d4df48e3d3fd16d0f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://af9e3a7c3d82fb5b10b57ca4d1a82f2acbef80c077f6f6ef0cc0187c7bfd9f57\",\"dweb:/ipfs/QmR9VzmnBDJpgiDP6CHT6truehukF9HpYvuP6kRiJbDwPP\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/forge-std/src/console.sol":"console"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/forge-std/src/console.sol":{"keccak256":"0x4bbf47eb762cef93729d6ef15e78789957147039b113e5d4df48e3d3fd16d0f5","urls":["bzz-raw://af9e3a7c3d82fb5b10b57ca4d1a82f2acbef80c077f6f6ef0cc0187c7bfd9f57","dweb:/ipfs/QmR9VzmnBDJpgiDP6CHT6truehukF9HpYvuP6kRiJbDwPP"],"license":"MIT"}},"version":1},"id":117}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"163:427371:
|
|
1
|
+
{"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"163:427371:120:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;163:427371:120;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"163:427371:120:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"philogy <https://github.com/philogy>\",\"details\":\"Code generated automatically by script.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/forge-std/src/safeconsole.sol\":\"safeconsole\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/forge-std/src/safeconsole.sol\":{\"keccak256\":\"0xbef9786cb49d3eade757bad87568c49c8c8f35721f0193c95ffb055d9e466e11\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3bafd2b0b2d28068d329f95ea8a1fbce3719c257fcb863fc01abcbafd8d531ab\",\"dweb:/ipfs/QmUeaFjKWTVDBsHVfSob4mwt6A5hTnKDz22HaUXeZhypa3\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/forge-std/src/safeconsole.sol":"safeconsole"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/forge-std/src/safeconsole.sol":{"keccak256":"0xbef9786cb49d3eade757bad87568c49c8c8f35721f0193c95ffb055d9e466e11","urls":["bzz-raw://3bafd2b0b2d28068d329f95ea8a1fbce3719c257fcb863fc01abcbafd8d531ab","dweb:/ipfs/QmUeaFjKWTVDBsHVfSob4mwt6A5hTnKDz22HaUXeZhypa3"],"license":"MIT"}},"version":1},"id":120}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latticexyz/world-consumer",
|
|
3
|
-
"version": "2.2.23-
|
|
3
|
+
"version": "2.2.23-b803eb1d495ce20f644a81c61473d0c33f9ecf54",
|
|
4
4
|
"description": "World Consumer Contracts",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"src"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@latticexyz/schema-type": "2.2.23-
|
|
24
|
-
"@latticexyz/store": "2.2.23-
|
|
25
|
-
"@latticexyz/world": "2.2.23-
|
|
23
|
+
"@latticexyz/schema-type": "2.2.23-b803eb1d495ce20f644a81c61473d0c33f9ecf54",
|
|
24
|
+
"@latticexyz/store": "2.2.23-b803eb1d495ce20f644a81c61473d0c33f9ecf54",
|
|
25
|
+
"@latticexyz/world": "2.2.23-b803eb1d495ce20f644a81c61473d0c33f9ecf54"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"forge-std": "https://github.com/foundry-rs/forge-std.git#
|
|
28
|
+
"forge-std": "https://github.com/foundry-rs/forge-std.git#60acb7aaadcce2d68e52986a0a66fe79f07d138f",
|
|
29
29
|
"solhint": "^3.3.7",
|
|
30
|
-
"@latticexyz/abi-ts": "2.2.23-
|
|
31
|
-
"@latticexyz/gas-report": "2.2.23-
|
|
30
|
+
"@latticexyz/abi-ts": "2.2.23-b803eb1d495ce20f644a81c61473d0c33f9ecf54",
|
|
31
|
+
"@latticexyz/gas-report": "2.2.23-b803eb1d495ce20f644a81c61473d0c33f9ecf54"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"type": "function",
|
|
4
|
-
"name": "allowance",
|
|
5
|
-
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
"name": "owner",
|
|
8
|
-
"type": "address",
|
|
9
|
-
"internalType": "address"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"name": "spender",
|
|
13
|
-
"type": "address",
|
|
14
|
-
"internalType": "address"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"outputs": [
|
|
18
|
-
{
|
|
19
|
-
"name": "",
|
|
20
|
-
"type": "uint256",
|
|
21
|
-
"internalType": "uint256"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"stateMutability": "view"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"type": "function",
|
|
28
|
-
"name": "approve",
|
|
29
|
-
"inputs": [
|
|
30
|
-
{
|
|
31
|
-
"name": "spender",
|
|
32
|
-
"type": "address",
|
|
33
|
-
"internalType": "address"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "amount",
|
|
37
|
-
"type": "uint256",
|
|
38
|
-
"internalType": "uint256"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"outputs": [
|
|
42
|
-
{
|
|
43
|
-
"name": "",
|
|
44
|
-
"type": "bool",
|
|
45
|
-
"internalType": "bool"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"stateMutability": "nonpayable"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"type": "function",
|
|
52
|
-
"name": "balanceOf",
|
|
53
|
-
"inputs": [
|
|
54
|
-
{
|
|
55
|
-
"name": "account",
|
|
56
|
-
"type": "address",
|
|
57
|
-
"internalType": "address"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"outputs": [
|
|
61
|
-
{
|
|
62
|
-
"name": "",
|
|
63
|
-
"type": "uint256",
|
|
64
|
-
"internalType": "uint256"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"stateMutability": "view"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"type": "function",
|
|
71
|
-
"name": "decimals",
|
|
72
|
-
"inputs": [],
|
|
73
|
-
"outputs": [
|
|
74
|
-
{
|
|
75
|
-
"name": "",
|
|
76
|
-
"type": "uint8",
|
|
77
|
-
"internalType": "uint8"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"stateMutability": "view"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"type": "function",
|
|
84
|
-
"name": "name",
|
|
85
|
-
"inputs": [],
|
|
86
|
-
"outputs": [
|
|
87
|
-
{
|
|
88
|
-
"name": "",
|
|
89
|
-
"type": "string",
|
|
90
|
-
"internalType": "string"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"stateMutability": "view"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"type": "function",
|
|
97
|
-
"name": "symbol",
|
|
98
|
-
"inputs": [],
|
|
99
|
-
"outputs": [
|
|
100
|
-
{
|
|
101
|
-
"name": "",
|
|
102
|
-
"type": "string",
|
|
103
|
-
"internalType": "string"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"stateMutability": "view"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"type": "function",
|
|
110
|
-
"name": "totalSupply",
|
|
111
|
-
"inputs": [],
|
|
112
|
-
"outputs": [
|
|
113
|
-
{
|
|
114
|
-
"name": "",
|
|
115
|
-
"type": "uint256",
|
|
116
|
-
"internalType": "uint256"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"stateMutability": "view"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"type": "function",
|
|
123
|
-
"name": "transfer",
|
|
124
|
-
"inputs": [
|
|
125
|
-
{
|
|
126
|
-
"name": "to",
|
|
127
|
-
"type": "address",
|
|
128
|
-
"internalType": "address"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "amount",
|
|
132
|
-
"type": "uint256",
|
|
133
|
-
"internalType": "uint256"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"outputs": [
|
|
137
|
-
{
|
|
138
|
-
"name": "",
|
|
139
|
-
"type": "bool",
|
|
140
|
-
"internalType": "bool"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"stateMutability": "nonpayable"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"type": "function",
|
|
147
|
-
"name": "transferFrom",
|
|
148
|
-
"inputs": [
|
|
149
|
-
{
|
|
150
|
-
"name": "from",
|
|
151
|
-
"type": "address",
|
|
152
|
-
"internalType": "address"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "to",
|
|
156
|
-
"type": "address",
|
|
157
|
-
"internalType": "address"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "amount",
|
|
161
|
-
"type": "uint256",
|
|
162
|
-
"internalType": "uint256"
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
"outputs": [
|
|
166
|
-
{
|
|
167
|
-
"name": "",
|
|
168
|
-
"type": "bool",
|
|
169
|
-
"internalType": "bool"
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"stateMutability": "nonpayable"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "event",
|
|
176
|
-
"name": "Approval",
|
|
177
|
-
"inputs": [
|
|
178
|
-
{
|
|
179
|
-
"name": "owner",
|
|
180
|
-
"type": "address",
|
|
181
|
-
"indexed": true,
|
|
182
|
-
"internalType": "address"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "spender",
|
|
186
|
-
"type": "address",
|
|
187
|
-
"indexed": true,
|
|
188
|
-
"internalType": "address"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "value",
|
|
192
|
-
"type": "uint256",
|
|
193
|
-
"indexed": false,
|
|
194
|
-
"internalType": "uint256"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"anonymous": false
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"type": "event",
|
|
201
|
-
"name": "Transfer",
|
|
202
|
-
"inputs": [
|
|
203
|
-
{
|
|
204
|
-
"name": "from",
|
|
205
|
-
"type": "address",
|
|
206
|
-
"indexed": true,
|
|
207
|
-
"internalType": "address"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"name": "to",
|
|
211
|
-
"type": "address",
|
|
212
|
-
"indexed": true,
|
|
213
|
-
"internalType": "address"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"name": "value",
|
|
217
|
-
"type": "uint256",
|
|
218
|
-
"indexed": false,
|
|
219
|
-
"internalType": "uint256"
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
"anonymous": false
|
|
223
|
-
}
|
|
224
|
-
]
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
declare const abi: [
|
|
2
|
-
{
|
|
3
|
-
"type": "function",
|
|
4
|
-
"name": "allowance",
|
|
5
|
-
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
"name": "owner",
|
|
8
|
-
"type": "address",
|
|
9
|
-
"internalType": "address"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"name": "spender",
|
|
13
|
-
"type": "address",
|
|
14
|
-
"internalType": "address"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"outputs": [
|
|
18
|
-
{
|
|
19
|
-
"name": "",
|
|
20
|
-
"type": "uint256",
|
|
21
|
-
"internalType": "uint256"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"stateMutability": "view"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"type": "function",
|
|
28
|
-
"name": "approve",
|
|
29
|
-
"inputs": [
|
|
30
|
-
{
|
|
31
|
-
"name": "spender",
|
|
32
|
-
"type": "address",
|
|
33
|
-
"internalType": "address"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "amount",
|
|
37
|
-
"type": "uint256",
|
|
38
|
-
"internalType": "uint256"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"outputs": [
|
|
42
|
-
{
|
|
43
|
-
"name": "",
|
|
44
|
-
"type": "bool",
|
|
45
|
-
"internalType": "bool"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"stateMutability": "nonpayable"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"type": "function",
|
|
52
|
-
"name": "balanceOf",
|
|
53
|
-
"inputs": [
|
|
54
|
-
{
|
|
55
|
-
"name": "account",
|
|
56
|
-
"type": "address",
|
|
57
|
-
"internalType": "address"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"outputs": [
|
|
61
|
-
{
|
|
62
|
-
"name": "",
|
|
63
|
-
"type": "uint256",
|
|
64
|
-
"internalType": "uint256"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"stateMutability": "view"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"type": "function",
|
|
71
|
-
"name": "decimals",
|
|
72
|
-
"inputs": [],
|
|
73
|
-
"outputs": [
|
|
74
|
-
{
|
|
75
|
-
"name": "",
|
|
76
|
-
"type": "uint8",
|
|
77
|
-
"internalType": "uint8"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"stateMutability": "view"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"type": "function",
|
|
84
|
-
"name": "name",
|
|
85
|
-
"inputs": [],
|
|
86
|
-
"outputs": [
|
|
87
|
-
{
|
|
88
|
-
"name": "",
|
|
89
|
-
"type": "string",
|
|
90
|
-
"internalType": "string"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"stateMutability": "view"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"type": "function",
|
|
97
|
-
"name": "symbol",
|
|
98
|
-
"inputs": [],
|
|
99
|
-
"outputs": [
|
|
100
|
-
{
|
|
101
|
-
"name": "",
|
|
102
|
-
"type": "string",
|
|
103
|
-
"internalType": "string"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"stateMutability": "view"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"type": "function",
|
|
110
|
-
"name": "totalSupply",
|
|
111
|
-
"inputs": [],
|
|
112
|
-
"outputs": [
|
|
113
|
-
{
|
|
114
|
-
"name": "",
|
|
115
|
-
"type": "uint256",
|
|
116
|
-
"internalType": "uint256"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"stateMutability": "view"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"type": "function",
|
|
123
|
-
"name": "transfer",
|
|
124
|
-
"inputs": [
|
|
125
|
-
{
|
|
126
|
-
"name": "to",
|
|
127
|
-
"type": "address",
|
|
128
|
-
"internalType": "address"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "amount",
|
|
132
|
-
"type": "uint256",
|
|
133
|
-
"internalType": "uint256"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"outputs": [
|
|
137
|
-
{
|
|
138
|
-
"name": "",
|
|
139
|
-
"type": "bool",
|
|
140
|
-
"internalType": "bool"
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"stateMutability": "nonpayable"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"type": "function",
|
|
147
|
-
"name": "transferFrom",
|
|
148
|
-
"inputs": [
|
|
149
|
-
{
|
|
150
|
-
"name": "from",
|
|
151
|
-
"type": "address",
|
|
152
|
-
"internalType": "address"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "to",
|
|
156
|
-
"type": "address",
|
|
157
|
-
"internalType": "address"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "amount",
|
|
161
|
-
"type": "uint256",
|
|
162
|
-
"internalType": "uint256"
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
"outputs": [
|
|
166
|
-
{
|
|
167
|
-
"name": "",
|
|
168
|
-
"type": "bool",
|
|
169
|
-
"internalType": "bool"
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"stateMutability": "nonpayable"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "event",
|
|
176
|
-
"name": "Approval",
|
|
177
|
-
"inputs": [
|
|
178
|
-
{
|
|
179
|
-
"name": "owner",
|
|
180
|
-
"type": "address",
|
|
181
|
-
"indexed": true,
|
|
182
|
-
"internalType": "address"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "spender",
|
|
186
|
-
"type": "address",
|
|
187
|
-
"indexed": true,
|
|
188
|
-
"internalType": "address"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "value",
|
|
192
|
-
"type": "uint256",
|
|
193
|
-
"indexed": false,
|
|
194
|
-
"internalType": "uint256"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"anonymous": false
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"type": "event",
|
|
201
|
-
"name": "Transfer",
|
|
202
|
-
"inputs": [
|
|
203
|
-
{
|
|
204
|
-
"name": "from",
|
|
205
|
-
"type": "address",
|
|
206
|
-
"indexed": true,
|
|
207
|
-
"internalType": "address"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"name": "to",
|
|
211
|
-
"type": "address",
|
|
212
|
-
"indexed": true,
|
|
213
|
-
"internalType": "address"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"name": "value",
|
|
217
|
-
"type": "uint256",
|
|
218
|
-
"indexed": false,
|
|
219
|
-
"internalType": "uint256"
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
"anonymous": false
|
|
223
|
-
}
|
|
224
|
-
];
|
|
225
|
-
|
|
226
|
-
export default abi;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"abi":[{"type":"function","name":"allowance","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"approve","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"transfer","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP.This includes the optional name, symbol, and decimals metadata.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set, where `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`).\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Be aware of front-running risks: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"allowance(address,address)\":{\"notice\":\"Returns the remaining number of tokens that `spender` is allowed to spend on behalf of `owner`\"},\"approve(address,uint256)\":{\"notice\":\"Sets `amount` as the allowance of `spender` over the caller's tokens.\"},\"balanceOf(address)\":{\"notice\":\"Returns the amount of tokens owned by `account`.\"},\"decimals()\":{\"notice\":\"Returns the decimals places of the token.\"},\"name()\":{\"notice\":\"Returns the name of the token.\"},\"symbol()\":{\"notice\":\"Returns the symbol of the token.\"},\"totalSupply()\":{\"notice\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"notice\":\"Moves `amount` tokens from the caller's account to `to`.\"},\"transferFrom(address,address,uint256)\":{\"notice\":\"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/forge-std/src/interfaces/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/forge-std/src/interfaces/IERC20.sol\":{\"keccak256\":\"0x4cab887298790f908c27de107e4e2907ca5413aee482ef776f8d2f353c5ef947\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb715e0c4a2bdbe432bb624501506041f06e878e0b72675aebba30ad2c2b72e7\",\"dweb:/ipfs/QmWhhLSvkxS2NrukJJHqFY8gDVE5r9rD4PfHvR24pwdKv9\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address","indexed":true},{"internalType":"address","name":"spender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Approval","anonymous":false},{"inputs":[{"internalType":"address","name":"from","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Transfer","anonymous":false},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"stateMutability":"view","type":"function","name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"name","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}]}],"devdoc":{"kind":"dev","methods":{"approve(address,uint256)":{"details":"Be aware of front-running risks: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729"}},"version":1},"userdoc":{"kind":"user","methods":{"allowance(address,address)":{"notice":"Returns the remaining number of tokens that `spender` is allowed to spend on behalf of `owner`"},"approve(address,uint256)":{"notice":"Sets `amount` as the allowance of `spender` over the caller's tokens."},"balanceOf(address)":{"notice":"Returns the amount of tokens owned by `account`."},"decimals()":{"notice":"Returns the decimals places of the token."},"name()":{"notice":"Returns the name of the token."},"symbol()":{"notice":"Returns the symbol of the token."},"totalSupply()":{"notice":"Returns the amount of tokens in existence."},"transfer(address,uint256)":{"notice":"Moves `amount` tokens from the caller's account to `to`."},"transferFrom(address,address,uint256)":{"notice":"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance."}},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/forge-std/src/interfaces/IERC20.sol":"IERC20"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/forge-std/src/interfaces/IERC20.sol":{"keccak256":"0x4cab887298790f908c27de107e4e2907ca5413aee482ef776f8d2f353c5ef947","urls":["bzz-raw://bb715e0c4a2bdbe432bb624501506041f06e878e0b72675aebba30ad2c2b72e7","dweb:/ipfs/QmWhhLSvkxS2NrukJJHqFY8gDVE5r9rD4PfHvR24pwdKv9"],"license":"MIT"}},"version":1},"id":119}
|