Skip to content

Commit

Permalink
testing:add-nestcoin-erc20-abi
Browse files Browse the repository at this point in the history
  • Loading branch information
NeelClaudel committed Oct 30, 2023
1 parent 29fe58d commit c80528b
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/nextjs/components/nest/NestStablecoinFunction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const NestStablecoinFunction = ({ address }: { address?: string }) => {
const { address: connectedAddress } = useAccount();
const { data: NESTEngineContract } = useDeployedContractInfo("NESTEngine");
const { data: NestStableCoinContact } = useDeployedContractInfo("NestStableCoin");

useAccountBalance(NESTEngineContract?.address);
useAccountBalance(NestStableCoinContact?.address);

Expand Down
74 changes: 74 additions & 0 deletions packages/nextjs/generated/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,80 @@ const deployedContracts = {
},
],
},
NestCoin: {
address: "0x6268212c72916ec0AA8F63E6d7Bd8B034532e3a9",
abi: [
{
inputs: [
{
internalType: "address",
name: "_logic",
type: "address",
},
{
internalType: "bytes",
name: "_data",
type: "bytes",
},
],
stateMutability: "payable",
type: "constructor",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "previousAdmin",
type: "address",
},
{
indexed: false,
internalType: "address",
name: "newAdmin",
type: "address",
},
],
name: "AdminChanged",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "beacon",
type: "address",
},
],
name: "BeaconUpgraded",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "implementation",
type: "address",
},
],
name: "Upgraded",
type: "event",
},
{
stateMutability: "payable",
type: "fallback",
},
{
stateMutability: "payable",
type: "receive",
},
],
},
},
},
],
Expand Down

0 comments on commit c80528b

Please sign in to comment.