for this contract on ghostnet, KT1T42LtbG7skEACAkWxNJGqdcCn52Nhp3pH
, if I go to tzkt or better call dev, I can see the entrypoint divestLiquidity
is listed there. but if I call contract.parameterSchema.generateSchema()
, the entrypoint divestLiquidity
will be under use
.
approve : {__michelsonType: 'pair', schema: {…}}
default : {__michelsonType: 'unit', schema: 'unit'}
getAllowance : {__michelsonType: 'pair', schema: {…}}
getBalance : {__michelsonType: 'pair', schema: {…}}
getReserves : {__michelsonType: 'contract', schema: {…}}
getTotalSupply : {__michelsonType: 'pair', schema: {…}}
transfer : {__michelsonType: 'pair', schema: {…}}
use :
schema : divestLiquidity : {__michelsonType: 'pair', schema: {…}}
initializeExchange : {__michelsonType: 'nat', schema: 'nat'}
investLiquidity : {__michelsonType: 'nat', schema: 'nat'}
tezToTokenPayment : {__michelsonType: 'pair', schema: {…}}
tokenToTezPayment : {__michelsonType: 'pair', schema: {…}}
veto : {__michelsonType: 'pair', schema: {…}}
vote : {__michelsonType: 'pair', schema: {…}}
withdrawProfit : {__michelsonType: 'address', schema: 'address'}
__michelsonType : "or"
It also doesn't seem to be possible to call contract.methodObject.divestLiquidity
. Is it possible that I can use all entrypoints under use
directly?