Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CoinageCrypto/lamington
/ functions
Functions
107 in github.com/CoinageCrypto/lamington
⨍
Functions
107
◇
Types & classes
43
↓ 10 callers
Function
mapParameterType
({ eosType, contractName, contractStructs, }: { eosType: string; contractName?: string; contractStructs?
src/contracts/typeGenerator.ts:22
↓ 9 callers
Function
eosIsReady
()
src/cli/utils.ts:201
↓ 8 callers
Function
stopContainer
()
src/cli/utils.ts:159
↓ 7 callers
Method
initWithDefaults
* Downloads the example project and integrates aspects where required. * @author Mitch Pierias <github.com/MitchPierias>
src/project/projectManager.ts:57
↓ 7 callers
Function
pascalCase
(value: string)
src/contracts/utils.ts:7
↓ 4 callers
Method
getAssetURL
* Downloads the organization's latest repository release image and * returns the assets matching the specified filter * @author Kevin Brown <githu
src/configManager.ts:117
↓ 4 callers
Function
sleep
(delayInMs: number)
src/utils.ts:35
↓ 4 callers
Function
startEos
()
src/cli/utils.ts:216
↓ 3 callers
Function
buildAll
(match?: string[])
src/cli/utils.ts:314
↓ 3 callers
Method
createDirectoryIfMissing
* Creates a new local directory if missing and returns the path * @author Mitch Pierias <github.com/MitchPierias> * @param dirName Directory to cr
src/project/projectManager.ts:189
↓ 3 callers
Function
dockerImageName
()
src/cli/utils.ts:72
↓ 3 callers
Function
write
(value: string)
src/contracts/typeGenerator.ts:177
↓ 2 callers
Function
assertExpectedEOSError
( operation: Promise<any>, eosErrorName: string, furtherErrorCheck?: (err: any) => any )
src/utils.ts:147
↓ 2 callers
Function
camelCase
(value: string)
src/contracts/utils.ts:19
↓ 2 callers
Method
configExists
* Checks the existence of the configuration * file at the default [[CONFIGURATION_FILE_NAME]] or * optional path * @author Mitch Pierias <github
src/configManager.ts:177
↓ 2 callers
Function
generateTypes
(contractIdentifier: string)
src/contracts/typeGenerator.ts:157
↓ 2 callers
Function
generateTypesFromString
( rawABI: string, contractName: string )
src/contracts/typeGenerator.ts:45
↓ 2 callers
Method
loadConfigFromDisk
* Loads an existing configuration file into [[ConfigManager.config]] * @author Kevin Brown <github.com/thekevinbrown> * @param atPath Optional fil
src/configManager.ts:188
↓ 2 callers
Function
timer
()
src/utils.ts:276
↓ 2 callers
Function
versionFromUrl
(url: string)
src/cli/utils.ts:56
↓ 2 callers
Function
writeIndented
(level: IndentedGeneratorLevel)
src/contracts/typeGenerator.ts:178
↓ 2 callers
Function
writeLevel
(level: GeneratorLevel | IndentedGeneratorLevel)
src/contracts/typeGenerator.ts:190
↓ 1 callers
Function
accountNameFromPublicKey
(publicKey: string)
src/accounts/utils.ts:21
↓ 1 callers
Function
assertEOSError
( operation: Promise<any>, eosErrorName: string, description: string )
src/utils.ts:183
↓ 1 callers
Function
assertEOSErrorIncludesMessage
( operation: Promise<any>, message: string, errorName?: string )
src/utils.ts:201
↓ 1 callers
Function
assertRowsEqualStrict
( getTableRowsResult: Promise<TableRowsResult<RowType>>, expected: Array<RowType> )
src/utils.ts:101
↓ 1 callers
Function
build
(contractPath: string)
src/cli/utils.ts:395
↓ 1 callers
Function
buildImage
()
src/cli/utils.ts:97
↓ 1 callers
Method
cloneExampleProject
* Downloads the latest example Lamington project from GitHub * @author Mitch Pierias <github.com/MitchPierias> * @hidden
src/project/projectManager.ts:133
↓ 1 callers
Function
compileContract
(contractPath: string)
src/cli/utils.ts:426
↓ 1 callers
Method
configureDependencies
* Injects the required project dependencies into the currently cached package data * @author Mitch Pierias <github.com/MitchPierias> * @hidden
src/project/projectManager.ts:121
↓ 1 callers
Method
createConfigIfMissing
* Creates a default configuration file if it doesn't exist at the specified path. * @author Mitch Pierias <github.com/MitchPierias> * @author Kevi
src/configManager.ts:150
↓ 1 callers
Method
createIfMissing
* Creates a `.gitignore` file when it doesn't exist * and configures the base ignore files
src/gitignoreManager.ts:21
↓ 1 callers
Function
end
(message: string = '', isError: boolean = false)
src/cli/logIndicator.ts:44
↓ 1 callers
Function
explicitAuthorities
( threshold: number, permissionLevelWeights: PermissionLevelWeight[] = [], keyWeights: KeyWait[] = []
src/accounts/updateAuth.ts:93
↓ 1 callers
Function
filterMatches
(paths: string[])
src/cli/utils.ts:370
↓ 1 callers
Function
flattenGeneratorLevels
(interfaceContent: GeneratorLevel)
src/contracts/typeGenerator.ts:174
↓ 1 callers
Method
flattenOptions
* Flattens account creation options * @author Kevin Brown <github.com/thekevinbrown> * @returns Account creation options
src/accounts/accountManager.ts:234
↓ 1 callers
Function
forAccount
(account: Account, permission: string)
src/accounts/updateAuth.ts:76
↓ 1 callers
Function
hashToEOSName
(data: string)
src/accounts/utils.ts:28
↓ 1 callers
Function
imageExists
()
src/cli/utils.ts:85
↓ 1 callers
Function
includeMatches
(paths: string[])
src/cli/utils.ts:361
↓ 1 callers
Method
injectScripts
* Injects recommended Lamington scripts into the currently cached package data * @author Mitch Pierias <github.com/MitchPierias> * @hidden
src/project/projectManager.ts:109
↓ 1 callers
Method
isValidConfig
(config: object)
src/configManager.ts:140
↓ 1 callers
Method
loadExistingProject
* Examines the current directory and loads any existing `package.json` file * into this object cache state. * @author Mitch Pierias <github.com/Mi
src/project/projectManager.ts:85
↓ 1 callers
Function
nextBlock
()
src/utils.ts:43
↓ 1 callers
Function
onlyMatches
(paths: string[], matches: string[] = [])
src/cli/utils.ts:352
↓ 1 callers
Function
outputPathForContract
(contractPath: string)
src/cli/utils.ts:417
↓ 1 callers
Function
pathToIdentifier
(filePath: string)
src/cli/utils.ts:387
↓ 1 callers
Function
run
()
src/cli/lamington-init.ts:12
↓ 1 callers
Function
run
()
src/cli/lamington-stop.ts:8
↓ 1 callers
Function
run
()
src/cli/lamington-start.ts:9
↓ 1 callers
Function
run
()
src/cli/lamington-test.ts:12
↓ 1 callers
Function
run
()
src/cli/lamington-build.ts:11
↓ 1 callers
Function
runTests
()
src/cli/utils.ts:262
↓ 1 callers
Function
saveInterface
(contractIdentifier: string, interfaceContent: string)
src/contracts/typeGenerator.ts:215
↓ 1 callers
Function
startContainer
()
src/cli/utils.ts:134
↓ 1 callers
Function
untilEosIsReady
(attempts: number = MAX_CONNECTION_ATTEMPTS)
src/cli/utils.ts:176
↓ 1 callers
Function
update
(text: string)
src/cli/logIndicator.ts:27
Method
account
* Gets the currently configured contract account * @author Kevin Brown <github.com/thekevinbrown> * @returns Current contract account
src/contracts/contract.ts:67
Method
active
* Returns a configured active key permission * @author Kevin Brown <github.com/thekevinbrown> * @returns Valid active key
src/accounts/account.ts:56
Function
assertEOSException
(operation: Promise<any>)
src/utils.ts:235
Function
assertMissingAuthority
(operation: Promise<any>)
src/utils.ts:243
Function
assertRowCount
( getTableRowsResult: Promise<TableRowsResult<any>>, expectedRowCount: number )
src/utils.ts:120
Function
assertRowsContain
( getTableRowsResult: Promise<TableRowsResult<RowType>>, expected: RowType, strict: boolean = false )
src/utils.ts:51
Function
assertRowsEqual
( getTableRowsResult: Promise<TableRowsResult<RowType>>, expected: Array<RowType>, strict: boolean = false
src/utils.ts:76
Method
at
* Loads a contract instance for a contract which is already deployed to the blockchain. * * ```typescript * ContractLoader.at<MyContractTypeDef>
src/contracts/contractLoader.ts:23
Method
bailOnFailure
* Returns the array of excluded strings or patterns * @author Dallas Johnson <github.com/dallasjohnson>
src/configManager.ts:299
Method
cdt
* Returns the current EOSIO.CDT configuration * @author Kevin Brown <github.com/thekevinbrown>
src/configManager.ts:208
Method
constructor
(name: string, privateKey?: string, publicKey?: string)
src/accounts/account.ts:16
Method
constructor
({ eos, identifier, account, abi, actions, types }: ContractConstructorArgs)
src/contracts/contract.ts:80
Method
contracts
* Returns the current eosio.contracts configuration * @author Johan Nordberg <github.com/jnordberg>
src/configManager.ts:216
Function
create
(text: string)
src/cli/logIndicator.ts:12
Method
debugLevel
* Returns the container's debugLevel output setting * @author Dallas Johnson <github.com/dallasjohnson>
src/configManager.ts:243
Method
debugLevelMin
()
src/configManager.ts:255
Method
debugLevelNone
* Returns the container's debugLevel output setting * @author Dallas Johnson <github.com/dallasjohnson>
src/configManager.ts:251
Method
debugLevelVerbose
()
src/configManager.ts:259
Function
debugPromise
( promise: Promise<T>, successMessage: string, errorMessage?: string )
src/utils.ts:246
Method
debugTransactions
* Returns the container's debug log output setting * @author Kevin Brown <github.com/thekevinbrown>
src/configManager.ts:232
Method
deploy
* Deploys contract files to a randomly generated account * * ```typescript * // Deploy the contract with identifier * ContractDeployer.deploy<
src/contracts/contractDeployer.ts:126
Method
deployToAccount
* Deploys contract files to a specified account * * ```typescript * // Create a new account * const account = await AccountManager.createAccou
src/contracts/contractDeployer.ts:34
Method
deployWithName
* Deploys contract files to a specified account name * * ```typescript * // Deploy the `mycontract` contract to the account with name `mycontrac
src/contracts/contractDeployer.ts:147
Method
eos
* Returns the current EOSIO configuration * @author Kevin Brown <github.com/thekevinbrown>
src/configManager.ts:200
Method
exclude
* Returns the array of excluded strings or patterns * @author Mitch Pierias <github.com/MitchPierias>
src/configManager.ts:283
Function
execLinkAuth
( authorizations: PermissionLevel[], account: string, code: string, type: string, requirement: strin
src/accounts/updateAuth.ts:116
Function
execUpdateAuth
( authorizations: PermissionLevel[], account: string, permission: string, parent: string, authToSet:
src/accounts/updateAuth.ts:40
Function
fail
(message: string)
src/cli/logIndicator.ts:62
Function
forContractCode
(account: Account)
src/accounts/updateAuth.ts:64
Function
generateAllTypes
()
src/contracts/typeGenerator.ts:140
Method
identifier
* Gets the current contract identifier * @author Kevin Brown <github.com/thekevinbrown> * @returns Contract identifier
src/contracts/contract.ts:76
Method
include
* Returns the array of included strings or patterns. Defaults to include all `*.cpp` files * @author Dallas Johnson <github.com/dallasjohnson>
src/configManager.ts:275
Method
initWithDefaults
* Initialize application configuration using the user * defined configurations and defaults * @author Kevin Brown <github.com/thekevinbrown> * @
src/configManager.ts:94
Function
isMin
(debugLevel: LamingtonDebugLevel)
src/configManager.ts:54
Function
isNone
(debugLevel: LamingtonDebugLevel)
src/configManager.ts:50
Function
isVerbose
(debugLevel: LamingtonDebugLevel)
src/configManager.ts:58
Method
keepAlive
* Returns the container keep alive setting or false * @author Mitch Pierias <github.com/MitchPierias>
src/configManager.ts:224
Method
logOutput
(verboseOutput: string)
src/eosManager.ts:112
Method
messagesTable
(options?: GetTableRowsOptions)
contracts/example.ts:26
Function
ms
Milliseconds e.g. 2000ms etc.
src/utils.ts:285
Method
outDir
* Returns the output build directory or [[CACHE_DIRECTORY]] * @author Mitch Pierias <github.com/MitchPierias>
src/configManager.ts:267
next →
1–100 of 107, ranked by callers