-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60f85c4
commit fd12a75
Showing
3 changed files
with
122 additions
and
1 deletion.
There are no files selected for viewing
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,67 @@ | ||
export const WHITELIST_CONTRACT_ADDRESS = | ||
"0x9277b365d6b170f62d951cbedb91a9b07f8f4e4b"; | ||
export const abi = [ | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint8", | ||
name: "_maxWhitelistedAddresses", | ||
type: "uint8", | ||
}, | ||
], | ||
stateMutability: "nonpayable", | ||
type: "constructor", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "addToWhitelist", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "maxWhitelistedAddresses", | ||
outputs: [ | ||
{ | ||
internalType: "uint8", | ||
name: "", | ||
type: "uint8", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "numAddressesWhitelisted", | ||
outputs: [ | ||
{ | ||
internalType: "uint8", | ||
name: "", | ||
type: "uint8", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
name: "whitelistedAddresses", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
name: "", | ||
type: "bool", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
]; |
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
Oops, something went wrong.
fd12a75
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:
whitelist-dapp – ./
whitelist-dapp-chandrakumarreddy.vercel.app
whitelist-dapp-one-mu.vercel.app
whitelist-dapp-git-master-chandrakumarreddy.vercel.app