Created
January 13, 2022 09:16
-
-
Save mqklin/69c83abe437c0e0a4d8936cdbb2ece98 to your computer and use it in GitHub Desktop.
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
export default [ | |
{ | |
inputs: [ | |
{ | |
internalType: 'string', | |
name: 'name', | |
type: 'string', | |
}, | |
{ | |
internalType: 'string', | |
name: 'symbol', | |
type: 'string', | |
}, | |
{ | |
internalType: 'string', | |
name: 'uri', | |
type: 'string', | |
}, | |
{ | |
internalType: 'contract iOVM_ERC20', | |
name: '_l2ERC20SanToken', | |
type: 'address', | |
}, | |
], | |
stateMutability: 'nonpayable', | |
type: 'constructor', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'owner', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'approved', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'Approval', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'owner', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'operator', | |
type: 'address', | |
}, | |
{ | |
indexed: false, | |
internalType: 'bool', | |
name: 'approved', | |
type: 'bool', | |
}, | |
], | |
name: 'ApprovalForAll', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'newCompetitionsAddress', | |
type: 'address', | |
}, | |
], | |
name: 'CompetitionsAddressChanged', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'newDurationToCloseSignals', | |
type: 'uint256', | |
}, | |
], | |
name: 'DurationToCloseSignalsChanged', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
indexed: false, | |
internalType: 'uint256', | |
name: 'amount', | |
type: 'uint256', | |
}, | |
], | |
name: 'IssuerBalanceLocked', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
indexed: false, | |
internalType: 'uint256', | |
name: 'amount', | |
type: 'uint256', | |
}, | |
], | |
name: 'IssuerBalanceUnlocked', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'newLockingAmount', | |
type: 'uint256', | |
}, | |
], | |
name: 'LockingAmountChanged', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: false, | |
internalType: 'address', | |
name: 'previousOwner', | |
type: 'address', | |
}, | |
{ | |
indexed: false, | |
internalType: 'address', | |
name: 'newOwner', | |
type: 'address', | |
}, | |
], | |
name: 'OwnershipTransferred', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: false, | |
internalType: 'address', | |
name: 'account', | |
type: 'address', | |
}, | |
], | |
name: 'Paused', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'newPerformanceStorageAddress', | |
type: 'address', | |
}, | |
], | |
name: 'PerformanceStorageAddressChanged', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'newPrice', | |
type: 'uint256', | |
}, | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'timestamp', | |
type: 'uint256', | |
}, | |
], | |
name: 'PriceChanged', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'operator', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'bool', | |
name: 'authorized', | |
type: 'bool', | |
}, | |
], | |
name: 'SetOperator', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'signalID', | |
type: 'uint256', | |
}, | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'isDirectionUp', | |
type: 'bool', | |
}, | |
], | |
internalType: 'struct SignalHashes.Info', | |
name: 'info', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'infoHash', | |
type: 'bytes32', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'stopLossPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'takeProfitPrice', | |
type: 'uint256', | |
}, | |
], | |
internalType: 'struct SignalHashes.ChangeableInfo', | |
name: 'changeableInfo', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'changeableInfoHash', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closePrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closeTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lifetime', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lockedAmount', | |
type: 'uint256', | |
}, | |
], | |
indexed: false, | |
internalType: 'struct Signals.Signal', | |
name: 'signal', | |
type: 'tuple', | |
}, | |
], | |
name: 'SignalChanged', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'signalID', | |
type: 'uint256', | |
}, | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'isDirectionUp', | |
type: 'bool', | |
}, | |
], | |
internalType: 'struct SignalHashes.Info', | |
name: 'info', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'infoHash', | |
type: 'bytes32', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'stopLossPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'takeProfitPrice', | |
type: 'uint256', | |
}, | |
], | |
internalType: 'struct SignalHashes.ChangeableInfo', | |
name: 'changeableInfo', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'changeableInfoHash', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closePrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closeTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lifetime', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lockedAmount', | |
type: 'uint256', | |
}, | |
], | |
indexed: false, | |
internalType: 'struct Signals.Signal', | |
name: 'signal', | |
type: 'tuple', | |
}, | |
], | |
name: 'SignalClosed', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: false, | |
internalType: 'uint256', | |
name: 'signalID', | |
type: 'uint256', | |
}, | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
indexed: true, | |
internalType: 'bytes32', | |
name: 'infoHash', | |
type: 'bytes32', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'isDirectionUp', | |
type: 'bool', | |
}, | |
], | |
internalType: 'struct SignalHashes.Info', | |
name: 'info', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'infoHash', | |
type: 'bytes32', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'stopLossPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'takeProfitPrice', | |
type: 'uint256', | |
}, | |
], | |
internalType: 'struct SignalHashes.ChangeableInfo', | |
name: 'changeableInfo', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'changeableInfoHash', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closePrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closeTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lifetime', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lockedAmount', | |
type: 'uint256', | |
}, | |
], | |
indexed: false, | |
internalType: 'struct Signals.Signal', | |
name: 'signal', | |
type: 'tuple', | |
}, | |
], | |
name: 'SignalCreated', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'newSignalsLifetime', | |
type: 'uint256', | |
}, | |
], | |
name: 'SignalsLifetimeChanged', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'from', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'address', | |
name: 'to', | |
type: 'address', | |
}, | |
{ | |
indexed: true, | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'Transfer', | |
type: 'event', | |
}, | |
{ | |
anonymous: false, | |
inputs: [ | |
{ | |
indexed: false, | |
internalType: 'address', | |
name: 'account', | |
type: 'address', | |
}, | |
], | |
name: 'Unpaused', | |
type: 'event', | |
}, | |
{ | |
inputs: [], | |
name: 'allLockedBalances', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'to', | |
type: 'address', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'approve', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'owner', | |
type: 'address', | |
}, | |
], | |
name: 'balanceOf', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'newCompetitionsAddress', | |
type: 'address', | |
}, | |
], | |
name: 'changeCompetitionsAddress', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'newDurationToCloseSignals', | |
type: 'uint256', | |
}, | |
], | |
name: 'changeDurationToCloseSignals', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'newLockingAmount', | |
type: 'uint256', | |
}, | |
], | |
name: 'changeLockingAmount', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'newPerformanceStorageAddress', | |
type: 'address', | |
}, | |
], | |
name: 'changePerformanceStorageAddress', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'newPrice', | |
type: 'uint256', | |
}, | |
], | |
name: 'changePrice', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32[]', | |
name: 'symbol', | |
type: 'bytes32[]', | |
}, | |
{ | |
internalType: 'uint256[]', | |
name: 'newPrice', | |
type: 'uint256[]', | |
}, | |
], | |
name: 'changePrices', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'signalID', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'changeableInfoHash', | |
type: 'bytes32', | |
}, | |
], | |
name: 'changeSignal', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'newSignalsLifetime', | |
type: 'uint256', | |
}, | |
], | |
name: 'changeSignalsLifetime', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'signalID', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'isDirectionUp', | |
type: 'bool', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'stopLossPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'takeProfitPrice', | |
type: 'uint256', | |
}, | |
], | |
name: 'closeSignal', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'signalID', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'isDirectionUp', | |
type: 'bool', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'stopLossPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'takeProfitPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'priceIndex', | |
type: 'uint256', | |
}, | |
], | |
name: 'closeSignal', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'competitionsAddress', | |
outputs: [ | |
{ | |
internalType: 'address', | |
name: '', | |
type: 'address', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
], | |
name: 'currentPrice', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'price', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'timestamp', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'index', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32[]', | |
name: 'symbol', | |
type: 'bytes32[]', | |
}, | |
], | |
name: 'currentPrices', | |
outputs: [ | |
{ | |
internalType: 'uint256[]', | |
name: 'prices', | |
type: 'uint256[]', | |
}, | |
{ | |
internalType: 'uint256[]', | |
name: 'timestamps', | |
type: 'uint256[]', | |
}, | |
{ | |
internalType: 'uint256[]', | |
name: 'indexes', | |
type: 'uint256[]', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'durationToCloseSignals', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'getApproved', | |
outputs: [ | |
{ | |
internalType: 'address', | |
name: '', | |
type: 'address', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'owner', | |
type: 'address', | |
}, | |
{ | |
internalType: 'address', | |
name: 'operator', | |
type: 'address', | |
}, | |
], | |
name: 'isApprovedForAll', | |
outputs: [ | |
{ | |
internalType: 'bool', | |
name: '', | |
type: 'bool', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'isOwner', | |
outputs: [ | |
{ | |
internalType: 'bool', | |
name: '', | |
type: 'bool', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: '', | |
type: 'address', | |
}, | |
], | |
name: 'issuersLockedBalances', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'l2ERC20SanToken', | |
outputs: [ | |
{ | |
internalType: 'contract iOVM_ERC20', | |
name: '', | |
type: 'address', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'lockingAmount', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'name', | |
outputs: [ | |
{ | |
internalType: 'string', | |
name: '', | |
type: 'string', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'infoHash', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'changeableInfoHash', | |
type: 'bytes32', | |
}, | |
], | |
name: 'newSignal', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: '', | |
type: 'address', | |
}, | |
], | |
name: 'operators', | |
outputs: [ | |
{ | |
internalType: 'bool', | |
name: '', | |
type: 'bool', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'owner', | |
outputs: [ | |
{ | |
internalType: 'address', | |
name: '', | |
type: 'address', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'ownerOf', | |
outputs: [ | |
{ | |
internalType: 'address', | |
name: '', | |
type: 'address', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'pause', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'paused', | |
outputs: [ | |
{ | |
internalType: 'bool', | |
name: '', | |
type: 'bool', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'performanceStorageAddress', | |
outputs: [ | |
{ | |
internalType: 'address', | |
name: '', | |
type: 'address', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32', | |
name: '', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
name: 'pricesByIndex', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'timestamp', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'price', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32', | |
name: '', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
name: 'pricesByTimestamp', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'from', | |
type: 'address', | |
}, | |
{ | |
internalType: 'address', | |
name: 'to', | |
type: 'address', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'safeTransferFrom', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'from', | |
type: 'address', | |
}, | |
{ | |
internalType: 'address', | |
name: 'to', | |
type: 'address', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'bytes', | |
name: '_data', | |
type: 'bytes', | |
}, | |
], | |
name: 'safeTransferFrom', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'operator', | |
type: 'address', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'approved', | |
type: 'bool', | |
}, | |
], | |
name: 'setApprovalForAll', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'operator', | |
type: 'address', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'authorized', | |
type: 'bool', | |
}, | |
], | |
name: 'setOperator', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'string', | |
name: 'uri', | |
type: 'string', | |
}, | |
], | |
name: 'setTokenURI', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
name: 'signals', | |
outputs: [ | |
{ | |
internalType: 'address', | |
name: 'issuer', | |
type: 'address', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'symbol', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'openTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'bool', | |
name: 'isDirectionUp', | |
type: 'bool', | |
}, | |
], | |
internalType: 'struct SignalHashes.Info', | |
name: 'info', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'infoHash', | |
type: 'bytes32', | |
}, | |
{ | |
components: [ | |
{ | |
internalType: 'bytes32', | |
name: 'salt', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'stopLossPrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'takeProfitPrice', | |
type: 'uint256', | |
}, | |
], | |
internalType: 'struct SignalHashes.ChangeableInfo', | |
name: 'changeableInfo', | |
type: 'tuple', | |
}, | |
{ | |
internalType: 'bytes32', | |
name: 'changeableInfoHash', | |
type: 'bytes32', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closePrice', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'closeTimestamp', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lifetime', | |
type: 'uint256', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'lockedAmount', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'signalsLifetime', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes4', | |
name: 'interfaceId', | |
type: 'bytes4', | |
}, | |
], | |
name: 'supportsInterface', | |
outputs: [ | |
{ | |
internalType: 'bool', | |
name: '', | |
type: 'bool', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'symbol', | |
outputs: [ | |
{ | |
internalType: 'string', | |
name: '', | |
type: 'string', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'index', | |
type: 'uint256', | |
}, | |
], | |
name: 'tokenByIndex', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'owner', | |
type: 'address', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'index', | |
type: 'uint256', | |
}, | |
], | |
name: 'tokenOfOwnerByIndex', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'tokenURI', | |
outputs: [ | |
{ | |
internalType: 'string', | |
name: '', | |
type: 'string', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'totalMinted', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'bytes32', | |
name: '', | |
type: 'bytes32', | |
}, | |
], | |
name: 'totalPrices', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'totalSupply', | |
outputs: [ | |
{ | |
internalType: 'uint256', | |
name: '', | |
type: 'uint256', | |
}, | |
], | |
stateMutability: 'view', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'from', | |
type: 'address', | |
}, | |
{ | |
internalType: 'address', | |
name: 'to', | |
type: 'address', | |
}, | |
{ | |
internalType: 'uint256', | |
name: 'tokenId', | |
type: 'uint256', | |
}, | |
], | |
name: 'transferFrom', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: 'address', | |
name: 'newOwner', | |
type: 'address', | |
}, | |
], | |
name: 'transferOwnership', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
{ | |
inputs: [], | |
name: 'unpause', | |
outputs: [], | |
stateMutability: 'nonpayable', | |
type: 'function', | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment