├── .gitattributes ├── .gitignore ├── .mocharc.json ├── .travis.yml ├── README.md ├── contracts ├── ReentrancyGuard.sol ├── UBI.sol ├── UBIProxy.sol ├── dummy │ └── ProofOfHumanityDummy.sol ├── fUBI.sol ├── interfaces │ ├── IFUBI.sol │ ├── ISUBI.sol │ └── IUBIDelegator.sol └── sUBI.sol ├── deployment-params.js ├── docs ├── democracy-earth.png ├── ffwd.png ├── logo │ ├── UBI Logo Concept.png │ ├── ubi_logo.png │ ├── ubi_logo.svg │ ├── ubi_logo_white.png │ ├── ubi_logo_white.svg │ ├── ubi_token.png │ ├── ubi_token.svg │ └── ubi_token_256.png ├── templeton.png └── yc.png ├── hardhat.config.ts ├── package.json ├── scripts ├── deploy.js ├── ownership.js ├── prepare.js ├── read.js ├── setMaxStreamsAllowed.js ├── setPOH.js ├── startAccruing.js ├── tasks.js ├── test │ └── deploy.js ├── upgrade.js └── utils.js ├── test ├── UBI.delegation.js ├── UBI.proxy.js ├── fUBI.ts ├── logReader.js ├── sUBI.ts ├── testUtils.js └── utils │ ├── pohMockService.js │ └── ubiMockService.js └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/README.md -------------------------------------------------------------------------------- /contracts/ReentrancyGuard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/ReentrancyGuard.sol -------------------------------------------------------------------------------- /contracts/UBI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/UBI.sol -------------------------------------------------------------------------------- /contracts/UBIProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/UBIProxy.sol -------------------------------------------------------------------------------- /contracts/dummy/ProofOfHumanityDummy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/dummy/ProofOfHumanityDummy.sol -------------------------------------------------------------------------------- /contracts/fUBI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/fUBI.sol -------------------------------------------------------------------------------- /contracts/interfaces/IFUBI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/interfaces/IFUBI.sol -------------------------------------------------------------------------------- /contracts/interfaces/ISUBI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/interfaces/ISUBI.sol -------------------------------------------------------------------------------- /contracts/interfaces/IUBIDelegator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/interfaces/IUBIDelegator.sol -------------------------------------------------------------------------------- /contracts/sUBI.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/contracts/sUBI.sol -------------------------------------------------------------------------------- /deployment-params.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/deployment-params.js -------------------------------------------------------------------------------- /docs/democracy-earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/democracy-earth.png -------------------------------------------------------------------------------- /docs/ffwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/ffwd.png -------------------------------------------------------------------------------- /docs/logo/UBI Logo Concept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/UBI Logo Concept.png -------------------------------------------------------------------------------- /docs/logo/ubi_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/ubi_logo.png -------------------------------------------------------------------------------- /docs/logo/ubi_logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/ubi_logo.svg -------------------------------------------------------------------------------- /docs/logo/ubi_logo_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/ubi_logo_white.png -------------------------------------------------------------------------------- /docs/logo/ubi_logo_white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/ubi_logo_white.svg -------------------------------------------------------------------------------- /docs/logo/ubi_token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/ubi_token.png -------------------------------------------------------------------------------- /docs/logo/ubi_token.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/ubi_token.svg -------------------------------------------------------------------------------- /docs/logo/ubi_token_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/logo/ubi_token_256.png -------------------------------------------------------------------------------- /docs/templeton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/templeton.png -------------------------------------------------------------------------------- /docs/yc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/docs/yc.png -------------------------------------------------------------------------------- /hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/hardhat.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/package.json -------------------------------------------------------------------------------- /scripts/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/deploy.js -------------------------------------------------------------------------------- /scripts/ownership.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/ownership.js -------------------------------------------------------------------------------- /scripts/prepare.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/prepare.js -------------------------------------------------------------------------------- /scripts/read.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/read.js -------------------------------------------------------------------------------- /scripts/setMaxStreamsAllowed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/setMaxStreamsAllowed.js -------------------------------------------------------------------------------- /scripts/setPOH.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/setPOH.js -------------------------------------------------------------------------------- /scripts/startAccruing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/startAccruing.js -------------------------------------------------------------------------------- /scripts/tasks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/tasks.js -------------------------------------------------------------------------------- /scripts/test/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/test/deploy.js -------------------------------------------------------------------------------- /scripts/upgrade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/upgrade.js -------------------------------------------------------------------------------- /scripts/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/scripts/utils.js -------------------------------------------------------------------------------- /test/UBI.delegation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/UBI.delegation.js -------------------------------------------------------------------------------- /test/UBI.proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/UBI.proxy.js -------------------------------------------------------------------------------- /test/fUBI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/fUBI.ts -------------------------------------------------------------------------------- /test/logReader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/logReader.js -------------------------------------------------------------------------------- /test/sUBI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/sUBI.ts -------------------------------------------------------------------------------- /test/testUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/testUtils.js -------------------------------------------------------------------------------- /test/utils/pohMockService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/utils/pohMockService.js -------------------------------------------------------------------------------- /test/utils/ubiMockService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/test/utils/ubiMockService.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DemocracyEarth/ubi/HEAD/tsconfig.json --------------------------------------------------------------------------------