Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions contract-hardhat/scripts/abi/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
import ModuleRegistryProxy from '../../artifacts/contracts/proxy/ModuleRegistryProxy.sol/ModuleRegistryProxy.json'
import ModuleRegistry from '../../artifacts/contracts/ModuleRegistry.sol/ModuleRegistry.json'
import SecurityTokenRegistryProxy from '../../artifacts/contracts/proxy/SecurityTokenRegistryProxy.sol/SecurityTokenRegistryProxy.json'
import SecurityTokenRegistry from '../../artifacts/contracts/SecurityTokenRegistry.sol/SecurityTokenRegistry.json'
import PolymathRegistry from '../../artifacts/contracts/PolymathRegistry.sol/PolymathRegistry.json'

const moduleRegistryProxyABI = ModuleRegistryProxy.abi
const securityTokenRegistryABI = SecurityTokenRegistry.abi
const securityTokenRegistryProxyABI = SecurityTokenRegistryProxy.abi
const polymathRegistryABI = PolymathRegistry.abi
const moduleRegistryABI = ModuleRegistry.abi

const tokenInitBytes = {
name: "initialize",
type: "function",
inputs: [
{
type: "address",
name: "_getterDelegate"
}
]
};

const functionSignatureProxy = {
name: "initialize",
type: "function",
inputs: [
{
type: "address",
name: "_polymathRegistry"
},
{
type: "uint256",
name: "_stLaunchFee"
},
{
type: "uint256",
name: "_tickerRegFee"
},
{
type: "address",
name: "_owner"
},
{
type: 'address',
name: '_getterContract'
}
]
};

const functionSignatureProxyMR = {
name: "initialize",
type: "function",
inputs: [
{
type: "address",
name: "_polymathRegistry"
},
{
type: "address",
name: "_owner"
}
]
};



export {tokenInitBytes, functionSignatureProxy, moduleRegistryABI, polymathRegistryABI, functionSignatureProxyMR, moduleRegistryProxyABI, securityTokenRegistryABI, securityTokenRegistryProxyABI}
Loading