When a user signs up for Gnosis Pay, a new Gnosis Pay Safe (which is a smart-contract wallet) is created for them. This Safe can only be controlled by the user through an EOA wallet. Therefore, the funds in your Gnosis Pay Safe will not be held by any third party, and you will have sole control over the ownership of your funds.
当用户注册 Gnosis Pay 时,会为他们创建一个新的 Gnosis Pay Safe(这是一个智能合约钱包)。这个 Safe 只能通过用户的 EOA 钱包进行控制。因此,您在 Gnosis Pay Safe 中的资金不会被任何第三方持有,您将对您的资金拥有唯一的控制权。
Watch an explainer video here. To dive deeper, continue reading!
观看解释视频 在这里。要深入了解,请继续阅读!
What is a smart contract wallet?
智能合约钱包是什么?
A smart contract wallet is a type of digital wallet that uses smart contracts on a blockchain to manage and automate transactions, providing enhanced security and functionality beyond simple fund storage and transfer. They are typically owned by an EOA (Externally Owned Account)Wallet.
智能合约钱包是一种数字钱包,利用区块链上的智能合约来管理和自动化交易,提供超越简单资金存储和转移的增强安全性和功能。它们通常由外部拥有账户(EOA)钱包拥有。
Safe is the pioneer of smart contract wallets custodying over $70+ billion in assets.
Safe 是智能合约钱包的先驱,管理着超过 700 亿美元的资产。
There are two modules that are configured on this Gnosis Pay Safe during the activation of the card - the roles module and the delay module.
在激活卡片时,这个 Gnosis Pay Safe 上配置了两个模块 - 角色模块和延迟模块。
What are modules? 模块是什么?
You can think of modules as small pieces of logic that help us ensure the product functions securely. These modules are controlled by the user.
您可以将模块视为帮助我们确保产品安全运行的小逻辑单元。这些模块由用户控制。
These modules allow Gnosis Pay to function as set by the user. This ensures that the user self-custodies their funds in the manner they prefer.
这些模块允许 Gnosis Pay 按照 用户设定的方式 运行。这确保用户以 他们所偏好的方式 自行保管他们的资金。
These modules are open source software developed as part of the zodiac standard of DAO tooling built by Gnosis Guild.
这些模块是作为 Gnosis Guild 开发的 DAO 工具的星座标准的一部分而开发的开源软件。
Without this configuration, we would be unable to serve the user. Let's dive deeper.
没有这个配置,我们将无法为用户提供服务。让我们深入探讨一下。
Roles Module 角色模块
The roles module has 4 configurations:
角色模块有 4 个配置:
Token Used - this specifies which token Gnosis Pay will be able to spend.
使用的代币 - 这指定了 Gnosis Pay 将能够使用的代币。Daily Limit - this specifies the daily limit of funds that Gnosis Pay can spend on the user's behalf
每日限额 - 这指定了 Gnosis Pay 可以代表用户支出的每日资金限额Recipient address - this specifies where the funds can be transferred to. In our case - it is another Safe that is owned by the card issuer. This money is then used to settle the funds owed to merchants through Visa.
收款地址 - 这指定了资金可以转移到哪里。在我们的案例中 - 这是由发卡机构拥有的另一个安全账户。这笔钱随后用于通过 Visa 结算欠商家的款项。Role delegated to whom - this specifies to whom is this role delegated to. In this case, it is Gnosis Pay.
角色委托给谁 - 这指定了这个角色委托给谁。在这种情况下,是 Gnosis Pay。
It is important to note that this module is owned by the user and is only modifiable by the user. The user has complete control on changing the daily spending limit in a permission-less way whenever they desire. The setup of this module allows Gnosis Pay to process transactions.
重要的是要注意,这个模块是由用户拥有的,只有用户可以进行修改。用户可以在任何时候以无权限的方式完全控制每日消费限额的更改。这个模块的设置允许 Gnosis Pay 处理交易。
Delay Module 延迟模块
The delay module ensures that all non-card transactions (for e.g, sending funds to another address, adding funds) go through a 3 minute delay.
延迟模块确保所有非卡交易(例如,向另一个地址发送资金、添加资金)都经过 3 分钟的延迟。
The reason for this delay is to avoid double spending conditions and ensure availability of funds authorised and spent by the card.
此次延迟的原因是为了避免双重消费的情况,并确保卡片授权和支出的资金可用。
It is important to note that the card will be paused during the 3 minute time delay, if there are any non-card transactions in the delay queue.
需要注意的是,如果延迟队列中有任何非卡交易,卡片将在 3 分钟的延迟期间暂停。
The delay module also ensures that it is solely the user which has sole control over the Safe itself. During the activation process the user's EOA is made an indirect owner of the Safe by putting the delay module in between the Safe and the EOA.
延迟模块还确保只有用户对安全箱拥有唯一控制权。在激活过程中,用户的外部拥有账户(EOA)通过在安全箱和 EOA 之间放置延迟模块而成为安全箱的间接所有者。
To conclude, we advise the user not to the change the configuration of the Safe to ensure that Gnosis Pay can serve you.
最后,我们建议用户不要更改 Safe 的配置,以确保 Gnosis Pay 能够为您提供服务。
For our technically curious users
对于我们技术好奇的用户
To dive deeper into the Safe setup, you can check the Zodiac application in the Safe Webapp for your particular Safe by following these steps:
要深入了解 Safe 设置,您可以通过以下步骤在 Safe Webapp 中查看您特定 Safe 的 Zodiac 应用程序:
Go to Gnosis Pay Dashboard
前往 Gnosis Pay 仪表板Click on "View all transactions here"
点击“在此查看所有交易”This will take you to the Safe webapp
这将带您进入安全网络应用程序
Click on applications in the sidebar
点击侧边栏中的应用程序Search for 'Zodiac' application
搜索“Zodiac”应用程序
Roles Module and Delay Module are open source smart contracts governed by LGPL 3.0 license.
角色模块和延迟模块是由 LGPL 3.0 许可证管理的开源智能合约。