Skip to content

Commit

Permalink
feat: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vittominacori committed Oct 27, 2023
1 parent e2b7bfe commit b6f980c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ It executes the method passed via `data`. Methods emit a `MethodCall` event.

## Documentation

* [Documentation](https://github.com/vittominacori/erc1363-payable-token/tree/master/docs/index.md)
* [Solidity API](https://github.com/vittominacori/erc1363-payable-token/tree/master/docs/index.md)

## Code Analysis

Expand Down
40 changes: 18 additions & 22 deletions pages/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
const vars = require('./.env.json');

const title = 'ERC-1363 Payable Token | Reference implementation';
const description =
'ERC-1363 is an extension interface for ERC-20 tokens that supports executing code on a recipient contract after transfers, or code on a spender contract after approvals, in a single transaction.';
const url = 'https://vittominacori.github.io/erc1363-payable-token';
const image = 'https://vittominacori.github.io/erc1363-payable-token/assets/images/erc1363-payable-token.jpg';

module.exports = {
title: 'An ERC-20 token that can be used for payments',
description:
'The ERC-1363 is an ERC-20 compatible token that can make a callback on the receiver contract to notify token transfers or token approvals',
title: 'Reference implementation',
description: description,
base: '/erc1363-payable-token/',
plugins: [
[
Expand All @@ -15,27 +20,18 @@ module.exports = {
],
head: [
['link', { rel: 'icon', href: '/favicon.ico' }],
['meta', { name: 'title', property: 'og:title', content: title }],
['meta', { name: 'description', property: 'og:description', content: description }],
['meta', { name: 'image', property: 'og:image', content: image }],
['meta', { property: 'og:title', content: title }],
['meta', { property: 'og:description', content: description }],
['meta', { property: 'og:image', content: image }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:url', content: 'https://vittominacori.github.io/erc1363-payable-token' }],
[
'meta',
{
property: 'og:image',
content: 'https://vittominacori.github.io/erc1363-payable-token/assets/images/erc1363-payable-token.jpg',
},
],
['meta', { property: 'og:url', content: url }],
['meta', { property: 'twitter:title', content: title }],
['meta', { property: 'twitter:description', content: description }],
['meta', { property: 'twitter:image', content: image }],
['meta', { property: 'twitter:card', content: 'summary_large_image' }],
[
'meta',
{
property: 'twitter:image',
content: 'https://vittominacori.github.io/erc1363-payable-token/assets/images/erc1363-payable-token.jpg',
},
],
[
'meta',
{ property: 'twitter:title', content: 'ERC-1363 Payable Token | An ERC-20 token that can be used for payments' },
],
],
themeConfig: {
repo: 'vittominacori/erc1363-payable-token',
Expand Down

0 comments on commit b6f980c

Please sign in to comment.