Skip to content

Commit

Permalink
Merge branch 'develop' into feature/si-1638-chain-toggle-changes-wall…
Browse files Browse the repository at this point in the history
…et-chain
  • Loading branch information
solidovic authored Dec 17, 2024
2 parents d2702a5 + 36c271e commit 871676e
Show file tree
Hide file tree
Showing 302 changed files with 4,892 additions and 6,501 deletions.
15 changes: 15 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"presets": [
[
"next/babel",
{
"preset-env": {
"exclude": ["transform-exponentiation-operator"]
}
}
]
],
"plugins": [
"babel-plugin-styled-components"
]
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY package.json yarn.lock ./

RUN yarn install --frozen-lockfile --non-interactive --ignore-scripts && yarn cache clean
COPY . .
RUN NODE_NO_BUILD_DYNAMICS=true yarn typechain && yarn build
RUN NODE_NO_BUILD_DYNAMICS=true yarn build
# public/runtime is used to inject runtime vars; it should exist and user node should have write access there for it
RUN rm -rf /app/public/runtime && mkdir /app/public/runtime && chown node /app/public/runtime

Expand Down
201 changes: 201 additions & 0 deletions abi/aggregator-abi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
export const AggregatorAbi = [
{
inputs: [
{ internalType: 'address', name: '_aggregator', type: 'address' },
{ internalType: 'address', name: '_accessController', type: 'address' },
],
stateMutability: 'nonpayable',
type: 'constructor',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'int256',
name: 'current',
type: 'int256',
},
{
indexed: true,
internalType: 'uint256',
name: 'roundId',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'updatedAt',
type: 'uint256',
},
],
name: 'AnswerUpdated',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'uint256',
name: 'roundId',
type: 'uint256',
},
{
indexed: true,
internalType: 'address',
name: 'startedBy',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'startedAt',
type: 'uint256',
},
],
name: 'NewRound',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'address', name: 'from', type: 'address' },
{ indexed: true, internalType: 'address', name: 'to', type: 'address' },
],
name: 'OwnershipTransferRequested',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'address', name: 'from', type: 'address' },
{ indexed: true, internalType: 'address', name: 'to', type: 'address' },
],
name: 'OwnershipTransferred',
type: 'event',
},
{
inputs: [],
name: 'acceptOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'accessController',
outputs: [
{
internalType: 'contract AccessControllerInterface',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'aggregator',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: '_aggregator', type: 'address' }],
name: 'confirmAggregator',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'decimals',
outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'description',
outputs: [{ internalType: 'string', name: '', type: 'string' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: '_roundId', type: 'uint256' }],
name: 'getAnswer',
outputs: [{ internalType: 'int256', name: '', type: 'int256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint80', name: '_roundId', type: 'uint80' }],
name: 'getRoundData',
outputs: [
{ internalType: 'uint80', name: 'roundId', type: 'uint80' },
{ internalType: 'int256', name: 'answer', type: 'int256' },
{ internalType: 'uint256', name: 'startedAt', type: 'uint256' },
{ internalType: 'uint256', name: 'updatedAt', type: 'uint256' },
{ internalType: 'uint80', name: 'answeredInRound', type: 'uint80' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: '_roundId', type: 'uint256' }],
name: 'getTimestamp',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'latestAnswer',
outputs: [{ internalType: 'int256', name: '', type: 'int256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'latestRound',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'latestRoundData',
outputs: [
{ internalType: 'uint80', name: 'roundId', type: 'uint80' },
{ internalType: 'int256', name: 'answer', type: 'int256' },
{ internalType: 'uint256', name: 'startedAt', type: 'uint256' },
{ internalType: 'uint256', name: 'updatedAt', type: 'uint256' },
{ internalType: 'uint80', name: 'answeredInRound', type: 'uint80' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'owner',
outputs: [{ internalType: 'address payable', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: '_to', type: 'address' }],
name: 'transferOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'version',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
] as const;
Loading

0 comments on commit 871676e

Please sign in to comment.