Skip to content

Commit

Permalink
update ABI, update address PixelCanvas to external contract
Browse files Browse the repository at this point in the history
  • Loading branch information
phipsae committed Dec 20, 2024
1 parent 0bea55a commit 956ffe8
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion packages/nextjs/contracts/externalContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ const externalContracts = {
],
},
PixelCanvas: {
address: "0x54c92BB9f6c3d3416c22070bcD5678cfF57784B4",
address: "0x12961542E5Aa59541F2a7bFeF3F504A406AfC946",
abi: [
{
inputs: [],
Expand Down Expand Up @@ -968,6 +968,36 @@ const externalContracts = {
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getFullCanvas",
outputs: [
{
components: [
{
internalType: "address",
name: "author",
type: "address",
},
{
internalType: "enum PixelCanvas.Color",
name: "color",
type: "uint8",
},
{
internalType: "uint256",
name: "timestamp",
type: "uint256",
},
],
internalType: "struct PixelCanvas.Pixel[][]",
name: "",
type: "tuple[][]",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
Expand Down

0 comments on commit 956ffe8

Please sign in to comment.