Usage On Chain
To use Cicleo Subscription from a smart contract in solidity
On Chain usage exemple
If you want to use cicleo into your smartcontract and read it on chain you'll have to use a smartcontract on the same chain as your subscription manager. Here we assume you have created your subscription manager and you know it id.
First you will import this interface into your sol file
Then you just call with the this function to get the status of a specific user with the given submanager id (in that case it's 5 but use yours)
If you need some more complex integration let us know on discord we can do it for sure !
Last updated