@devprotocol/dev-kit
Advanced tools
Comparing version 5.11.1 to 5.11.2
@@ -133,2 +133,3 @@ import { TransactionResponse, Provider } from '@ethersproject/abstract-provider'; | ||
readonly getId: (metricsAddress: string) => Promise<string>; | ||
readonly getMetrics: (id: string) => Promise<string>; | ||
}; | ||
@@ -362,3 +363,3 @@ declare const createMarketBehaviorContract: (provider: Provider | Signer) => (address: string) => CreateMarketBehaviorContract; | ||
declare const devAbi: ({ | ||
declare const lockupAbi: ({ | ||
inputs: { | ||
@@ -409,3 +410,3 @@ internalType: string; | ||
declare const marketFactoryAbi: ({ | ||
declare const devAbi: ({ | ||
inputs: { | ||
@@ -456,3 +457,3 @@ internalType: string; | ||
declare const lockupAbi: ({ | ||
declare const marketAbi: ({ | ||
inputs: { | ||
@@ -466,21 +467,6 @@ internalType: string; | ||
type: string; | ||
anonymous?: undefined; | ||
constant?: undefined; | ||
name?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
anonymous: boolean; | ||
inputs: { | ||
indexed: boolean; | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
name: string; | ||
type: string; | ||
payable?: undefined; | ||
stateMutability?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
constant: boolean; | ||
@@ -501,6 +487,5 @@ inputs: { | ||
type: string; | ||
anonymous?: undefined; | ||
})[]; | ||
declare const marketBehaviorAbi: { | ||
declare const metricsAbi: ({ | ||
inputs: { | ||
@@ -511,2 +496,11 @@ internalType: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
constant?: undefined; | ||
name?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: never[]; | ||
name: string; | ||
@@ -518,7 +512,8 @@ outputs: { | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
}[]; | ||
})[]; | ||
declare const marketAbi: ({ | ||
declare const marketFactoryAbi: ({ | ||
inputs: { | ||
@@ -532,6 +527,21 @@ internalType: string; | ||
type: string; | ||
anonymous?: undefined; | ||
name?: undefined; | ||
constant?: undefined; | ||
name?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
anonymous: boolean; | ||
inputs: { | ||
indexed: boolean; | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
name: string; | ||
type: string; | ||
payable?: undefined; | ||
stateMutability?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
constant: boolean; | ||
@@ -552,5 +562,7 @@ inputs: { | ||
type: string; | ||
anonymous?: undefined; | ||
})[]; | ||
declare const metricsAbi: ({ | ||
declare const metricsGroupAbi: { | ||
constant: boolean; | ||
inputs: { | ||
@@ -561,11 +573,19 @@ internalType: string; | ||
}[]; | ||
name: string; | ||
outputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
constant?: undefined; | ||
name?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: never[]; | ||
}[]; | ||
declare const marketBehaviorAbi: { | ||
inputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
name: string; | ||
@@ -577,8 +597,7 @@ outputs: { | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
})[]; | ||
}[]; | ||
declare const metricsFactoryAbi: ({ | ||
declare const policyFactoryAbi: ({ | ||
inputs: { | ||
@@ -612,3 +631,5 @@ internalType: string; | ||
constant: boolean; | ||
inputs: { | ||
inputs: never[]; | ||
name: string; | ||
outputs: { | ||
internalType: string; | ||
@@ -618,4 +639,9 @@ name: string; | ||
}[]; | ||
name: string; | ||
outputs: { | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
anonymous?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: { | ||
internalType: string; | ||
@@ -625,2 +651,4 @@ name: string; | ||
}[]; | ||
name: string; | ||
outputs: never[]; | ||
payable: boolean; | ||
@@ -632,3 +660,3 @@ stateMutability: string; | ||
declare const metricsGroupAbi: { | ||
declare const policyAbi: { | ||
constant: boolean; | ||
@@ -651,3 +679,3 @@ inputs: { | ||
declare const policyFactoryAbi: ({ | ||
declare const metricsFactoryAbi: ({ | ||
inputs: { | ||
@@ -681,5 +709,3 @@ internalType: string; | ||
constant: boolean; | ||
inputs: never[]; | ||
name: string; | ||
outputs: { | ||
inputs: { | ||
internalType: string; | ||
@@ -689,9 +715,4 @@ name: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
anonymous?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: { | ||
name: string; | ||
outputs: { | ||
internalType: string; | ||
@@ -701,4 +722,2 @@ name: string; | ||
}[]; | ||
name: string; | ||
outputs: never[]; | ||
payable: boolean; | ||
@@ -710,3 +729,3 @@ stateMutability: string; | ||
declare const policyGroupAbi: ({ | ||
declare const propertyAbi: ({ | ||
inputs: { | ||
@@ -717,3 +736,2 @@ internalType: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
@@ -723,3 +741,2 @@ type: string; | ||
name?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
@@ -736,8 +753,5 @@ } | { | ||
type: string; | ||
payable?: undefined; | ||
stateMutability?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: { | ||
@@ -754,3 +768,2 @@ internalType: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
@@ -761,3 +774,3 @@ type: string; | ||
declare const propertyAbi: ({ | ||
declare const propertyFactoryAbi: ({ | ||
inputs: { | ||
@@ -768,2 +781,3 @@ internalType: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
@@ -773,2 +787,3 @@ type: string; | ||
name?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
@@ -785,5 +800,8 @@ } | { | ||
type: string; | ||
payable?: undefined; | ||
stateMutability?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: { | ||
@@ -800,2 +818,3 @@ internalType: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
@@ -848,4 +867,3 @@ type: string; | ||
declare const policyAbi: { | ||
constant: boolean; | ||
declare const policyGroupAbi: ({ | ||
inputs: { | ||
@@ -856,14 +874,10 @@ internalType: string; | ||
}[]; | ||
name: string; | ||
outputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
}[]; | ||
declare const sTokensAbi: ({ | ||
anonymous?: undefined; | ||
name?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
anonymous: boolean; | ||
@@ -878,5 +892,8 @@ inputs: { | ||
type: string; | ||
payable?: undefined; | ||
stateMutability?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: { | ||
@@ -893,2 +910,3 @@ internalType: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
@@ -945,16 +963,3 @@ type: string; | ||
declare const propertyFactoryAbi: ({ | ||
inputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
type: string; | ||
anonymous?: undefined; | ||
name?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
declare const sTokensAbi: ({ | ||
anonymous: boolean; | ||
@@ -969,8 +974,5 @@ inputs: { | ||
type: string; | ||
payable?: undefined; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
constant?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
constant: boolean; | ||
inputs: { | ||
@@ -987,3 +989,2 @@ internalType: string; | ||
}[]; | ||
payable: boolean; | ||
stateMutability: string; | ||
@@ -1007,7 +1008,2 @@ type: string; | ||
declare type DevkitUtils = { | ||
readonly execute: typeof execute; | ||
}; | ||
declare const utils: DevkitUtils; | ||
declare type CreateGetVotablePolicyCaller = (policyGroup: PolicyGroupContract) => () => Promise<readonly string[]>; | ||
@@ -1041,2 +1037,7 @@ declare const createGetVotablePolicy: CreateGetVotablePolicyCaller; | ||
declare type DevkitUtils = { | ||
readonly execute: typeof execute; | ||
}; | ||
declare const utils: DevkitUtils; | ||
declare type MarketFactoryContract = { | ||
@@ -1043,0 +1044,0 @@ readonly create: (marketBehaviorAddress: string, overrides?: FallbackableOverrides) => Promise<boolean>; |
@@ -28,2 +28,3 @@ import * as _ethersproject_abstract_provider from '@ethersproject/abstract-provider'; | ||
readonly getId: (metricsAddress: string) => Promise<string>; | ||
readonly getMetrics: (id: string) => Promise<string>; | ||
}; | ||
@@ -213,6 +214,4 @@ declare const createMarketBehaviorContract: (provider: Provider | Signer) => (address: string) => CreateMarketBehaviorContract; | ||
declare const lockupAbi: ({ | ||
anonymous: boolean; | ||
declare const marketAbi: ({ | ||
inputs: { | ||
indexed: boolean; | ||
internalType: string; | ||
@@ -222,6 +221,6 @@ name: string; | ||
}[]; | ||
name: string; | ||
stateMutability: string; | ||
type: string; | ||
name?: undefined; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
} | { | ||
@@ -241,12 +240,24 @@ inputs: { | ||
type: string; | ||
anonymous?: undefined; | ||
})[]; | ||
declare const metricsFactoryAbi: ({ | ||
anonymous: boolean; | ||
inputs: { | ||
indexed: boolean; | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
name: string; | ||
type: string; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
} | { | ||
inputs: never[]; | ||
inputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
name: string; | ||
outputs: { | ||
components: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
internalType: string; | ||
@@ -261,4 +272,6 @@ name: string; | ||
declare const marketAbi: ({ | ||
declare const marketFactoryAbi: ({ | ||
anonymous: boolean; | ||
inputs: { | ||
indexed: boolean; | ||
internalType: string; | ||
@@ -268,6 +281,6 @@ name: string; | ||
}[]; | ||
stateMutability: string; | ||
name: string; | ||
type: string; | ||
name?: undefined; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
} | { | ||
@@ -287,5 +300,6 @@ inputs: { | ||
type: string; | ||
anonymous?: undefined; | ||
})[]; | ||
declare const metricsFactoryAbi: ({ | ||
declare const addressRegistryAbi: ({ | ||
anonymous: boolean; | ||
@@ -319,14 +333,3 @@ inputs: { | ||
declare const propertyAbi: ({ | ||
inputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
stateMutability: string; | ||
type: string; | ||
anonymous?: undefined; | ||
name?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
declare const lockupAbi: ({ | ||
anonymous: boolean; | ||
@@ -341,4 +344,4 @@ inputs: { | ||
type: string; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
@@ -377,3 +380,3 @@ inputs: { | ||
declare const marketFactoryAbi: ({ | ||
declare const propertyFactoryAbi: ({ | ||
anonymous: boolean; | ||
@@ -407,3 +410,14 @@ inputs: { | ||
declare const addressRegistryAbi: ({ | ||
declare const propertyAbi: ({ | ||
inputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
stateMutability: string; | ||
type: string; | ||
anonymous?: undefined; | ||
name?: undefined; | ||
outputs?: undefined; | ||
} | { | ||
anonymous: boolean; | ||
@@ -418,4 +432,4 @@ inputs: { | ||
type: string; | ||
stateMutability?: undefined; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
} | { | ||
@@ -436,24 +450,11 @@ inputs: { | ||
anonymous?: undefined; | ||
})[]; | ||
declare const propertyFactoryAbi: ({ | ||
anonymous: boolean; | ||
inputs: { | ||
indexed: boolean; | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
name: string; | ||
type: string; | ||
outputs?: undefined; | ||
stateMutability?: undefined; | ||
} | { | ||
inputs: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
inputs: never[]; | ||
name: string; | ||
outputs: { | ||
components: { | ||
internalType: string; | ||
name: string; | ||
type: string; | ||
}[]; | ||
internalType: string; | ||
@@ -460,0 +461,0 @@ name: string; |
@@ -6,5 +6,7 @@ import { ethers } from 'ethers' | ||
import { createGetIdCaller } from './getId' | ||
import { createGetMetricsCaller } from './getMetrics' | ||
export type CreateMarketBehaviorContract = { | ||
readonly getId: (metricsAddress: string) => Promise<string> | ||
readonly getMetrics: (id: string) => Promise<string> | ||
} | ||
@@ -24,3 +26,4 @@ | ||
getId: createGetIdCaller(contract), | ||
getMetrics: createGetMetricsCaller(contract), | ||
} | ||
} |
@@ -30,5 +30,3 @@ import { ethers } from 'ethers' | ||
}> | ||
readonly getPropertiesOfAuthor: ( | ||
author: string | ||
) => Promise<readonly string[]> | ||
readonly getPropertiesOfAuthor: (author: string) => Promise<readonly string[]> | ||
} | ||
@@ -51,4 +49,4 @@ | ||
), | ||
getPropertiesOfAuthor: createGetPropertiesOfAuthorCaller(contract) | ||
getPropertiesOfAuthor: createGetPropertiesOfAuthorCaller(contract), | ||
} | ||
} |
export const propertyAbi = [ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_registry", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_own", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "_name", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "_symbol", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "owner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "spender", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Approval", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "_old", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "_new", | ||
"type": "string" | ||
} | ||
], | ||
"name": "ChangeName", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "_old", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "_new", | ||
"type": "string" | ||
} | ||
], | ||
"name": "ChangeSymbol", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "from", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "Transfer", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "owner", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "spender", | ||
"type": "address" | ||
} | ||
], | ||
"name": "allowance", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "spender", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "approve", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "account", | ||
"type": "address" | ||
} | ||
], | ||
"name": "balanceOf", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "spender", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "subtractedValue", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "decreaseAllowance", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "spender", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "addedValue", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "increaseAllowance", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "registryAddress", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "totalSupply", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "author", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "name", | ||
"outputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "symbol", | ||
"outputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "decimals", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint8", | ||
"name": "", | ||
"type": "uint8" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "_name", | ||
"type": "string" | ||
} | ||
], | ||
"name": "changeName", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "_symbol", | ||
"type": "string" | ||
} | ||
], | ||
"name": "changeSymbol", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_to", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "transfer", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_from", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_to", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "transferFrom", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_sender", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "_value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "withdraw", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getBalances", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "address", | ||
"name": "account", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "balance", | ||
"type": "uint256" | ||
} | ||
], | ||
"internalType": "struct IProperty.PropertyBalance[]", | ||
"name": "", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '_registry', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: '_own', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'string', | ||
name: '_name', | ||
type: 'string', | ||
}, | ||
{ | ||
internalType: 'string', | ||
name: '_symbol', | ||
type: 'string', | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'constructor', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: 'address', | ||
name: 'owner', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'address', | ||
name: 'spender', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'value', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'Approval', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'string', | ||
name: '_old', | ||
type: 'string', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'string', | ||
name: '_new', | ||
type: 'string', | ||
}, | ||
], | ||
name: 'ChangeName', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'string', | ||
name: '_old', | ||
type: 'string', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'string', | ||
name: '_new', | ||
type: 'string', | ||
}, | ||
], | ||
name: 'ChangeSymbol', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: 'address', | ||
name: 'from', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'address', | ||
name: 'to', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'value', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'Transfer', | ||
type: 'event', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: 'owner', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: 'spender', | ||
type: 'address', | ||
}, | ||
], | ||
name: 'allowance', | ||
outputs: [ | ||
{ | ||
internalType: 'uint256', | ||
name: '', | ||
type: 'uint256', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: 'spender', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'amount', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'approve', | ||
outputs: [ | ||
{ | ||
internalType: 'bool', | ||
name: '', | ||
type: 'bool', | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: 'account', | ||
type: 'address', | ||
}, | ||
], | ||
name: 'balanceOf', | ||
outputs: [ | ||
{ | ||
internalType: 'uint256', | ||
name: '', | ||
type: 'uint256', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: 'spender', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'subtractedValue', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'decreaseAllowance', | ||
outputs: [ | ||
{ | ||
internalType: 'bool', | ||
name: '', | ||
type: 'bool', | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: 'spender', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'addedValue', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'increaseAllowance', | ||
outputs: [ | ||
{ | ||
internalType: 'bool', | ||
name: '', | ||
type: 'bool', | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'registryAddress', | ||
outputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '', | ||
type: 'address', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'totalSupply', | ||
outputs: [ | ||
{ | ||
internalType: 'uint256', | ||
name: '', | ||
type: 'uint256', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'author', | ||
outputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '', | ||
type: 'address', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'name', | ||
outputs: [ | ||
{ | ||
internalType: 'string', | ||
name: '', | ||
type: 'string', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'symbol', | ||
outputs: [ | ||
{ | ||
internalType: 'string', | ||
name: '', | ||
type: 'string', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'decimals', | ||
outputs: [ | ||
{ | ||
internalType: 'uint8', | ||
name: '', | ||
type: 'uint8', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'string', | ||
name: '_name', | ||
type: 'string', | ||
}, | ||
], | ||
name: 'changeName', | ||
outputs: [], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'string', | ||
name: '_symbol', | ||
type: 'string', | ||
}, | ||
], | ||
name: 'changeSymbol', | ||
outputs: [], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '_to', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: '_value', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'transfer', | ||
outputs: [ | ||
{ | ||
internalType: 'bool', | ||
name: '', | ||
type: 'bool', | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '_from', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: '_to', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: '_value', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'transferFrom', | ||
outputs: [ | ||
{ | ||
internalType: 'bool', | ||
name: '', | ||
type: 'bool', | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '_sender', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: '_value', | ||
type: 'uint256', | ||
}, | ||
], | ||
name: 'withdraw', | ||
outputs: [], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'getBalances', | ||
outputs: [ | ||
{ | ||
components: [ | ||
{ | ||
internalType: 'address', | ||
name: 'account', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'balance', | ||
type: 'uint256', | ||
}, | ||
], | ||
internalType: 'struct IProperty.PropertyBalance[]', | ||
name: '', | ||
type: 'tuple[]', | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
] |
{ | ||
"name": "@devprotocol/dev-kit", | ||
"version": "5.11.1", | ||
"version": "5.11.2", | ||
"description": "Dev Kit for JavaScript", | ||
@@ -56,3 +56,3 @@ "author": "abyssparanoia", | ||
"jest": "27.4.7", | ||
"lint-staged": "12.3.1", | ||
"lint-staged": "12.3.2", | ||
"npm-run-all": "4.1.5", | ||
@@ -59,0 +59,0 @@ "pre-commit": "1.2.2", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182
43256
1129213