Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main' into feat/UM-…
Browse files Browse the repository at this point in the history
…6719-erc1155-offers

# Conflicts:
#	abis/AavegotchiDiamond.json
#	src/mappings/diamond.ts
#	subgraph.mumbai.yaml
#	subgraph.yaml
  • Loading branch information
orionstardust committed Jul 24, 2024
2 parents f2416fb + b899103 commit ca0efa3
Showing 37 changed files with 2,137 additions and 2 deletions.
388 changes: 388 additions & 0 deletions abis/AavegotchiDiamond.json
Original file line number Diff line number Diff line change
@@ -10395,6 +10395,394 @@
"name": "ERC721BuyOrderCanceled",
"type": "event"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_tokenId", "type": "uint256" },
{
"internalType": "uint16[16]",
"name": "_wearablesToEquip",
"type": "uint16[16]"
},
{
"internalType": "uint256[16]",
"name": "_commitmentIds",
"type": "uint256[16]"
}
],
"name": "equipDelegatedWearables",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "_tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256[16]",
"name": "_oldCommitmentIds",
"type": "uint256[16]"
},
{
"indexed": false,
"internalType": "uint256[16]",
"name": "_newCommitmentIds",
"type": "uint256[16]"
}
],
"name": "EquipDelegatedWearables",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_tokenAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_operator",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "_isApproved",
"type": "bool"
}
],
"name": "RoleApprovalForAll",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "_commitmentId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "_role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "_grantee",
"type": "address"
},
{
"indexed": false,
"internalType": "uint64",
"name": "_expirationDate",
"type": "uint64"
},
{
"indexed": false,
"internalType": "bool",
"name": "_revocable",
"type": "bool"
},
{
"indexed": false,
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "_commitmentId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "_role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "_grantee",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_grantor",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "_commitmentId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "_tokenAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_tokenId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_tokenAmount",
"type": "uint256"
}
],
"name": "TokensCommitted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "_commitmentId",
"type": "uint256"
}
],
"name": "TokensReleased",
"type": "event"
},
{
"inputs": [],
"name": "MAX_EXPIRATION_DATE",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "UNIQUE_ROLE",
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_grantor", "type": "address" },
{ "internalType": "address", "name": "_tokenAddress", "type": "address" },
{ "internalType": "uint256", "name": "_tokenId", "type": "uint256" },
{ "internalType": "uint256", "name": "_tokenAmount", "type": "uint256" }
],
"name": "commitTokens",
"outputs": [
{ "internalType": "uint256", "name": "commitmentId_", "type": "uint256" }
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" },
{ "internalType": "bytes32", "name": "_role", "type": "bytes32" },
{ "internalType": "address", "name": "_grantee", "type": "address" },
{ "internalType": "uint64", "name": "_expirationDate", "type": "uint64" },
{ "internalType": "bool", "name": "_revocable", "type": "bool" },
{ "internalType": "bytes", "name": "_data", "type": "bytes" }
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" }
],
"name": "grantorOf",
"outputs": [
{ "internalType": "address", "name": "grantor_", "type": "address" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_tokenAddress", "type": "address" },
{ "internalType": "address", "name": "_grantor", "type": "address" },
{ "internalType": "address", "name": "_operator", "type": "address" }
],
"name": "isRoleApprovedForAll",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" },
{ "internalType": "bytes32", "name": "_role", "type": "bytes32" },
{ "internalType": "address", "name": "_grantee", "type": "address" }
],
"name": "isRoleRevocable",
"outputs": [
{ "internalType": "bool", "name": "revocable_", "type": "bool" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "uint256[]", "name": "", "type": "uint256[]" },
{ "internalType": "uint256[]", "name": "", "type": "uint256[]" },
{ "internalType": "bytes", "name": "", "type": "bytes" }
],
"name": "onERC1155BatchReceived",
"outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "uint256", "name": "", "type": "uint256" },
{ "internalType": "uint256", "name": "", "type": "uint256" },
{ "internalType": "bytes", "name": "", "type": "bytes" }
],
"name": "onERC1155Received",
"outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" }
],
"name": "releaseTokens",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" },
{ "internalType": "bytes32", "name": "_role", "type": "bytes32" },
{ "internalType": "address", "name": "_grantee", "type": "address" }
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" },
{ "internalType": "bytes32", "name": "_role", "type": "bytes32" },
{ "internalType": "address", "name": "_grantee", "type": "address" }
],
"name": "roleData",
"outputs": [{ "internalType": "bytes", "name": "data_", "type": "bytes" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" },
{ "internalType": "bytes32", "name": "_role", "type": "bytes32" },
{ "internalType": "address", "name": "_grantee", "type": "address" }
],
"name": "roleExpirationDate",
"outputs": [
{ "internalType": "uint64", "name": "expirationDate_", "type": "uint64" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_tokenAddress", "type": "address" },
{ "internalType": "address", "name": "_operator", "type": "address" },
{ "internalType": "bool", "name": "_isApproved", "type": "bool" }
],
"name": "setRoleApprovalForAll",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
],
"name": "supportsInterface",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" }
],
"name": "tokenAddressOf",
"outputs": [
{ "internalType": "address", "name": "tokenAddress_", "type": "address" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" }
],
"name": "tokenAmountOf",
"outputs": [
{ "internalType": "uint256", "name": "tokenAmount_", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "_commitmentId", "type": "uint256" }
],
"name": "tokenIdOf",
"outputs": [
{ "internalType": "uint256", "name": "tokenId_", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
}
},
{
"anonymous": false,
"inputs": [
Loading

0 comments on commit ca0efa3

Please sign in to comment.