// Import classes:importcom.fireblocks.sdk.model.ContractMethodPattern;
importcom.fireblocks.sdk.model.ContractMethodConfig;
importcom.fireblocks.sdk.model.String;
publicclassExample {
publicstaticvoidmain(String[] args) {
ContractMethodPatternexampleContractMethodPattern = newContractMethodPattern();
// create a new ContractMethodConfigContractMethodConfigexampleContractMethodConfig = newContractMethodConfig();
// set ContractMethodPattern to ContractMethodConfigexampleContractMethodPattern.setActualInstance(exampleContractMethodConfig);
// to get back the ContractMethodConfig set earlierContractMethodConfigtestContractMethodConfig = (ContractMethodConfig) exampleContractMethodPattern.getActualInstance();
// create a new StringStringexampleString = newString();
// set ContractMethodPattern to StringexampleContractMethodPattern.setActualInstance(exampleString);
// to get back the String set earlierStringtestString = (String) exampleContractMethodPattern.getActualInstance();
}
}Uh oh!
There was an error while loading. Please reload this page.