Skip to content

Commit

Permalink
typings
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppecrj committed Jun 25, 2024
1 parent c551e5c commit 5f20321
Show file tree
Hide file tree
Showing 20 changed files with 241 additions and 36 deletions.
10 changes: 10 additions & 0 deletions packages/generated/dev/abis/Architect.abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@
"type": "string",
"internalType": "string"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
},
{
"name": "membership",
"type": "tuple",
Expand Down
10 changes: 10 additions & 0 deletions packages/generated/dev/abis/Architect.abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ export default [
"type": "string",
"internalType": "string"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
},
{
"name": "membership",
"type": "tuple",
Expand Down
2 changes: 1 addition & 1 deletion packages/generated/dev/abis/Architect.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/generated/dev/abis/Architect.json

Large diffs are not rendered by default.

28 changes: 19 additions & 9 deletions packages/generated/dev/abis/Architect.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,16 @@
"name": "uri",
"type": "string"
},
{
"internalType": "string",
"name": "shortDescription",
"type": "string"
},
{
"internalType": "string",
"name": "longDescription",
"type": "string"
},
{
"components": [
{
Expand Down Expand Up @@ -807,11 +817,11 @@
]
},
"contracts/src/factory/facets/architect/ArchitectBase.sol": {
"keccak256": "0x68cb4754a3231a5e56bc9f97af2c3e126ea5a4eef0e4ff6367f1d588dcf807cf",
"keccak256": "0x4676216deb8678864044c22050d05c0860a6b0a9e324aa232167f88dbe79c0ad",
"license": "MIT",
"urls": [
"bzz-raw://d1ded9058f6a1254c0400d7119077371d0aefb26617f9c9a08a0046f293f3e0e",
"dweb:/ipfs/QmfUAkpsit5YgGJSaRZGpTp8hs7E511gYeViRRySkqAj7N"
"bzz-raw://e16ca2c87ccf1fb7761694353586b1f712e29b2def92edbb2eb429792b08bfe4",
"dweb:/ipfs/QmbfsL35mBjHuq9bwMnhB9UdZ2dqpuopPNSDBYRf2ATkhP"
]
},
"contracts/src/factory/facets/architect/ArchitectStorage.sol": {
Expand All @@ -823,11 +833,11 @@
]
},
"contracts/src/factory/facets/architect/IArchitect.sol": {
"keccak256": "0xafa86ffd67524780f6dcba1d444ae99de5b1b3e989273c6538f40bb8126d6480",
"keccak256": "0x75731d89fd87dcb4698cb8562a75c70098461d42c53cbe9a13d35264945723ed",
"license": "MIT",
"urls": [
"bzz-raw://c9145f171448f5f38336f29467a3663c326a2ed599c782142f9e1d7745ce248d",
"dweb:/ipfs/QmQJMWSLA5KntTto94C9bcdAdAxwwMHjvMMcBtaJ6BXUqB"
"bzz-raw://1aa71d9a3465a3e290f73c1721be0bc94e23fd7dd40039f4eb673dab29fe2f51",
"dweb:/ipfs/QmWJJMTmnhswUtt5KD6T23pK1AvgBaRx1Zp8xA93btuWCp"
]
},
"contracts/src/factory/facets/architect/ImplementationStorage.sol": {
Expand Down Expand Up @@ -999,11 +1009,11 @@
]
},
"contracts/src/spaces/facets/owner/ISpaceOwner.sol": {
"keccak256": "0xff6ef530de3398b53d22b11fa207dc10646bc8c3823b0f472903d09f2a3fff09",
"keccak256": "0x75fef729920165a9cc37f7c212da288bc983bb11e39544a59c657cd9fa2e204a",
"license": "MIT",
"urls": [
"bzz-raw://36991d594ca8452a27647a48c15ab24aab39d33322d3bc0d726a8a7b33fd5ab2",
"dweb:/ipfs/QmVSBbXi5sxPW5Skoph6qjKfzGCnCpExYBb38S4HqvhtzQ"
"bzz-raw://1baac2d168e5ee3269b0b6b59ce7df29e63c38ef3d484850ed05f0a56ab59464",
"dweb:/ipfs/QmZPxAByZ4PiQFUq45AM8LEJ2YC6n8XxE6nRHgf8Kg7nxZ"
]
},
"contracts/src/spaces/facets/prepay/IPrepay.sol": {
Expand Down
2 changes: 1 addition & 1 deletion packages/generated/dev/abis/Channels.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/generated/dev/abis/EntitlementsManager.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/generated/dev/abis/MembershipFacet.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/generated/dev/abis/PrepayFacet.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/generated/dev/abis/Roles.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions packages/generated/dev/abis/SpaceOwner.abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,16 @@
"name": "createdAt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
}
]
}
Expand Down Expand Up @@ -406,6 +416,16 @@
"name": "space",
"type": "address",
"internalType": "address"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
}
],
"outputs": [
Expand Down Expand Up @@ -649,6 +669,16 @@
"name": "uri",
"type": "string",
"internalType": "string"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
Expand Down
30 changes: 30 additions & 0 deletions packages/generated/dev/abis/SpaceOwner.abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,16 @@ export default [
"name": "createdAt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
}
]
}
Expand Down Expand Up @@ -406,6 +416,16 @@ export default [
"name": "space",
"type": "address",
"internalType": "address"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
}
],
"outputs": [
Expand Down Expand Up @@ -649,6 +669,16 @@ export default [
"name": "uri",
"type": "string",
"internalType": "string"
},
{
"name": "shortDescription",
"type": "string",
"internalType": "string"
},
{
"name": "longDescription",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/generated/dev/abis/SpaceOwner.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/generated/dev/abis/SpaceOwner.json

Large diffs are not rendered by default.

60 changes: 47 additions & 13 deletions packages/generated/dev/abis/SpaceOwner.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,16 @@
"internalType": "uint256",
"name": "createdAt",
"type": "uint256"
},
{
"internalType": "string",
"name": "shortDescription",
"type": "string"
},
{
"internalType": "string",
"name": "longDescription",
"type": "string"
}
],
"internalType": "struct ISpaceOwnerBase.Space",
Expand Down Expand Up @@ -898,6 +908,16 @@
"internalType": "address",
"name": "space",
"type": "address"
},
{
"internalType": "string",
"name": "shortDescription",
"type": "string"
},
{
"internalType": "string",
"name": "longDescription",
"type": "string"
}
],
"name": "mintSpace",
Expand Down Expand Up @@ -1141,6 +1161,16 @@
"internalType": "string",
"name": "uri",
"type": "string"
},
{
"internalType": "string",
"name": "shortDescription",
"type": "string"
},
{
"internalType": "string",
"name": "longDescription",
"type": "string"
}
],
"name": "updateSpaceInfo",
Expand Down Expand Up @@ -1252,10 +1282,12 @@
"isApprovedForAll(address,address)": {
"details": "Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}."
},
"mintSpace(string,string,address)": {
"mintSpace(string,string,address,string,string)": {
"details": "Only the factory is allowed to mint spaces",
"params": {
"longDescription": "The long description of the space",
"name": "The name of the space",
"shortDescription": "The short description of the space",
"space": "The address of the space",
"uri": "The URI of the space"
},
Expand Down Expand Up @@ -1290,10 +1322,12 @@
"transferFrom(address,address,uint256)": {
"details": "Transfers `tokenId` from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event."
},
"updateSpaceInfo(address,string,string)": {
"updateSpaceInfo(address,string,string,string,string)": {
"details": "Only the space owner is allowed to update the space info",
"params": {
"longDescription": "The long description of the space",
"name": "The name of the space",
"shortDescription": "The short description of the space",
"space": "The address of the space",
"uri": "The URI of the space"
}
Expand Down Expand Up @@ -1385,7 +1419,7 @@
"getSpaceInfo(address)": {
"notice": "Get the space info"
},
"mintSpace(string,string,address)": {
"mintSpace(string,string,address,string,string)": {
"notice": "Mint a space"
},
"nextTokenId()": {
Expand All @@ -1394,7 +1428,7 @@
"setFactory(address)": {
"notice": "Set the factory address that is allowed to mint spaces"
},
"updateSpaceInfo(address,string,string)": {
"updateSpaceInfo(address,string,string,string,string)": {
"notice": "Update the space info"
}
},
Expand Down Expand Up @@ -1644,27 +1678,27 @@
]
},
"contracts/src/spaces/facets/owner/ISpaceOwner.sol": {
"keccak256": "0xff6ef530de3398b53d22b11fa207dc10646bc8c3823b0f472903d09f2a3fff09",
"keccak256": "0x75fef729920165a9cc37f7c212da288bc983bb11e39544a59c657cd9fa2e204a",
"license": "MIT",
"urls": [
"bzz-raw://36991d594ca8452a27647a48c15ab24aab39d33322d3bc0d726a8a7b33fd5ab2",
"dweb:/ipfs/QmVSBbXi5sxPW5Skoph6qjKfzGCnCpExYBb38S4HqvhtzQ"
"bzz-raw://1baac2d168e5ee3269b0b6b59ce7df29e63c38ef3d484850ed05f0a56ab59464",
"dweb:/ipfs/QmZPxAByZ4PiQFUq45AM8LEJ2YC6n8XxE6nRHgf8Kg7nxZ"
]
},
"contracts/src/spaces/facets/owner/SpaceOwner.sol": {
"keccak256": "0xd4ae1573c079a664691dcf26c8dc9a40ea2d1ef939698b0d048c5d3e66004a7d",
"keccak256": "0x2aca80d58e543ed53cd74703b88bc0984bbc5fe123248ec6fc6ab85f9fd19dab",
"license": "MIT",
"urls": [
"bzz-raw://29883563ce4582f629ac71050544f04ab3ff8dfa0d33ca85045c45f588b87bf3",
"dweb:/ipfs/Qmdz5UeU5EF76bKD4L7AQMjnCqyLQarDSo814Gt6XT6pea"
"bzz-raw://50f09db550b493adcd6bf5922e5a2202483776a1ce1c561d3f772170d5e53253",
"dweb:/ipfs/QmUycNN84TbHZuTvXcGYmKizUEvaeEFZfVe98eQRFyiGQU"
]
},
"contracts/src/spaces/facets/owner/SpaceOwnerBase.sol": {
"keccak256": "0xd0ecb2821b80216dc333473ab0144f8d551ee7c226a5994f05d95b8b98a3df64",
"keccak256": "0xbc9528d60f683ed0b41c37774742c4d585f812962efb2d2f765ff22afde2d951",
"license": "MIT",
"urls": [
"bzz-raw://26493620d6dd7f1c410f0aa2193358eb9efe6e02baabaffa1341d6b9b4b60473",
"dweb:/ipfs/Qmc32ouEvEK8mQVLqGx7m95HR2tXab5LWmJkBWyGj62rLZ"
"bzz-raw://8189b013b5dc6b21a01a12a0970c329cf2c9bd3f5e46dce62eca34e390532d18",
"dweb:/ipfs/QmYi7QTh4mF1kZnvSSqvDuvjyaWdKGXnW2qMJgweSUeG6v"
]
},
"contracts/src/spaces/facets/owner/SpaceOwnerStorage.sol": {
Expand Down
2 changes: 1 addition & 1 deletion packages/generated/dev/abis/WalletLink.json

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion packages/generated/dev/typings/IArchitect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,26 +162,32 @@ export declare namespace IArchitectBase {
export type SpaceInfoStruct = {
name: PromiseOrValue<string>;
uri: PromiseOrValue<string>;
shortDescription: PromiseOrValue<string>;
longDescription: PromiseOrValue<string>;
membership: IArchitectBase.MembershipStruct;
channel: IArchitectBase.ChannelInfoStruct;
};

export type SpaceInfoStructOutput = [
string,
string,
string,
string,
IArchitectBase.MembershipStructOutput,
IArchitectBase.ChannelInfoStructOutput
] & {
name: string;
uri: string;
shortDescription: string;
longDescription: string;
membership: IArchitectBase.MembershipStructOutput;
channel: IArchitectBase.ChannelInfoStructOutput;
};
}

export interface IArchitectInterface extends utils.Interface {
functions: {
"createSpace((string,string,((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],((uint8,uint8)[],(uint8,uint256,address,uint256)[],(uint8,uint8,uint8)[])),string[]),(string)))": FunctionFragment;
"createSpace((string,string,string,string,((string,string,uint256,uint256,uint64,address,address,uint256,address),(bool,address[],((uint8,uint8)[],(uint8,uint256,address,uint256)[],(uint8,uint8,uint8)[])),string[]),(string)))": FunctionFragment;
"getSpaceArchitectImplementations()": FunctionFragment;
"getSpaceByTokenId(uint256)": FunctionFragment;
"getTokenIdBySpace(address)": FunctionFragment;
Expand Down
Loading

0 comments on commit 5f20321

Please sign in to comment.