Skip to content

Commit

Permalink
feat(nfts): snaefell-ui release (#17394)
Browse files Browse the repository at this point in the history
  • Loading branch information
bearni95 authored May 28, 2024
1 parent d51f4bd commit dba9c65
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
8 changes: 0 additions & 8 deletions packages/snaefell-ui/src/components/Mint/Mint.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,6 @@
<ProgressBar {progress} />
</div>

<div class={infoRowClasses}>
<div class={counterClasses}>
<div class={currentMintedClasses}>#{totalSupply}</div>
<div class={maxMintedClasses}>/ {mintMax}</div>
</div>
<ProgressBar {progress} />
</div>

<div class={counterClasses}>
<div class={eligibilityLabelClasses}>{$t('content.mint.eligibleLabel')}</div>
<div class={eligibilityValueClasses}>{$mintState.totalMintCount}</div>
Expand Down
20 changes: 12 additions & 8 deletions packages/snaefell-ui/src/generated/abi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ export const snaefellTokenAbi = [
type: 'function',
inputs: [],
name: 'blacklist',
outputs: [{ name: '', internalType: 'contract IMinimalBlacklist', type: 'address' }],
outputs: [
{ name: '', internalType: 'contract IMinimalBlacklist', type: 'address' },
],
stateMutability: 'view',
},
{
Expand Down Expand Up @@ -491,7 +493,9 @@ export const snaefellTokenAbi = [
},
{
type: 'error',
inputs: [{ name: 'implementation', internalType: 'address', type: 'address' }],
inputs: [
{ name: 'implementation', internalType: 'address', type: 'address' },
],
name: 'ERC1967InvalidImplementation',
},
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
Expand Down Expand Up @@ -578,21 +582,21 @@ export const snaefellTokenAbi = [
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
name: 'UUPSUnsupportedProxiableUUID',
},
] as const;
] as const

/**
*
*/
export const snaefellTokenAddress = {
31337: '0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82',
167000: '0xe5d84034f185eC81bD0D6f4Fc400F324792B4D52',
167001: '0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e',
} as const;
31337: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9',
167000: '0xD57b9EE8f597801e82018ed44e07E9065645B0c1',
167001: '0x9A676e781A523b5d0C0e43731313A708CB607508',
} as const

/**
*
*/
export const snaefellTokenConfig = {
address: snaefellTokenAddress,
abi: snaefellTokenAbi,
} as const;
} as const

0 comments on commit dba9c65

Please sign in to comment.