-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #406 from 0xOlias/config-refactor
Refactor config
- Loading branch information
Showing
89 changed files
with
9,082 additions
and
8,829 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,306 @@ | ||
export const FileStoreAbi = [ | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "contract IContentStore", | ||
name: "_contentStore", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "nonpayable", | ||
type: "constructor", | ||
}, | ||
{ inputs: [], name: "EmptyFile", type: "error" }, | ||
{ | ||
inputs: [{ internalType: "string", name: "filename", type: "string" }], | ||
name: "FileNotFound", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [{ internalType: "string", name: "filename", type: "string" }], | ||
name: "FilenameExists", | ||
type: "error", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "string", | ||
name: "indexedFilename", | ||
type: "string", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "bytes32", | ||
name: "checksum", | ||
type: "bytes32", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "string", | ||
name: "filename", | ||
type: "string", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "size", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "bytes", | ||
name: "metadata", | ||
type: "bytes", | ||
}, | ||
], | ||
name: "FileCreated", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "string", | ||
name: "indexedFilename", | ||
type: "string", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "bytes32", | ||
name: "checksum", | ||
type: "bytes32", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "string", | ||
name: "filename", | ||
type: "string", | ||
}, | ||
], | ||
name: "FileDeleted", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "previousOwner", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "newOwner", | ||
type: "address", | ||
}, | ||
], | ||
name: "OwnershipTransferStarted", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "previousOwner", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: "address", | ||
name: "newOwner", | ||
type: "address", | ||
}, | ||
], | ||
name: "OwnershipTransferred", | ||
type: "event", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "acceptOwnership", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "contentStore", | ||
outputs: [ | ||
{ | ||
internalType: "contract IContentStore", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ internalType: "string", name: "filename", type: "string" }, | ||
{ internalType: "bytes32[]", name: "checksums", type: "bytes32[]" }, | ||
], | ||
name: "createFile", | ||
outputs: [ | ||
{ | ||
components: [ | ||
{ internalType: "uint256", name: "size", type: "uint256" }, | ||
{ | ||
components: [ | ||
{ | ||
internalType: "bytes32", | ||
name: "checksum", | ||
type: "bytes32", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "pointer", | ||
type: "address", | ||
}, | ||
], | ||
internalType: "struct Content[]", | ||
name: "contents", | ||
type: "tuple[]", | ||
}, | ||
], | ||
internalType: "struct File", | ||
name: "file", | ||
type: "tuple", | ||
}, | ||
], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ internalType: "string", name: "filename", type: "string" }, | ||
{ internalType: "bytes32[]", name: "checksums", type: "bytes32[]" }, | ||
{ internalType: "bytes", name: "extraData", type: "bytes" }, | ||
], | ||
name: "createFile", | ||
outputs: [ | ||
{ | ||
components: [ | ||
{ internalType: "uint256", name: "size", type: "uint256" }, | ||
{ | ||
components: [ | ||
{ | ||
internalType: "bytes32", | ||
name: "checksum", | ||
type: "bytes32", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "pointer", | ||
type: "address", | ||
}, | ||
], | ||
internalType: "struct Content[]", | ||
name: "contents", | ||
type: "tuple[]", | ||
}, | ||
], | ||
internalType: "struct File", | ||
name: "file", | ||
type: "tuple", | ||
}, | ||
], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [{ internalType: "string", name: "filename", type: "string" }], | ||
name: "deleteFile", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [{ internalType: "string", name: "filename", type: "string" }], | ||
name: "fileExists", | ||
outputs: [{ internalType: "bool", name: "", type: "bool" }], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [{ internalType: "string", name: "", type: "string" }], | ||
name: "files", | ||
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [{ internalType: "string", name: "filename", type: "string" }], | ||
name: "getChecksum", | ||
outputs: [{ internalType: "bytes32", name: "checksum", type: "bytes32" }], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [{ internalType: "string", name: "filename", type: "string" }], | ||
name: "getFile", | ||
outputs: [ | ||
{ | ||
components: [ | ||
{ internalType: "uint256", name: "size", type: "uint256" }, | ||
{ | ||
components: [ | ||
{ | ||
internalType: "bytes32", | ||
name: "checksum", | ||
type: "bytes32", | ||
}, | ||
{ | ||
internalType: "address", | ||
name: "pointer", | ||
type: "address", | ||
}, | ||
], | ||
internalType: "struct Content[]", | ||
name: "contents", | ||
type: "tuple[]", | ||
}, | ||
], | ||
internalType: "struct File", | ||
name: "file", | ||
type: "tuple", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "owner", | ||
outputs: [{ internalType: "address", name: "", type: "address" }], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "pendingOwner", | ||
outputs: [{ internalType: "address", name: "", type: "address" }], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "renounceOwnership", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [{ internalType: "address", name: "newOwner", type: "address" }], | ||
name: "transferOwnership", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
] as const; |
Oops, something went wrong.
584b541
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ponder-docs – ./
ponder-docs-cantrip.vercel.app
ponder.sh
ponder-docs-git-main-cantrip.vercel.app
ponder-docs.vercel.app
www.ponder.sh